3 Visual Studio Code
If you are reading this, you are probably using VS Code for the first time or need a refresher! VS Code is Microsoft’s open source text editor that has become the most popular editor in the past decade. It is portable (meaning it works in Windows, Linux, and Mac) and relatively light-weight (it won’t use all you RAM as some proprietary tools would do). If you are doing Data Science or wish a more interactive environment, Posit has made a spin-off VS Code called Positron that is very similar to use and comes bundled with a few extra functionalities.
There are a few shortcuts you might want to keep in mind for using this tool in an efficient manner:
Ctrl+J: show/hide the terminalCtrl+B: show/hide the project treeCtrl+Shift+V: display this file in rendered modeCtrl+Shift+P: access the command palletCtrl+K Ctrl+T: change color themeAlt+Z: toggle column wrapping
A few more tips concerning the terminal:
Ctrl+Lgives you a clean terminal (also works inside Julia prompt)Ctrl+Dbreaks a program execution (i.e. use to quit Julia prompt)
If you copied a command from a tutorial, you CANNOT use Ctrl+V to paste it into the terminal; in Windows simply right-click the command prompt and it will paste the copied contents. Linux users can Ctrl+Shift+V instead.
Notice that Ctrl+M will toggle the visibility of the integrated terminal; if you accidentally press it, autocompletion will stop working in terminal. Just press it again and normal behavior will be recovered.
3.1 VS Code extensions
VS Code supports a number of extensions to facilitate coding and data analysis, among other tasks. Local (user-created) extensions can be manually installed by placing their folder under %USERPROFILE%/.vscode/extensions or in the equivalent directory documented here. Below you find my recommended extensions for different purposes and languages.
The following extensions are recommended.
General purpose:
Python development:
Other languages support
Data inspection:
VS Code themes:
I have also developed a few (drag-and-drop) extensions; in the future I plan to provided them through the extension manager.