Make extension lazy loading optional #22735
Labels
feature-request
Request for new features or functionality
info-needed
Issue requires more information from poster
triage-needed
Needs assignment to the proper sub-team
Issue Description
The extension is lazily loaded. That is, looking at
package.json
:The Python extension is activated when a file which language type is set to Python is currently active or specific files such as:
requirements.txt
are present in the workspace.Suggested feature
I'd like to be able to have the extension loaded upon vscode startup onStartupFinished, regardless if the necessary files are present or a python file is active.
In order to not deteriorate loading times for big python projects, I would like to have this feature to be optional, so it could be toggled in the extension settings (disabled by default).
Rationale
We use Python as a helper in our C++ project. We would like the test explorer to discover tests upon vscode startup, which in turn requires the extension to be active. While reopening the project, recent python files remain open in background tabs, switching tabs just to trigger the loading of the extension feels tedious.
The text was updated successfully, but these errors were encountered: