VS Code extension to analyze 12+ languages using Code Inspector

Julien Delange
3 min readJun 17, 2021

--

Photo by Christina @ wocintechchat.com on Unsplash

Setting up code analyzers is painful, cumbersome, and confusing. You need to set up one static analyzer per language in each editor you use. Static analyzers you love may not be available in your co-worker editors, making code verification in your projects inconsistent. In addition, code quality rules checked in your CI/CD pipelines might be different from the rules in your editor.

Until now!

Introducing Codiga IDE plugins

We are introducing Codiga IDE plugins, bringing the power of Codiga analysis engine anywhere you write code. We recently released the first plugin that surfaces errors in IntelliJ and this time and now, we are releasing a plugin for VS Code that inspects all languages supported by Codiga for JetBrains at no cost.

No need to install multiple static analyzers: just one plugin to support all languages. We support the most popular IDEs so the very same rules are being detected on all platforms, making your code verification consistent across all development environments. Finally, the same rules are being used in your CI/CD pipeline so that no error in your IDE = no error in your CI/CD pipeline.

Code Inspector can check your code from anywhere.

If your favorite tool is not supported by Code Inspector, you can develop the integration yourself using our API or contact us to get support!

Code Inspector VS Code extension

The Codiga VS Code extension is available on the Visual Studio marketplace. You can install it in the plugin section of VS Code as well.

Once you install the plugin, add your Codiga API tokens in VS Code settings, as shown below.

Add your Code Inspector API keys in the VS Code plugin

Automatic feedback

Code Inspector will then analyze every file as you write code. Analysis results are surfaced directly in your editor within less than three seconds, as shown below. For each violation, you have a quick action where you can learn more about the problem.

Wrapping up

Codiga engine can be used within VS Code and check 12+ languages automatically within seconds. Verification is consistent across all IDE and CI/CD pipelines.

--

--