Skip to content

Syntax specific settings

Lucas Becker edited this page Nov 14, 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).
On newer ST 3 builds the settings are located in Preferences > Settings – Syntax Specific. (If you're still on ST 2 or older ST 3 builds go to Preferences > Settings – More > Syntax Specific – User.)
The file is empty when opened the first time. In any case proceed with copying atleast the first line, so you get proper syntax highlighting.
Please note: There is also a GDL-light option available. If you are more the traditional architect type and less a programmer, this might be the right one for you.
Of course you can point to your own scheme here also.

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