What's the best Julia Editor?

I used to use Atom/Juno for my Julia programming purposes. However, it seems that Atom is being sunsetted. What is the best alternative?

Many thanks.

https://www.julia-vscode.org/

5 Likes

Many thanks for the recommendation! I’ll give it a try.

Installing Julia/VS Code/VS Code Julia extension

  1. Install Julia for your platform: Download Julia
  2. Install VS Code for your platform: Download Visual Studio Code - Mac, Linux, Windows At the end of this step you should be able to start VS Code.
  3. Choose Install in the VS Code Marketplace; or paste in browser’s address bar to open this direct VS Code link vscode:extension/julialang.language-julia or manually install with:
  4. Start VS Code.
  5. Inside VS Code, go to the extensions view either by executing the View: Show Extensions command (click View->Command Palette…) or by clicking on the extension icon on the left side of the VS Code window.
  6. In the extensions view, simply search for the term julia in the marketplace search box, then select the extension named Julia and click the install button. You might have to restart VS Code after this step.

Configure the Julia extension

If you have installed Julia into a standard location on Mac or Windows, or if the Julia binary is on your PATH, the Julia VS Code extension should automatically find your Julia installation and you should not need to configure anything.

If the extension does not find your Julia installation automatically, or if you want to use a different Julia installation than the default one, you can set the julia.executablePath to point to the Julia executable that the extension should use. In that case the extension will always use that version of Julia. To edit your configuration settings, execute the Preferences: Open User Settings command (you can also access it via the menu File->Preferences->Settings), and then make sure your user settings include the julia.executablePath setting. The format of the string should follow your platform specific conventions, and be aware that the backlash \ is the escape character in JSON, so you need to use \\ as the path separator character on Windows.

Would anyone please help me with one question?

Why does it show Juliav1.38.2 in VS code when I installed V1.8.5 on my Mac OS?

1.38.2 is the version of the extension, which is a different piece of software from Julia and therefore has its own version number unrelated to the Julia version.

3 Likes

Very interesting! Many thanks for pointing that out.