DEV Community

Cover image for The only code analyzer you need with VS Code
Julien for Code Inspector

Posted on

The only code analyzer you need with VS Code

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 Code Inspector IDE plugins

We are introducing Code Inspector IDE plugins, bringing the power of Code Inspector 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 Code Inspector in IntelliJ 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 Code Inspector VS Code extension is available on the Visual Studio marketplace. You can install it in the plugin section of VS Code as well.

Installing the plugin from the Marketplace

Once you install the plugin, add your Code Inspector API keys 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.

Automatic feedback in VS Code

Wrapping up

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

Discussion (0)