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.11.14.15.01.03
  • github.​com
  • github.​com
  • 4 days ago
  • Just now
  • 5 years ago

Installs

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