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

Julia

by JuliaEditorSupport ST2/ST3

Julia syntax highlighting for Sublime Text 2/3

Details

  • 2018.01.08.10.30.58
  • github.​com
  • github.​com
  • 1 week ago
  • 26 minutes ago
  • 5 years ago

Installs

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

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.