VS Code
Install and Set Up VS Code
You can skip this section if you already have a coding environment you like; just set it up to work with Julia1. Otherwise, VS Code is as close to an officially supported editor for Julia as you can get. We will follow this guide for setting up VS Code with Julia.
1 I assume that if this is the case, you know/can figure out how to configure your editor. If you aren’t sure, post on Ed and we can find the instructions.
Installing VS Code
You can download VS Code here; open the downloaded file to install.
Install the Julia Extension
- Open VS Code.
- Select View and click Extensions to open the Extension View. This view can also be found on the sidebar with the following logo:

- Search for
juliain the search box. Click the green install button. - Restart VS Code once the installation is complete. It should automatically find your Julia installation; talk to Vivek if not.
The Julia VS Code extension offers you some nice features. You can start a REPL (an interactive Julia coding environment) by opening the “Command Palette” (View -> Command Palette, or CTRL/CMD+SHIFT+P) and typing “REPL” to bring up “Julia: Start REPL”. You can also create *.jl files to write Julia code and execute line by line. However, we will primarily use Jupyter notebooks in this class, but this might be useful for testing code or for your project.
Install the Jupyter Notebook Extension
The Jupyter Notebook extension allows you to export a Jupyter notebook to PDF or to HTML and then to PDF.
You will need to export every notebook to a PDF for submission to Gradescope. Direct export to PDF requires a LaTeX installation. If you would like to go this route, please look at the LaTeX installation instructions for your operating system.
Otherwise, exporting to HTML and then using your browser to save the resulting page to a PDF is a perfect solution.
Follow the same instructions as above, but search for jupyter and install the Jupyter extension. Restart VS Code.
Using GitHub with VS Code
This Youtube video provides an overview of how to use GitHub within VS Code (with chapters for specific steps) and may be worth watching.