Skip to content

Please do not use vscode in the dependencies section of package.json #1604

Closed
@alexdima

Description

@alexdima

The vscode npm module contains some helper stuff which can download vscode for testing purposes if you use continuous integration, which can download the vscode.d.ts, but which also drags in a lot of dependencies. The engines field is the place which captures that this is a vscode extension and it is enforced at runtime.

Using vscode in the dependencies section leads to a lot larger extension size (for no good reason).

The correct place to put it is in devDependencies.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions