ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Deep​Code​AI

by DeepCodeAI ST3

Deepcode plugin for IDE SublimeText

Details

Installs

  • Total 80
  • Win 44
  • Mac 26
  • Linux 10
Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25
Windows 1 0 0 0 0 0 1 2 0 1 0 0 1 0 0 0 0 0 1 5 0 0 0 0 0 2 1 0 1 1 0 1 0 1 1 0 0 1 0 1 2 0 1 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 1 0 0 2 1 0 0 1 0 0 0 0 2 0 1 0 0 0 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

DeepCodeAI package for Sublime

deepcode

The Sublime package provided by DeepCode.ai finds bugs and critical vulnerabilities in your code. We support Java, Python, JavaScript, TypeScript and C/C++.

Table of Contents

DeepCode package

Through the package you can quickly start using DeepCode's code review and analysis within your development workflow. The package will automatically alert you about critical vulnerabilities you need to solve in your code the moment when you hit Save in your IDE. With DeepCode's superior code review you save time finding and fixing bugs before they go to production.

DeepCode's AI Engine finds bugs

DeepCode uses symbolic AI to process hundreds of millions of commits in open sorce software projects and learns how to find serious coding issues. Because the platform determines the intent of the code — and not only the syntax mistakes — DeepCode identifies 10x more critical bugs and security vulnerabilities than other tools.

Our AI provides explanation behind found bugs

In order to show the detailed explanation of a potential bug, we introduced a new AI technique called Ontology. With Ontology, we’ve integrated the capability to present logical argumentation used by the DeepCode engine.

Supported languages

Python, JavaScript/TypeScript, Java, C/C++ are currently supported.

Installation

Prerequisites

  1. Make sure Package Control is installed (Press ctrl+shift+p, Mac: cmd+shift+p and search for Package Control). If you have to install, give it a few seconds until you see the success message
  2. Make sure Python3 and PIP3 is installed on your machine.

How to install the package

DeepCode Sublime plugin is available in install package menu.

Command Palette

  1. Open the command palette
  2. Win/Linux: ctrl+shift+p, Mac: cmd+shift+p
  3. Type Install Package, press enter
  4. Type DeepCode Sublime Plugin, press enter This will download the latest version of DeepCode Sublime Plugin, and it will install package and his dependencies on your machine.

Tips on project onboarding

  • we are serious when it comes to your code. We upload and analyse your code only after you giving us the explicit consent to do so. Your code is protected and used only for the purpose of informing you about issues in code:

confirm

  • once the confirmation is in place we start uploading the files:

deepcode progress

How to use it?

Scan or Rescan from context menu

  • Analysis will run on command by selecting Analyze Project from DeepCode context menu option. deepcode analyze

Analysis on Save

  • Analysis will run on file save event, so you don't have to worry about rescanning project manually.

How to ignore suggestions

There are two key steps here:

  1. Ignore particular alert directly by using Ignore for line or Ignore for file:

    deepcode problem

  2. 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.

Opening Results Panel

There are two ways to open Results Panel

  1. Open Results Panel from context menu.

  2. Open Results Panel from panel menu deepcode open results

Results Panel

Results panel is a place where you can check analysis results grouped by the file. deepcode panel

#### Actions from Results Panel: 1. See Results In Dashboard (opens the analysis results in the default browser where we also provide example fixes) 2. Ignore for Line and Ignore for file (adds ignore comment) 3. Go to File (focuses the line with the issue in the specific file)

Settings

You can customize behavior of the package by adding your custom settings in Settings section, which you can open either form context menu or from Preferences menu configuration

If you need to update the url to the DeepCode server in a self-managed environment or restart the login process, or remove your project form consented list just modify the settings file. settings

Feedback and contact