Skip to content

Roblox XML file syntax highlight support - #87755

Merged
Alex Ross (alexr00) merged 3 commits into
microsoft:masterfrom
violetshine:master
Jan 7, 2020
Merged

Alex Ross (alexr00) merged 3 commits into
microsoft:masterfrom
violetshine:master

Conversation

@violetshine

@violetshine Violet (violetshine) commented Dec 27, 2019 •

Copy link
Copy Markdown

I work with Rojo every day. However it is really annoying when VS Code doesn't syntax highlight Roblox place or model files and I have to manually select XML as the language. Roblox files are in XML format so I just added those extensions to XML syntax highlighting extension json

EDIT: This is my first PR ever so if I am doing something wrong, not following contributing guide 100%, something is missing or something like that, please let me know and I will fix that

@alexr00

Alex Ross (alexr00) commented Jan 6, 2020 •

Copy link
Copy Markdown
Member

Roblox seems pretty specific. Martin Aeschlimann (@aeschli) how specific is too specific for adding file extensions?

cat (@cat-kitten) one solution for you would be to add a file association in your settings:

	"files.associations": {
		"*.rbxlx": "xml"
	}

@aeschli

Copy link
Copy Markdown
Contributor

Alex Ross (@alexr00) As the extension is so specific I think we can add it to our defaults, for a good initial user experience.

@alexr00
Alex Ross (alexr00) merged commit db0c41c into microsoft:master Jan 7, 2020
@tisaconundrum2

Copy link
Copy Markdown

I'm over here reviewing the change log and I see robolox. I couldn't help but come over here to find out the reason behind this. Congrats cat (@cat-kitten) on your first merged PR.

@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants