0

To activate Python extension in VSCode I must open a Python file. Can I activate it without opening a Python file?

I saw this issue, but couldn't see if there is a configuration in my workspace settings to do it. If I open a python file the extension is activated and my venv loaded, but I'd like to do it without opening a file.

neves
  • 33,186
  • 27
  • 159
  • 192
  • does the extension mentioned in the issue work for you – rioV8 Sep 14 '21 at 14:25
  • @rioV8 I'm using the python extension. My code does not have some standard python files (e.g. requirements.txt is in a subdir) – neves Sep 14 '21 at 17:20
  • I mean [extension by DonJayamanne](https://github.com/microsoft/vscode-python/issues/5553#issuecomment-493549505), it only calls the `activate` method of the python extension – rioV8 Sep 14 '21 at 18:55

0 Answers0