1. Download the VScode software package
Visual Studio Code - Code Editing. Redefined
Download the compressed version
2. Copy to Ubuntu server, decompress and add environment variables
export PATH="/home1/users/XXX/Softwares/VSCode-linux-x64/bin/:$PATH"
3. Run the code in the terminal to open VScode
4. Open the project
There is test.py code in the project
5. Install python dependent libraries
6. Use anaconda’s python environment
Some VScode versions can set the anaconda environment by setting the python.pythonPath variable.
7. Press F5 to run test.py
8. Open the terminal
Ctrl+, (Note: , is the key below Esc)