Visual Studio Code
The previous section installed the Julia programming language. It is possible to write Julia codes in any text editor, and run them directly from the terminal. However, it is usually better to use an IDE that provides additional features such as syntax highlighting, or code suggestions. We recommend using Visual Studio Code, a free source-code editor made by Microsoft. It supports many programming languages (Julia, Python, LaTex, ...) via extensions. The editor is available at the official download page.
Download the proper installer, run it and follow the instructions
There is no need to change the default settings. On the installer's last window, select the Launch Visual Studio Code
option and press the Finish
button.
If the installation was successful, the VS Code should open in a new window.
Extensions
To use the VS Code as an IDE for Julia, we have to install the Julia extension. It can be done directly from the VS Code. Open the Extension MarketPlace
by pressing the button in the Activity bar
(the left bar). Type julia
in the search bar and select the Julia extension. Then press the Install
button to install the extension.
After the installation, press Ctrl + Shift + P
to open the command palette. Type Julia: Start REPL
into the command palette and press enter.
The panel with the terminal and new Julia session should open.
There are other useful extensions. We recommend installing the Project Manager
extension that provides additional features to manage projects.
We also recommend installing the Bracket Pair Colorizer 2
extension. This extension allows matching brackets to be identified with colours.