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

Julia

Julia syntax highlighting for Sublime Text

Details

  • 1.0.1
    0.9.0
  • github.​com
  • github.​com
  • 6 months ago
  • 23 minutes ago
  • 8 years ago

Installs

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

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/Packages"
# on Linux
cd $HOME/.config/sublime-text/Packages
# on Windows (PowerShell)
cd "$env:appdata\Sublime Text\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.