forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Description
In the Jupyter extension we do not directly add @types/vscode
instead we use @vscode-dts
which pulls down the necessary type definition files.
However this doesn't work well with the peerDependency in the @vscode/python-extension package.
The following command fails in npm npm list --production --parseable --depth=99999 --loglevel=error
I have used vscode-dts -f
to remove the npm package installed by the Python extension as thats not required.
Suggestion: Use optionalDependency
in favor of peerDependency
,
Basically we're unable to use the Python extension when using the vscode package @vscode/dts
https://github.com/microsoft/vscode-dts
Metadata
Metadata
Assignees
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded