-
Notifications
You must be signed in to change notification settings - Fork 2
home
lukashettler-isg edited this page Feb 18, 2022
·
37 revisions
- Install Visual Studio Code first.
- Install the extension.
There are two ways to do that:
- You can install the extension in the Visual Studio Code extension manager by searching for isg-cnc.
- If you dont have internet you can download the vsix file from marketplaces and install extension locally.
Downloadlinks:
Visual Studio Code Marketplace - vscode-isg-cnc
Open VSX Registry - vscode-isg-cnc
Important: Doubleclick on vsix file didn't work! Install inside Visual Studio Code via Visual Studio Code - Extensions - ... - Install from VSIX...
Because of plug-in specific syntax highlighting (we use own scope names) you should select a color theme. You can choose between isg-dark or isg-light.
- Choose your favorite color theme
- You can change some more settings, the shown settings are the default settings:
- You can reset every setting by clicking the marked button and choose reset setting.
- Check the correct path to your documentation. Default is ISG online documentation
- Check the correct path to your browser for linux or windows.
To develop the extension node js is necessary. This can be downloaded from https://nodejs.org/en/.
The only thing to do before start developing is to run npm install
in a terminal in the root folder of the repo.
- To debug the extension you can start the debugger of VS-Code.
- To deploy a new extension vsce is necessary
- run
npm install -g vsce
- run
vsce package
to generate the vsix file
- run
- I have installed the extension, but the syntax highlighting is not correct. What can I do?
- We use a separate scope namespace for syntax highlighting. Please set the color theme in the extension settings to isg-dark or isg-light.
See also color theme settings