To install from source:
-
Install npm.
-
Install this extension's manifest (package.json): from this directory, open a command prompt/terminal then execute::
npm install
- From VSCode, select File | Add Folder to Workspace... then choose the folder containing this file.
- Press ctrl+shift+B to compile the extension.
- Press F5 or click start debugging under the Debug menu.
- A new instance of VSCode will start in a special mode (Extension Development Host) which contains the CodeChat extension.
- Open any source code, then press Ctrl+Shift+P and type "CodeChat" to run the CodeChat extension. You will be able to see the rendered version of your active window.
- In the Client:
- Update the version of the plugin in
package.json
.
- Update the version of the plugin in
- In the Server:
- Update the version in
cargo.toml
.
- Update the version in
- Here:
- Update the version of the plugin in
package.json
. - Run
cargo run -- release
on each platform, which produces a.vsix
file for that platform - Run
npx vsce publish --packagePath blah
. (docs)
- Update the version of the plugin in
TODO: tests are missing.