Skip to content
Julia syntax highlighting for Sublime Text 2/3
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Snippets
julia_unicode update unicode related code Aug 25, 2017
.gitignore Ignore *.cache Mar 29, 2013
Comments.tmPreferences Updated the syntaxes Mar 10, 2016
Default.sublime-keymap
Indentation.tmPreferences Keywords must be separate words to trigger indentation (#66) Nov 14, 2017
Julia.sublime-syntax
Julia.tmLanguage
README.md
Symbol Index.tmPreferences Major improvements: Implement syntax parsing in sublime-syntax format Aug 14, 2016
highlight-example.png Update highlight-example.png Aug 26, 2016
syntax_test_julia.jl
unicode.py extract view.sel() Aug 25, 2017

README.md

Julia-sublime

Julia language support for Sublime Text 2/3.

  • 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

Clone the repository into ~/.config/sublime-text-3/Packages/. (The path may be different depending on OS and version.)

Example

Highlight example

Don't hesitate to open an issue if something looks wrong or if you think that something can be done better.

Technical details

Sublime Text version support

Sublime Text 3 Build 3103 or later will use Julia.sublime-syntax which provides superior highlighting. Older versions of Sublime Text will use Julia.tmLanguage, which is no longer maintained.

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 to find out what syntax scope is applied to a certain character.

Contributing

  • Run the build command (ctrl+shift+b) on the syntax_test_julia.jl file.
  • Keep the tests updated. Fixed issues should generally get a test.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.