Skip to content
lukashettler-isg edited this page Feb 18, 2022 · 37 revisions

vscode-isg-cnc

Getting started

Installation

  • Install Visual Studio Code first.
  • Install the extension.

There are two ways to do that:

  1. You can install the extension in the Visual Studio Code extension manager by searching for isg-cnc.
  2. 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...

Configuration

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.

Color Theme

  • Choose your favorite color theme

change color theme

Common setting information

  • You can change some more settings, the shown settings are the default settings:

settings

  • You can reset every setting by clicking the marked button and choose reset setting.

reset settings

Documentation settings

settings documentation

  • Check the correct path to your browser for linux or windows.

settings browser

Developement

Getting started

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.

Debugging and Deployment

  • 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

FAQ

  1. 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