kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/typescript/languageserver/vscode-extension/README.md (about) 1 ## Building 2 3 Be sure to run `npm install` from the `vscode-extension` directory in order to 4 fetch dependencies. 5 6 This extension is built using either: 7 8 ```bash 9 npm run compile 10 ``` 11 12 or 13 14 ```bash 15 npm run watch 16 ``` 17 18 ## Debugging 19 20 It should be possible to debug the extension by opening the `vscode-extension` 21 folder in Visual Studio Code and pressing `F5`. 22 23 For more information, see `.vscode/launch.json` and 24 [Running and Debugging Your Extension](https://code.visualstudio.com/docs/extensions/debugging-extensions) 25 26 ## Packaging 27 28 To package a `.vsix` file for deployment, enter the `vscode-extension` directory 29 and run `vsce package`. This will write a `kythe-X.Y.Z.vsix` file. If you have 30 made changes be sure to update the version in `package.json`. 31 32 If necessary, install `vsce` by running `npm install -g vsce`.