Visual Studio Code

From UCT EE Wiki
Revision as of 11:07, 9 September 2020 by Vmrmax002 (talk | contribs) (→‎Remote Development for the Raspberry Pi)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview[edit]

Visual Studio Code is a lightweight code editor with plugins for many different languages and frameworks.

Installation[edit]

See this link for details on installation and configuration.

Useful plugins[edit]

LaTeX Workshop[edit]

On Windows:

  1. Install the James Yu Tex workshop plugin
  2. Install Miktex-basic
  3. Install Perl

Remote Development for the Raspberry Pi[edit]

A nifty feature of VS Code is the remote development extension. Using this feature, it is possible to create, edit and run code on the Raspberry Pi all from within VS Code. This simplifies the development process by allowing you to work on any computer that can run VS Code and interact with the Raspberry Pi, over SSH, in a streamlined fashion. You get access to the file system and the terminal on the Raspberry Pi, allowing you to do pretty much anything needed for the development process.

In order for this to work, please follow the installation instructions at https://code.visualstudio.com/docs/remote/ssh#_installation to install an OpenSSH compatible SSH client on your computer. After this, you should be able to follow along with this demo video (https://youtu.be/w94ZjlBsCPY) on how to install the remote development extension and get connected to your Raspberry Pi.

Please note, for this to work your Raspberry Pi needs to be connected to your WiFi network or to your computer via ethernet.