TICS Visual Studio Code Extension
This version of the plugin is compatible with Visual Studio Code versions 1.75.0 and up.
Features
- Install TICS on the current machine.
- Run TICS analysis on current file.
- Run TICS analysis on workspace.
- Cancel current running analysis.
- Configure TICS.
- TIOBE Roslyn Analyzers for C#.
- Get Copilot-assisted fixes for TICS violations using the TIOBE MCP Server.
Usage
Install TICS
If TICS is not installed, a button is displayed on the right top of an opened file that can be used to install TICS.
- If clicked, VS Code will ask for a TICS Viewer URL. Any TICS Viewer URL can be copied and inserted here.
- If authentication is needed, VS Code will either:
- TICS Viewer versions < 2024.2.0: Give a warning giving directions for creating an authentication token. This token then needs to be put in
%APPDATA%\TICS. Hit Install TICS again.
- TICS Viewer versions >= 2024.2.0: Open the TICS Viewer in the browser and have the user authenticate themselves. The plugin will then automatically provide the user's machine with an authentication token.
- TICS will be installed (as can be seen in the OUTPUT panel).
Commands
To access the commands, use CTRL+Shift+P to open the vscode command palette. Start typing "TICS" in the command palette box. You will see all available commands in the suggestion.
| Command |
Description |
| Install TICS |
(Re)-install TICS Client on the local machine with a configurable viewer. |
| Set Configuration URL |
Set the configuration URL of the viewer to connect to. |
| Configure TICS |
Start the TICS Configuration Tool. |
| Analyze File with TICS |
Analyze the currently opened file (also via button). |
| Analyze Project with TICS |
Analyze the currently opened project (also via button). |
| Cancel TICS Analysis |
Cancel a running analysis (also via button). |
| Open Log for Current Window |
Opens the TICS log file for the current VS Code window. |
| Open OmniSharp Configuration File |
Opens the file where the TIOBE Roslyn Analyzers are added to OmniSharp. |
Right-click actions
| Name |
Description |
| Analyze File with TICS |
Analyze the selected file. |
| Analyze Folder with TICS |
Analyze the selected folder. |
Copilot Quick Fix
For a TICS diagnostic in the editor, open the Quick Fix menu (lightbulb or Ctrl+.) and select Fix TICS violation ... with Copilot chat using TIOBE MCP Server. This opens Copilot Chat with the diagnostic's rule, language, file, line, and message. Copilot is asked to retrieve the rule documentation from the TIOBE MCP Server, explain the rule, and solve the issue. TICS will be run after to verify if the violation has been fixed.
This feature requires the GitHub Copilot Chat extension to be installed and enabled, as well as an available TIOBE MCP Server URL. The extension retrieves the URL from the remote TICS Viewer configuration and registers it as an MCP server definition. If no URL is available, the extension shows an information message and does not register the server. The feature will then not be made available.
Settings
| Name |
Description |
| Auto Switch |
Automatically switch to the problems pane after a TICS analysis. |
| Code Log Level |
Dropdown list to set the log level for the VS Code log file. |
| OmniSharp Log Level |
Dropdown list to set the log level for OmniSharp. |
| Enable Tiobe Analyzers |
Enable or disable the TIOBE Roslyn Analyzers. |
| Disable SSL Verification |
Disable SSL verification for TICS Viewers used within VS Code (USE WITH CAUTION). |
| LSP Log Level |
Dropdown list to set the log level for the LSP. |
| MCP Server URL Override |
Override the MCP Server URL used for quickfixes. If left empty, the TICS Viewer will be asked for the configured MCP Server URL. |
Note
For the plugin to work on a Linux machine, Visual Studio Code needs to be started from the terminal.