The January Release Notes – Extension Authoring section says I should be able to update my package.json file to include the following:
{
"engines": {
"vscode": "^0.10.8"
},
"devDependencies": {
"typescript": "^1.7.5",
"vscode": "^0.11.x"
}
}
It also notes the following:
- The
vscode.d.ts is no longer shipping within the vscode npm module.
- The value of the
engine field in your extension is used to determine which version of vscode.d.ts to use.
It does not, however, tell me where vscode.d.ts is installed. I used to be able to do imports like:
import { TextEditor } from 'vscode';
However, now I'm getting an error:
Cannot find module 'vscode'.
It's not clear to me, the new way to do these imports and I've tried tracking down vscode.d.ts to no avail, so I'm at a loss.
The January Release Notes – Extension Authoring section says I should be able to update my
package.jsonfile to include the following:{ "engines": { "vscode": "^0.10.8" }, "devDependencies": { "typescript": "^1.7.5", "vscode": "^0.11.x" } }It also notes the following:
vscode.d.tsis no longer shipping within thevscodenpm module.enginefield in your extension is used to determine which version ofvscode.d.tsto use.It does not, however, tell me where
vscode.d.tsis installed. I used to be able to do imports like:However, now I'm getting an error:
It's not clear to me, the new way to do these imports and I've tried tracking down
vscode.d.tsto no avail, so I'm at a loss.