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

Julia

Julia syntax highlighting for Sublime Text 2/3

Details

  • 1.0.1
    0.9.0
  • github.​com
  • github.​com
  • 1 month ago
  • 2 hours ago
  • 7 years ago

Installs

  • Total 23K
  • Win 8K
  • Mac 8K
  • Linux 7K
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 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19
Windows 3 9 5 6 2 5 14 7 3 5 7 3 2 5 7 6 11 3 3 2 4 9 7 8 5 7 7 12 13 11 13 6 5 3 7 2 6 2 6 2 4 10 5 2 7 4
Mac 1 7 10 6 3 2 7 5 4 5 5 4 3 4 5 5 3 5 5 7 2 5 4 6 2 4 3 5 7 11 8 2 4 2 3 4 3 2 5 2 5 2 4 2 8 5
Linux 1 2 4 1 7 4 7 3 5 7 8 4 5 7 1 5 4 5 4 6 6 2 2 1 9 7 6 7 11 6 10 13 4 4 5 8 2 5 6 2 3 6 3 5 5 6

Readme

Source
raw.​githubusercontent.​com

Julia-sublime

Julia language support for Sublime Text 4 or above

  • 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

If you want more control over what you pull down, or if you'd like to submit a PR, you coould clone the repository directly.

# on a Mac
cd "$HOME/Library/Application Support/Sublime Text 3/Packages"
# on Linux
cd $HOME/.config/sublime-text-3/Packages
# on Windows (PowerShell)
cd "$env:appdata\Sublime Text 3\Packages\"

git clone git@github.com:JuliaEditorSupport/Julia-sublime.git Julia

Technical details

Sublime Text version support

This package should be only used in Sublime Text 4 or above. Sublime Text 3 support is deprecated. You are still able to install older version of Julia from Package Control.

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 or cmd+alt+p (macOS) to find out what syntax scope is applied to a certain character.

Contributing

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