how to build .vsix file? i want to custom some menu.
my vscode version :1.65.2 x64 ,my os : windows 10 x64
i use command in cmd:
npm install
npm install vscode
vsce package
get error:
D:\Code\vscode-tortoise-svn> vsce package
Executing prepublish script 'npm run vscode:prepublish'...
> tortoise-svn@0.1.1 vscode:prepublish
> node ./node_modules/vscode/bin/compile
src/extension.ts(27,42): error TS2305: Module 'vscode' has no exported member 'ExtensionContext'.
src/extension.ts(41,59): error TS2339: Property 'rootPath' does not exist on type 'typeof workspace'.
src/extension.ts(49,46): error TS2339: Property 'activeTextEditor' does not exist on type 'typeof window'.
src/extension.ts(49,80): error TS2339: Property 'activeTextEditor' does not exist on type 'typeof window'.
src/extension.ts(82,51): error TS2339: Property 'rootPath' does not exist on type 'typeof workspace'.
src/extension.ts(114,44): error TS2339: Property 'getConfiguration' does not exist on type 'typeof workspace'.
src/extension.ts(129,54): error TS2339: Property 'rootPath' does not exist on type 'typeof workspace'.
src/extension.ts(150,37): error TS2339: Property 'rootPath' does not exist on type 'typeof workspace'.
src/extension.ts(196,55): error TS2339: Property 'getConfiguration' does not exist on type 'typeof workspace'.
src/extension.ts(213,32): error TS2339: Property 'activeTextEditor' does not exist on type 'typeof window'.
src/extension.ts(213,67): error TS2339: Property 'activeTextEditor' does not exist on type 'typeof window'.
src/extension.ts(214,41): error TS2339: Property 'rootPath' does not exist on type 'typeof workspace'.
src/extension.ts(216,38): error TS2339: Property 'activeTextEditor' does not exist on type 'typeof window'.
src/extension.ts(222,43): error TS2339: Property 'getConfiguration' does not exist on type 'typeof workspace'.
test/extension.test.ts(15,1): error TS2304: Cannot find name 'suite'.
test/extension.test.ts(18,5): error TS2304: Cannot find name 'test'.
ERROR npm failed with exit code 2
how to build .vsix file? i want to custom some menu.
my vscode version :1.65.2 x64 ,my os : windows 10 x64 i use command in cmd:
get error: