We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refs: #17905
Complexity: 5
Create Issue
See IProposedExtensionAPI for APIs to test.
IProposedExtensionAPI
vscode-python/src/client/apiTypes.ts
Line 115 in fa16970
Example usage: Copy over contents of https://github.com/microsoft/vscode-python/blob/fa169707810b405e8b227429e3a060959eab8ffb/src/client/apiTypes.ts as needed.
const extension = extensions.getExtension('ms-python.python'); if (extension) { if (!extension.isActive) { await extension.activate(); } const api: IExtensionApi & IProposedExtensionAPI = extension.exports as IExtensionApi & IProposedExtensionAPI; if (api.environment) { interpreterPath = await api.environment.getActiveInterpreterPath(); } }
The text was updated successfully, but these errors were encountered:
LGTM except for the path based ness of it. Tried on Windows and WSL2
Sorry, something went wrong.
Tested on WSL2
No branches or pull requests
Refs: #17905
Complexity: 5
Create Issue
Requirements
Test APIs exposed via IProposedExtensionAPI
See
IProposedExtensionAPI
for APIs to test.vscode-python/src/client/apiTypes.ts
Line 115 in fa16970
Example usage:
Copy over contents of https://github.com/microsoft/vscode-python/blob/fa169707810b405e8b227429e3a060959eab8ffb/src/client/apiTypes.ts as needed.
The text was updated successfully, but these errors were encountered: