When compiling VSCode extension then typescript persistently complained
error TS2307: Cannot find module \'vscode\'.
Installation <
The solution is a link pointing to vscode.d.ts from node_modules directory.
vscode.d.ts
node_modules
ln -s /home/work/mymodule/node_modules/vscode.d.ts /usr/share/code/resources/app/out/vs/vscode.d.ts