TextMate Bundles
warning
The following is only valid when the TextMate Bundles Support plugin is installed and enabled.
For a number of languages that are not supported in GoLand, for example, PHP, Python, Ruby, and Java, the IDE still provides syntax highlighting to improve your coding experience if you occasionally need to examine such code. For more information about describing languages using the TextMate grammar, refer to the TextMate official website.
Syntax highlighting for these languages is based on TextMate grammars, and GoLand is shipped with a collection of grammar files for different languages. All the available bundles are listed on the Editor | TextMate Bundles page of the Settings dialog (CtrlAlt0S) .
You can also download and use custom TextMate bundles for other languages.
Suppose you want GoLand to highlight syntax of the OCaml files. For this purpose, you have already downloaded the OCaml TextMate Bundle. It now resides on your hard disk, and you only have to import this bundle into GoLand.
note
Find more bundles at GitHub or at Subversion.
In the Settings dialog (CtrlAlt0S) , select Editor | TextMate Bundles.
Click
and locate the desired bundle on your disk:
Click OK to apply the changes. The OCaml bundle appears in the list of recognized bundles:
Once a TextMate bundle is added, GoLand provides syntax highlighting for the file types registered with the bundle. Here's a sample Shell script that uses the TextMate bundle we've added earlier:

Thanks for your feedback!