Giter VIP home page Giter VIP logo

tobiashochguertel / codiga-jetbrains-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codiga/jetbrains-plugin

0.0 0.0 0.0 11.72 MB

Jetbrains plugin for Codiga. Coding Assistant and Code Analysis in all JetBrains products. Codiga supports more than 10+ languages, try it for free on https://www.codiga.io

Home Page: https://www.codiga.io/get-codiga/jetbrains/

License: GNU General Public License v3.0

Python 0.36% Java 98.66% Rust 0.09% Kotlin 0.85% HTML 0.05%

codiga-jetbrains-plugin's Introduction

Datadog acquired Codiga. This repository is no longer active.

JetBrains Plugins Download JetBrains Plugins Ratings JetBrains Plugins

Codiga for Jetbrains

Codiga is a static code analyzer on steroids.

Codiga is compatible with all JetBrains products: IntelliJ, AppCode, PHPStorm, DataDrip, GoLand, RubyMine, PyCharm, CLion (and many more).

Code Analysis

Installation

Codiga is available on the Jetbrains marketplace and you can install it directly within any Jetbrains product (IntelliJ, PHPStorm, PYCharm, etc).

Codiga Jetbrains plugin

Static Code Analysis

The static code analysis works for Python in Beta.

With Codiga, you can:

  • Use Code Analysis rules from the Codiga Hub
  • Create your own Code Analysis rules

Getting Started

Automatically

At the root of your project, invoke the following command

npx @codiga/cli@latest ruleset-add

Note: you must have npx installed (available with npm)

Manually

Visit the Codiga Hub and select the rulesets to use for your project.

Then, create a codiga.yml at the root of your project with the list of rulesets you want to use.

Example of codiga.yml for Python:

rulesets:
  - python-security
  - python-best-practices

Code Snippets

Quick Start

Open a file, make a one-line comment to see all suggestions from the Codiga API.

By default, Codiga searches all public snippet. If you want Codiga to also look for your own snippets, add your API keys (see configuration below).

Using shortcuts in the IDE

Install the extension and type . in your IDE to list all available snippets for your current environment (language, file, libraries).

Accept a snippet using either Enter ↩ or Tab ↹. Go through the snippet variables using the Tab key.

Using Code Snippet Shortcut

Snippet Search

Use the Codiga Snippets panel on the right to find code snippets that match your environment.

Syntax highlighting is available for Python and Java snippets.

Code Snippet Search

Semantic Search

Press CTRL + ALT + C (or choose the menu option "Tools" → "Coding Assistant") to launch a request to Codiga and find snippets based on your keywords.

Code Snippet Semantic Search

List all shortcuts

Press CTRL + ALT + S (or choose the menu option "Tools" → "Shortcuts") to list all keywords for your environment.

List all snippet shortcuts

Creating and sharing snippets

Create Code Snippet

  1. Select the code in your editor
  2. Right click on Create Codiga Snippet

Connecting your Codiga Account

You can connect your Codiga account and benefit from all the Codiga features:

  1. use the code snippets and cookbooks you define and subscribe to
  2. use all your code analysis preferences on Codiga

In order to link your Codiga account, you need to add your API token to your preferences. First, go on our application and generate an API token as shown below.

API Token Creation

Then, enter your API token in the Jetbrains plugin configuration, as shown below.

Project Configuration

Once the token is added, click on "Apply" and then "Test API connection".

Support

You can use the current issue tracker or report the issue on our Slack channel.

Implementation Details

Dependencies

License

This project is under the GPL-3. See the LICENSE file for more information.

Contact

To report a bug, submit an issue directly on the GitHub issue tracker.

codiga-jetbrains-plugin's People

Contributors

actions-user avatar dastrong-codiga avatar dependabot[bot] avatar gioyik avatar gpitois avatar juli1 avatar mesour avatar picimako avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.