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

Julia

Julia syntax highlighting for Sublime Text

Details

  • 1.0.11
    0.9.0
  • github.​com
  • github.​com
  • 10 months ago
  • 15 minutes ago
  • 12 years ago

Installs

  • Total 36K
  • Win 13K
  • Mac 12K
  • Linux 11K
Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 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
Windows 0 0 3 1 4 3 1 2 1 2 3 2 4 0 1 2 4 0 2 0 5 0 1 3 2 0 0 0 1 2 3 1 2 0 2 1 2 3 0 0 0 0 0 1 1 3
Mac 0 0 1 2 2 2 1 3 3 3 0 1 1 1 0 3 1 1 1 1 1 1 1 0 1 0 0 0 0 2 1 3 1 0 0 1 1 3 0 0 1 0 5 2 2 2
Linux 0 0 2 3 0 3 2 0 0 1 1 1 2 3 0 3 0 2 3 1 4 1 3 3 1 0 0 0 1 5 0 0 0 0 0 0 1 0 0 0 1 1 1 1 1 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.