Rename python.pythonPath settings #8646
Labels
area-environments
Features relating to handling interpreter environments
feature-request
Request for new features or functionality
needs PR
Ready to be worked on
The Python PATH is already a very important concept in Python: it's the official name of the list of paths Python is going to loop over to look up things you import. It's regulated by the
sys.path
variable, but more importantly, thePYTHONPATH
env var.Worse, it is badly understood by a lot of devs. Having a settings in VSCode named
python.pythonPath
that is completely unrelated is very confusing, especially for new comers.Now I understand that it's not desirable to remove the settings completely, but it would be great to phase it out little by little (keeping it as an alias for compat), replacing it with the same one, just named differently.
Suggested name: Python executable
I would also suggest mentioning virtualenv in the help text. Currently it states:
So beginners have no idea they can set the virtualenv here. In fact, typing "virtualenv" or "venv" in the setting search bar doesn't show this setting, which it should.
I opened a separate but related issue about a UI to set it: #8645
The text was updated successfully, but these errors were encountered: