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

Julia

Julia syntax highlighting for Sublime Text

Details

  • 1.0.2
    0.9.0
  • github.​com
  • github.​com
  • 1 month ago
  • 10 minutes ago
  • 8 years ago

Installs

  • Total 27K
  • Win 10K
  • Mac 9K
  • Linux 8K
Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5
Windows 1 2 1 5 2 6 4 3 6 2 7 7 7 5 2 3 8 5 6 4 3 5 3 5 10 3 7 4 6 2 0 3 6 3 2 9 3 1 4 3 8 4 1 2 2 7
Mac 0 6 1 5 2 3 3 2 3 3 7 5 2 4 3 4 4 8 3 3 4 4 1 2 2 0 3 4 1 0 1 3 4 1 4 2 2 1 4 2 2 4 3 9 3 4
Linux 0 3 5 4 4 5 5 3 4 4 2 3 7 0 3 4 4 4 4 3 5 2 4 3 6 4 4 7 2 1 3 2 3 7 4 4 5 5 2 2 2 6 8 1 3 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 (0.9.0) of Julia from Package Control or from GitHub release https://github.com/juliaeditorsupport/julia-sublime/releases.

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.