aboutsummaryrefslogtreecommitdiff
path: root/pw_ide/ts/pigweed-vscode/README.md
blob: 434603d7a9ebf35a179d73e5d8e47d1e3212e7c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Pigweed Extension for Visual Studio Code

This is highly experimental!

## Developing

- Ensure that you have `npm` installed globally; this doesn't use the
  distribution provided by Pigweed yet.

- Open the `pigweed/pw_ide/vscode` directory directly in Visual Studio Code.

- Run `npm install` to add all dependencies.

- Run "Run Extension" in the "Run and Debug" sidebar, or simply hit F5. A new
  Visual Studio Code window will open with the extension installed.

- Make changes. The build will update automatically. Click the little green
  circle-with-an-arrow icon at the top of your development window to update
  the extension development host with the new build.

## Building

- Install the build tool: `npm install -g @vscode/vsce`

- Build the VSIX: `vsce package`