Set up Sublime Text 3 for Julia

question

#1

I want to set up Sublime Text 3 for Julia, but could not find a detailed instruction. I followed this guidance:

but I am not sure how to link Julia to it.


#2

Pretty sure you don’t – that plugin only provides

  • Syntax highlighting
  • Unicode tab completion (like the REPL)
  • Auto-indentation
  • Snippets

so there’s no need for a connection to a local julia installation or anything like that. That also means you’re going to miss out on the integration that VSCode/Juno/the-LSP-enabled-editor-of-your-choice provides though.


#3

I saw it under the Editor support, so how can I use Julia in sublime next


#4

You can’t use Julia in Sublime Text, but you can write your code in ST3 and include it (or use Revise.jl) in a separate REPL session.


#5

There used to be a way to run a Julia REPL (Edit: I think it may have been an IJulia terminal, actually) inside Sublime, but that was a long time ago, I don’t know if that works now.

You can run a terminal next to the editor and use https://github.com/randy3k/SendCode to send the code to the REPL. In my experience, it works quite well, but that is the workflow I abandoned in favour of VS Code and Juno, without any regrets. The ST workflow is limited in comparison.


#6

I think some very brave folks might have gotten (or at least tried) LanguageServer.jl hooked up with Sublime, which would give you some more integration. But I’m not sure whether it actually worked in the end.


#7

Yes, you can, I use it all the time. The instructions on how to install Sublime-Ijulia plugin for Sublime text are found on the page at Github: https://github.com/quinnj/Sublime-IJulia.


#8

Right, completly forgot about that plugin. Sorry for spreading misinformation :slight_smile:


#9

Sublime Text users could use run LanguageServer.jl vis https://github.com/randy3k/LSP-julia and LSP.

I should have put it in the README of JuliaEditorSupport/Julia-sublime


#10

You might want to checkout https://github.com/ngr-t/SublimeHermes for jupyter support (especially the use_jupyter_client branch)