Use DeepCode in your JetBrains IDE
If you want to learn more on how to install the plugin, see this article.
TABLE OF CONTENTS
When you open a new project folder, you are asked if you want this project to be included in the scan.
If you accept, DeepCode will bundle the sources, analyze them, and show you the result. A summary, you can see in the status bar entry on the footer of the workspace. The status bar entry shows also how many errors, warnings and info suggestions have been found.
Note: DeepCode will update the scan results whenever you change the file content.
You can open the DeepCode Tool Window by either clicking on the Statusbar entry or by View, Tool Windows, DeepCode.
The tool window shows the overview of the suggestions in a treeview over the files. You can see how many issues were found overall, in how many files, and drill down into each file and finally each suggestion. The toolbar on the outmost left provides the following options (Note: If you cannot see the toolbar, make sure it is enabled in the menu accessible via the wheel icon):
In the editor, DeepCode decorates the code elements where it found a suggestion.
You find two functions in the context menu that you can reach by either hovering over the suggestion or by clicking on the yellow light bulb symbol.
The disabling functions are interesting if you want to flag testing code. DeepCode has heuristics to seperate testing and production code but this gives you the flexibility to flag your intent.
Ignore files or folders
If you want to ignore certain files/folders (like node_modules for example), create a .dcignore file. You can create it in any folder on any level starting from the directory where your project resides. The file syntax is identical to .gitignore. See also DeepCode Documentation on .dcignore.
In Settings, you can find DeepCode Settings.
In case you need to contact us or you want to provide feedback, we love to hear from you - here is how to get in touch with us.