Installation of Visual Studio Code

The steps on this page may be ignored if a user-supplied code editor is employed in conjunction with the command line XTC Tools.

Install Visual Studio Code from https://code.visualstudio.com/download. Version 1.106.2 is the earliest supported release.

Visual Studio Code terminology is used in the XMOS XTC Tools documents. For further explanation of terms used see https://code.visualstudio.com/docs/getstarted/userinterface.

Use the VS Code click-through installer. Select the check-box Add to PATH to ensure it is available when using the XMOS XTC Tools Command Prompt.

Follow Apple instructions to install Visual Studio Code into the /Applications folder, typically under /Applications/Visual Studio Code.app.

Download the .deb package and install using the the apt tool. See documentation on this tool for further information.

Installation of the Visual Studio Code XMOS XTC Tools extension

The following steps will the XMOS XTC Tools extension in Visual Studio Code.

Start VS Code

  1. Go to the Start Menu

  2. Find Visual Studio Code and launch it

  1. Go to the Launchpad

  2. Select Visual Studio Code and launch it

  1. Open a shell

  2. At the shell prompt type

    $ code
    

Install the XMOS XTC Tools VS Code extension

The following steps should be followed on all host machine operating systems types.

  1. Go to the VS Code Extensions Market Place by clicking on the Extensions icon in the Activity Bar. This is shown highlighted at the bottom left of the VS Code Extensions figure below. The EXTENSIONS Primary Side Bar is shown when this icon is selected

    ../../../_images/vscode_extension.png

    Fig. 1 VS Code Extensions

  2. Type XMOS in the edit box with the grey string Search Extensions in Marketplace

  3. The XMOS XTC Tools extension will appear in the list below this edit box

  4. Click on this entry

  5. The XMOS XTC Tools extension overview page will appear in the Editor view to the right of the Extension view

  6. Click on the blue Install button next to the XMOS XTC Tools extension item in the Extension view or the blue Install button at the top of the Editor view

  7. The XMOS XTC Tools extension icon will appear in the Activity Bar

  8. If the XMOS XTC Tools extension icon does not appear, close and restart VS Code