ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Julia

by JuliaEditorSupport ST2/ST3

Julia syntax highlighting for Sublime Text 2/3

Details

  • 2017.04.25.08.27.54
  • github.​com
  • github.​com
  • 10 hours ago
  • 2 hours ago
  • 4 years ago

Installs

  • Total 10K
  • Win 3K
  • OS X 4K
  • Linux 3K
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11
Windows 2 2 1 2 2 6 5 8 3 2 7 2 5 10 0 2 4 3 4 4 4 5 3 2 3 5 6 8 6 3 4 2 7 4 7 2 4 2 1 4 2 3 5 3 3 4
OS X 1 6 4 1 3 10 5 7 6 2 3 3 0 5 4 2 0 2 3 4 4 5 3 0 1 0 4 7 4 3 2 0 4 7 6 4 4 3 4 5 5 2 6 4 2 3
Linux 1 7 3 5 4 3 1 1 5 0 4 3 3 6 6 5 1 2 2 7 7 1 5 1 3 1 3 4 4 4 4 3 6 2 3 3 4 1 2 9 3 4 0 4 3 1

Readme

Source
raw.​githubusercontent.​com

Julia-sublime

Julia language support for Sublime Text 2/3.

  • Syntax highlighting
  • Unicode tab completion (like the REPL)
  • Auto-indentation
  • Snippets

Installation

If you haven't already, install Package Control, then select Julia from the Package Control: Install Package dropdown list in the Command Palette.

Manual installation

Clone the repository into ~/.config/sublime-text-3/Packages/. (The path may be different depending on OS and version.)

Example

Highlight example

Don't hesitate to open an issue if something looks wrong or if you think that something can be done better.

Technical details

Sublime Text version support

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.

Custom colors

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.

Contributing

  • Run the build command (ctrl+shift+b) on the syntax_test_julia.jl file.
  • Keep the tests updated. Fixed issues should generally get a test.