Skip to content

Commit

Permalink
Add deploy section to the vscode extension
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZoker authored and edgarmueller committed Jul 2, 2019
1 parent a061702 commit d777273
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion vscode-extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,19 @@ The VS extension brings you all the functions of the tooling to your Visual Stud
## Preview the schema and UI schema
1. Right click on a `schema.json` or a `uischema.json` file.
2. The editor will now ask you to select the other file (if you selected a schema file in the first step, now select the uischema file).
3. Now the preview will open in split screen and show you a preview of your schema files. (Note: It can take a while to load the environment)
3. Now the preview will open in split screen and show you a preview of your schema files. (Note: It can take a while to load the environment)

## Deployment

To get an installable vscode extension file, you first need to install the "Visual Studio Code Extensions" tool:
```shell
npm install -g vsce
```

After that run:
```shell
vsce package
```

The tool will generate a file, that can directly be installed within vscode. More information can be found here:
https://code.visualstudio.com/api/working-with-extensions/publishing-extension

0 comments on commit d777273

Please sign in to comment.