Vscode

Using the Pymakr Extension in VSCode

pymaker

  1. install pymakr preview

    code --install-extension Pycom.pymakr-preview
    

Getting Started with Pymakr (from here)

  1. In File explorer(ctrl+shift+e)
    1. add or create a project folder for holding your micropython code (suggestion: name it “micropython”). Consider creating one in your “code” git repository.
  2. navigate to “Pymakr: Projects” tab in the workspace explorer window on the left
    1. select “create project”. Select the same code folder as above and specify a project name (like “hello-world”). Select the option to create a subdirectory with the micropython folder.

VSCode Setup and Usage

Installation

Download from here

Installation Options

  • Accept the default installation path
  • keep “Register Code as an editor for supported file types” checked
  • keep “Add to PATH” checked
  • other options: set to your preference

Ubuntu-specific

cd ~/Downloads
sudo dpkg -i code_1.7* #.... tab complete
sudo apt install -yf

Video

Thanks to Wyatte for this helpful video