Skip to content

Syntax specific settings

Lucas Becker edited this page Apr 5, 2016 · 8 revisions

These are my syntax specific settings for working with GDL:

{
	"color_scheme": "Packages/GDL/GDL-dark.tmTheme",
	"rulers": [80,120]
}

Sublime Text works file based, so every setting has to be written instead of having a GUI for this.
It makes ST very powerful but also might scare of new users.

To open the syntax specific preference file open a document where the syntax is set to GDL.
Then go to Preferences > Settings – More > Syntax Specific – User. The file should be empty when opened the first time. In any case I recommend to copy atleast the first "rule" into the document. This will set the color scheme so GDL syntax will be highlighted right.
Of course you can point to you own scheme here also.

The second option will create vertical rulers behind 80 and 120 chars. This is only for a visual reminder not to create to long lines while coding.

Clone this wiki locally