Julia language support for Sublime Text 2/3.
- Syntax highlighting
- Unicode tab completion (like the REPL)
- Auto-indentation
- Snippets
If you haven't already, install Package Control, then select Julia
from the Package Control: Install Package
dropdown list in the Command Palette.
Clone the repository into ~/.config/sublime-text-3/Packages/
. (The path may be different depending on OS and version.)
Don't hesitate to open an issue if something looks wrong or if you think that something can be done better.
Sublime Text 3 Build 3103 or later will use Julia.sublime-syntax
which provides superior highlighting. Older versions of Sublime Text will use Julia.tmLanguage
, which is no longer maintained.
The default colors are chosen to satisfy most people. However, you might prefer to highlight macros, types, function calls etc. in different colors. This can be achieved by modifying the color associated with the syntax scope, such as variable.macro
, in your color scheme. Use the shortcut ctrl+shift+alt+p
to find out what syntax scope is applied to a certain character.
- Run the
build
command (ctrl+shift+b
) on thesyntax_test_julia.jl
file. - Keep the tests updated. Fixed issues should generally get a test.