Skip to main content

Codiga JetBrains Integration for Smart Code Snippets

Compatibility

The JetBrains plugin is compatible with all JetBrains products: IntelliJ, PHPStorm, CLion, PyCharm, etc.

You can see all compatible product directly on the Jetbrains marketplace.

How to get the JetBrains extension

You can get it directly from the Jetbrains marketplace within any Jetbrains product. Search for Codiga and it will appear.

Jetbrains extension

The extension is available on the Jetbrains Marketplace

Using a code snippet

You can search and use code snippet by triggering the menu (Tools > Codiga Assistant) as show below.

Codiga menu.

A window appear and you can enter keywords to search for a code snippet. Suggestions appear and you can go back and forth between code suggestions.

Using code snippets

Shortcuts in Jetbrains

You can use Code snippets via shortcuts. Since you all must not be familiar with the shortcuts, press CTRL+ALT+S.

It will open up a cheat sheet with a list of shortcuts. Once you are familiar with the shortcuts, you can directly use them on your IDE.

Creating a code snippet

To create a code snippet, select the code you want to share, click right and select "Create Codiga code snippet".

Your browser opens with the code and its language directly initialized.

Creating code snippets

Linking your Codiga account

If you want to use the code snippets, you need to link your Codiga account using an API token.

First, create your token on the platform as shown below.

Generating API token

Then, go into the Jetbrains settings, search for the configuration section Tools > Codiga API and enter your API Token, as shown below.

Associte API token

Reporting an issue

You can get help by joining our Slack Community

You can report an issue on the Jetbrains plugin directly on GitHub.

Resources