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
  • 3 months ago
  • 3 hours ago
  • 8 years ago

Installs

  • Total 24K
  • Win 9K
  • Mac 8K
  • Linux 7K
Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21
Windows 8 7 5 8 4 73 7 9 10 8 3 10 2 5 1 2 7 2 5 7 4 3 1 3 3 5 5 3 6 6 6 2 7 4 3 5 6 5 6 5 4 5 5 4 6 1
Mac 3 6 3 1 6 7 0 1 2 3 0 4 3 3 1 1 3 3 1 1 5 3 4 2 2 0 2 5 6 3 0 2 1 0 5 3 4 5 5 2 8 8 3 4 4 5
Linux 4 3 2 3 6 1 3 1 4 2 4 1 6 3 1 4 6 2 1 4 1 2 3 5 2 2 4 6 9 5 2 5 4 0 5 1 2 3 1 2 5 2 2 6 5 2

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.