Install the CodeFusion Studio VS Code extension
You can install the CodeFusion Studio extension using one of the following methods.
Option 1: Install from within VS Code (recommended)
- Open Visual Studio Code.
- Go to Extensions (or press
Ctrl+Shift+X/Cmd+Shift+X). -
Search for CodeFusion Studio.
-
Select the extension and click Install.
- Restart VS Code or reload the VS Code window: open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) and run Developer: Reload Window.
Option 2: Install from a VSIX file
Use the VSIX file included with CodeFusion Studio to reinstall or update the CodeFusion Studio extension when you cannot install it from the Visual Studio Marketplace.
Important
The Microsoft C/C++, Cortex-Debug, and Zephelin Trace Viewer extensions must already be installed. This procedure cannot install them, so it cannot be used for a first-time installation on a machine without Marketplace access.
- Open Visual Studio Code.
- Select the Extensions icon from the activity bar.
- Click Views and More Actions (...) and select Install from VSIX.
- Navigate to the
<codefusion-sdk-install>/VSCodedirectory. The exact location depends on your installation path. The following are the default locations:- Linux:
/home/<username>/analog/cfs/<version>/VSCode - macOS:
/Users/<username>/analog/cfs/<version>/VSCode - Windows:
C:\analog\cfs\<version>\VSCode
- Linux:
- Select the
cfs-ide-*.vsixfile to install. - Restart VS Code for the changes to take effect.
Verify installation
To confirm that the extension installed correctly:
- In VS Code, open Extensions (
Ctrl+Shift+X/Cmd+Shift+X). - Search for CodeFusion Studio again.
- The extension appears in the Installed list.

Note
VS Code updates the extension automatically when a new version becomes available. To control when the extension updates, see Manage extension updates and versions.
Next steps
To complete installation, set the SDK path so the extension can find your CFS SDK installation.



