Skip to content

Repository files navigation

Deepcode plugin for IDE "Eclipse"

DeepCode extension

Through the extension 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. 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 source 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 and Platforms

JavaScript, TypeScript, Java, C/C++, and Python are currently supported. We supprt Eclipse 2019-03 and later.

Installation

The installation is pretty straight forward. The DeepCode plug in is available on the Eclipse Marketplace. You can either follow the steps below or simply click on this button here: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Installation Steps

Side Note: Make sure to have Eclipse 2019-03 or later. You can check under Help - About Eclipse - Version.

(1) Open the Eclipse Marketplace within Eclipse under Help - Eclipse Marketplace: Marketplace Entry

(2) Search for DeepCode by typing it into the search bar and pressing Go: DeepCode in the Eclipse Marketplace

Side Note: When you do not find DeepCode, make sure you selected the Eclipse Marketplace in the Marketplace selectors.

(3) Click Install on the bottom right of the entry.

(4) Eclipse will ask to accept the MIT license of DeepCode. Click on I accept and Finish:

Accept MIT license

(5) Finally, restart Eclipse - done

Restart Eclipse

Authenticate to DeepCode Online Service

When starting the first time or when your API key has been deleted or invalidated, the DeepCode plugin will ask you to authenticate.

Authentication request

You will be redirected to a web browser and asked to login using either Github, Gitlab, or Bitbucket account. In the background, a key will be generated and stored to be used in the future.

How to use it?

Configuration

Under Windows - Preferences you will find the DeepCode Preferences entry:

DeepCode Configuration Window

DeepCode Server instance URL Per default, the DeepCode public internet facing server instance is chosen. But, if you have a DeepCode Docker instance running, you can target your internal instance by using this entry. Just enter the address of your internal server.

TokenId is the token that was either acquired by the process described above or manually on the DeepCode dashboard. When deleting this entry, you force the plugin into the token acquisition.

Min Severity level to show offers the opportunity to dial down on the suggestions you get.

Add Linters analysis DeepCode offers to add linter feedback like ESLint. You might have this in your IDE already and don't want to duplicate results.

Usage

Side Note: You can find the DeepCode in Window - Show View - Other

DeepCode View

Opening a new project will ask you for approval to scan the project. You will then see the results displayed in the bottom bar of Eclipse.

Feedback and contact

About

Deepcode plugin for IDE "Eclipse"

Resources

Stars

3 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages