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.09.03.07.08.42
  • github.​com
  • github.​com
  • 3 months ago
  • 1 hour ago
  • 6 years ago

Installs

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

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.