GithubHelp home page GithubHelp logo

chen-dixi / julia-sublime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juliaeditorsupport/julia-sublime

0.0 3.0 0.0 358 KB

Julia syntax highlighting for Sublime Text 2/3

Python 71.39% Julia 28.61%

julia-sublime's Introduction

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.

julia-sublime's People

Contributors

315234 avatar albertas-jn avatar epitron avatar fredrikekre avatar randy3k avatar rjkat avatar sethblumberg avatar viktorqvarfordt avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.