There is an extra step that isn't always necessary, which is to select the Python interpreter to use. Note the dot, given as an argument, so that a new project is created on the current directory. Then, I can start Visual Studio Code from the root directory of my project with this simple command: code. To start a new project, what I find the most convenient is to create my project in the command line however I like, including a virtual environment with my preferred python version. On Windows you will need to download an executable and install it somewhere on your path. On the Mac, you can install it with homebrew ( brew install ctags), on Ubuntu Linux with apt-get ( sudo apt-get install exuberant-ctags). The Python extension requires that you install the exuberant ctags tool, which helps with the symbol extraction from source code files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |