Skip to content

Commit 0fc9636

Browse files
committed
migrate to new @types/vscode, add vsce devDependency
The vscode library is deprecated in favor of @types/vscode. See https://code.visualstudio.com/api/working-with-extensions/testing-extension#migrating-from-vscode This also add vsce as a devDependency, so you don't need to install it globally. Instead you can run it via npm run vscepackage. This simplifies the README (or future "hacking" instructions when the extension is published)
1 parent 14b0b16 commit 0fc9636

File tree

3 files changed

+355
-570
lines changed

3 files changed

+355
-570
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ Install the VS code extension (see https://code.visualstudio.com/docs/setup/mac
6161

6262
1. `cd extension/`
6363
2. `npm ci`
64-
3. `npm install vsce --global` (may require `sudo`)
65-
4. `vsce package`
66-
5. `code --install-extension ghcide-0.0.1.vsix`
64+
3. `npm run vscepackage`
65+
4. `code --install-extension ghcide-0.0.1.vsix`
6766

6867
Now openning a `.hs` file should work with `ghcide`.
6968

0 commit comments

Comments
 (0)