VS Code Extension
The IZ extension for Visual Studio Code analyzes your projects while you code, with the quality profiles and rules from your IZ Suite workspace. This page covers installing it, connecting it to IZ Suite and the settings it adds to VS Code. To work with the results, see Analyze and Fix in VS Code.
Prerequisites
Visual Studio Code
Version 1.73 or later, on Windows, macOS or Linux.
Java
Java 11 or later. The extension runs its analysis in a Java process on your computer.
IZ Suite address
The address you use to sign in, for example https://izsuite.example.com.
Security token
Generate one in Administration → My Account → Security credentials. See Security Credentials.
IDE key
Assigned to you by an administrator. Copy it from Administration → My Account → IDE projects. See IDE Projects.
Network access
From your computer to your IZ Suite address and to the IZ key service, https://license.integralzone.com.

How the Extension Finds Java
When VS Code starts, the extension looks for Java 11 or later in this order:
The
javacommand on yourPATH.The folder set in the
falconscan.ls.java.homesetting (see Settings).The
JAVA_HOMEenvironment variable.
If none of them gives Java 11 or later, the extension shows a warning with two choices:
Click Install to let the extension download Java 11 (Eclipse Temurin) for its own use. It downloads the build for your operating system and processor, sets
falconscan.ls.java.hometo it and asks you to restart VS Code. If the download fails, an error says why.Or install Java 11 or later yourself, or set
falconscan.ls.java.hometo the Java home folder (the folder that containsbin), then restart VS Code.
Install the Extension
In VS Code, open the Extensions view (
Ctrl+Shift+X, orCmd+Shift+Xon macOS).Search for
IntegralZone.falcon-scan, the extension's identifier. The publisher is IntegralZone.Click Install.
Restart VS Code.
You can also install it from a terminal:
Use this when your VS Code cannot reach the Marketplace, for example a VS Code that runs on a server and opens in your browser.
Open
https://marketplace.visualstudio.com/items?itemName=IntegralZone.falcon-scanon a computer with internet access.Click Download Extension to save the
.vsixfile, and copy it to where your VS Code can open it.In VS Code, open the Extensions view, click the ... menu at the top of the view and choose Install from VSIX....
Select the
.vsixfile.Restart VS Code.
The machine that runs VS Code still needs Java 11 or later and network access to IZ Suite.
When the extension starts, VS Code shows Extension initialized successfully!. If it shows Failed to initialize the extension, check the Java prerequisite.
To update the extension, update it from the Extensions view like any other extension. To remove it, click Uninstall on the extension in the Extensions view and restart VS Code.
Connect to IZ Suite
Click the IZ icon in the Activity Bar. The extension's side bar opens with three views: Connection, Profile Rules [In Use] and Support & Documentation.
In Connection, click IZ Suite Connection.
Fill in the connection form. All three fields are required.
FieldDescriptionServer URL
Your IZ Suite address, for example
https://izsuite.example.com.Security Token
Your security token. Click View to show what you typed.
Developer Token
Your IDE key. Click View to show what you typed.
Click Save Connection.
The extension checks that the server is reachable, that the security token is valid and that the IZ key service recognizes the IDE key. It then downloads the IDE settings and the quality profiles for every language available to you. If something fails, the form shows the error.
To change the connection later, click the connection (your server URL) at the top of the Connection view, change the fields and click Save Connection again.
Choose the Quality Profiles
After you connect, the Connection view shows your server URL, and under it each language available to you. Expand a language to see its quality profiles:
[Default]
The language's default quality profile in IZ Suite. The extension uses it until you choose another.
[Active]
The profile the extension uses for this language.
To use another profile, hover over it and click the check icon (Activate / Apply Profile). The extension reloads the profile's rules into Profile Rules [In Use]. Click a rule there to read its description.
Which profiles are listed depends on the Show All Quality Profiles IDE setting in IZ Suite. See IDE Extensions.
Settings
The extension stores its configuration in your VS Code user settings. The connection form and the Connection view write them for you; edit them by hand only when told to. Open them with Preferences: Open User Settings (JSON) in the Command Palette.
falconscan.connection
The connection: serverURL, securityToken, developerToken, the connectionType, and allowedLanguages (the languages available to you, filled in when you save the connection).
falconscan.muleQualityProfile
The key of the active Mule quality profile.
falconscan.apiQualityProfile
The key of the active API quality profile.
falconscan.kubernetesQualityProfile
The key of the active Kubernetes quality profile.
falconscan.logicappQualityProfile
The key of the active Azure Logic Apps quality profile.
falconscan.apimgmtQualityProfile
The key of the active Azure API Management quality profile.
falconscan.functionappQualityProfile
The key of the active Azure Function App quality profile.
falconscan.csharpQualityProfile
The key of the active C# quality profile.
falconscan.pythonQualityProfile
The key of the active Python quality profile.
falconscan.pysparkQualityProfile
The key of the active PySpark quality profile.
falconscan.javaQualityProfile
The key of the active Java quality profile.
falconscan.lambdaQualityProfile
The key of the active AWS Lambda quality profile.
falconscan.cfnQualityProfile
The key of the active AWS CloudFormation quality profile.
falconscan.ls.java.home
The Java home folder the extension uses when java on your PATH is missing or older than Java 11.
For example, to point the extension at a specific Java installation:
Language Server
The analysis runs in a language server, a Java process that the extension starts when VS Code opens and stops when it closes. It reads your project files locally, so your code stays on your computer. It keeps the downloaded profiles and rules in a cache, which Sync Rules from Server refreshes. It publishes issues to VS Code's Problems panel and to the extension's results view.
The language server also talks to IZ Suite in the background: it publishes the summary of the projects you analyzed (see IDE Extensions) and checks your IDE key.
Next steps
Analyze and Fix in VS Code: read the results, fix issues and control the analysis.
Rules Playground: write and publish a custom rule from VS Code.
IDE Projects: copy your IDE key and see the projects you analyzed.
IDE Extensions: how the extensions work with IZ Suite.
Last updated
Was this helpful?

