Visual Studio Code
Visual Studio Code (known commonly as VSCode) is a free code editor developed by Microsoft. As such it has extensive documentation about its general use, which we will not repeat here. Instead this page will focus on the ways to get the most out of VSCode when developing code for Student Robotics.
Python Extension
While VSCode has some built-in support for developing Python, we recommend that you additionally install the official Python extension. This brings more comprehensive support and enables everything else we will document here.
Code Completions
In order for VSCode to pick up the sr.robot3 library and offer completions
you’ll need to make the library available within the Python environment that you’re using.
- Open the workspace containing your code.
- Open a terminal via Terminal → New Terminal.
- Run
pip install sr.robot3.