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
  • 6 months ago
  • 1 hour ago
  • 5 years ago

Installs

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

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.