Julia.tmbundle icon indicating copy to clipboard operation
Julia.tmbundle copied to clipboard

Highlighting similar to Atom/Juno

Open EricForgy opened this issue 8 years ago • 2 comments

Hi,

I've been using the Atom editor and have gotten accustomed to the nice syntax highlighting (CodeMirror?). However, I'm not taking advantage of any of features of Juno at the moment and am just using it as an editor. If that is the case, I thought I might as well just use Visual Studio because I'm already using that for some .NET development.

I got syntax highlighting to work in VS by cloning this repo into .vs/Extensions. That already made me happy, but I notice the syntax highlighting is different than Atom/Juno. Is there a straightforward way to modify this repo so that it is consistent with Atom/Juno highlighting?

If the process is simple, but tedious, I could give a shot at a PR if someone could help get me started with a sample or two.

Just a thought...

Best regards, Eric

EricForgy avatar May 14 '16 09:05 EricForgy

FYI. Julia syntax highlighting in VS2015...

image

EricForgy avatar May 14 '16 09:05 EricForgy

From what I understand at the moment (which could be wrong), I should be able to compare these two files:

  1. https://github.com/JuliaLang/Julia.tmbundle/blob/master/Syntaxes/Julia.tmLanguage and
  2. https://github.com/JuliaLang/atom-language-julia/blob/master/grammars/julia.cson

and transfer any differences from julia.cson to Julia.tmLanguage.

EricForgy avatar Jun 23 '16 05:06 EricForgy