DeepScan for Visual Studio Code

DeepScan provides a Visual Studio Code extension enabling on-the-fly analysis for JavaScript and TypeScript in development.

DeepScan Grade

Overview

DeepScan for Visual Studio Code helps you to see bugs and quality issues on the fly in your Visual Studio Code.

  • Report issues in Problems panel when you open a JavaScript or TypeScript file and save it. Supported extensions are *.js, *.jsx, *.mjs, *.ts, *.tsx, and *.vue.
  • Highlight issues in the code.
  • Show a rule description using a code action. When you click the light bulb of the issue, you can see the detailed description of the rule and grasp what's the problem.

You can browse it in the Visual Studio Code Marketplace and install from within Visual Studio Code.

It's free and open source.

VS Code DeepScan extension

Considerations

Yes, it's free but note that:

Free version transfers the code to the DeepScan server for inspection when you save your changes.

Although your code is completely deleted from the server right after the inspection, you should confirm that your code is transferred to the DeepScan server.

You can confirm it by pressing the Confirm button that appears when restarting VS Code after the installation.

If you want to analyze without DeepScan server, check here.

Options

You can configure options (enablement, server, ignored rules, ...) through user and workspace settings.

Check out all of the options here.

Embedded Mode

Our Visual Studio Code extension has the limitation for transferring the file to the DeepScan server and analyzing a file one by one.

DeepScan supports an embedded mode, which works standalone without the DeepScan server. It works with the local language server so you can:

  • never worry about transferring the code outside.
  • analyze a whole project rather than a file.

Settings

  • Server Embedded > Enable: Controls whether DeepScan inspection should be executed via the embedded server rather than DeepScan server. (Restart required)
  • Server Embedded > License: Configures the license for the embedded analysis.
  • Server Embedded > Server Jar: Configures the JAR file for the embedded server. (Restart required)
Visual Studio Code Extension: Embedded Settings

Inspect Project

You can analyze a whole project in the command palette:
Visual Studio Code Extension: Inspect Project