Skip to content

Syntax specific settings

Lucas Becker edited this page May 21, 2017 · 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 out explicitly instead of having a GUI for this.
It makes ST very powerful but also might scare off new users.

To open the syntax specific preference file open a document where the syntax is set to GDL (see bottom right hand corner).
If still on ST 2 or older ST 3 builds go to Preferences > Settings – More > Syntax Specific – User.
On newer ST 3 builds the settings are located in Preferences > Settings – Syntax Specific.
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.
Please note: There is also a "GDL-light" option available. If you are more the traditionell architect type and less a programmer, this might be the right for you. Of course you can point to you own scheme here also.

HELP I DON'T LIKE THE COLORS

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


If you want so sneak peek into my general ST user settings, you can do this here.

Clone this wiki locally