Through this Open Source extension for Atom, you can quickly start using DeepCode's code review and analysis within your development workflow. The extension will automatically alert you about critical vulnerabilities you need to solve in your code the moment when you hit SAVE in your IDE. Learn more here
Installing the package is rather straightforward. You could use apm (Atom's package manager) - open the terminal and run apm install deepcode. Below we show how to install it through the Preferences.
To learn more about the installation process, see this short video on how to install the extension:
Open Atom's Preferences and then Install. Search for the deepcode package. Here is a video how to do this:
How to use it?
PROTIP - DeepCode analysis on Save
DeepCode's package runs automatically when you hit Save (or the keyboard shortcut).
Here is a video on how to use the package. In short - don't forget to save and you would be in good hands:
How to ignore suggestions
There are two key steps here:
Ignore particular alert directly by using Ignore for line or Ignore for file:
Deepcode will create a comment, that will inform our analysis engine to ignore it. Don't forget to specify a description why you think it needs to be ignored. Your feedback will improve our engine over time:
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. You may create multiple .dcignore files depending on your use case. This file supports glob syntax with "*" and "**" to specify file masks and sub-folders: