← All posts
Khalid Khan Thursday, May 26, 2022

Find Smart Code Snippets easily in JetBrains

Share

AUTHOR

Khalid Khan, Developer Relations Engineer

Khalid is the Developer Relations Engineer at Codiga. He is passionate about Software Engineering. Startups and Developer Advocacy. He is also an MLH Coach and Organizer & Member to numerous Hackathons & Developer communities

See all articles

We are constantly updating our product to provide a great user experience. After the VS Code update, it’s time for a similar update for Jetbrains IDEs. We are excited to be introducing the web panel for JetBrains IDE as well. With this update, searching for Smart Code Snippets on Jetbrains will be more interactive and accessible.

The all-new update will be available for all the JetBrains IDEs like pycharm & IntelliJ.

This update also has a web panel to browse and use Smart Code Snippets similar to VS Code.

Let us see what all we have for version 1.6.1

  • All new web panel support for Jetbrains
  • Dynamic search filter for smart code snippets
  • Updated software documentation
  • Minor bug fixes
  • Improved code recommendations

To get the latest update, please install the newest version of the Codiga Coding Assistant. This can be done by visiting the Jetbrains marketplace. Once updated, you can use our latest features.

Download Codiga for JetBrains

How to install Codiga Smart Code Snippets on Jetbrains?

The Codiga plugin works for all JetBrains tools: IntelliJ, PyCharm, CLion, etc. It can be downloaded from the Jetbrains marketplace.

Step 1: Open your Jetbrains product (IntelliJ, PyCharm, PHPStorm) marketplace or open this link.

Jetbrains marketplace

Step 2: Install the Codiga Coding Assistant

Step 3: Update the API Key in Plugin Settings

Jetbrains settings

All new web panel support for Jetbrains

Similar to VS Code update, we have made it much easier for you to add code snippets with our contextual Smart Code Snippets with the latest update in Jetbrains. It will be much easier to use them in your codebase.

The web panel have a dynamic search filter for a better experience in browsing and visiting smart code snippets. You can preview the code snippets before inserting them into your codebase with the new update. This will help you avoid any mistakes in your code.

Jetbrains Demo

Dynamic search filter for Smart Code Snippets

With an increasing number of Smart Code Snippets, it was challenging to search for and differentiate between them from the old search bar. With different privacy modes for Smart Code Snippets, we need something that can help you determine between all kinds of smart code snippets.

With the new update, you can differentiate among different code snippets from this panel using the dynamic search filter.

Dynamic search filter

The search filter has the following options:

  • All Snippets - All global code snippets (Including public & private code snippets)
  • Public Code Snippets - All public code snippets
  • Private Code Snippets - All private code snippets in your account
  • Favourite Code Snippets - All code snippets you have added as a favourite

We have made it easier for you to add code snippets with our contextual Smart Code Snippets with the latest update. If you don’t know what a smart code snippet is, don’t worry; we have covered you.

Smart Code Snippets are the enhanced version of regular code snippets. Codiga’s Coding Assistant tool houses a growing library of Smart Code Snippets added and vetted by thousands of other developers who use our platform. Smart Code Snippets can be populated directly in VS Code and other IDEs using one of the Codiga plugins.

A Smart Code Snippet is an enhanced version of a code snippet with some additional advantages such as:

  • Name: Words/sentence that explains what the snippets do.
  • Language: The programming language of the code snippet.
  • Dependencies: what libraries of framework the snippet depends on (e.g. React, NextJS, etc.).
  • Placeholders: part of the snippet that the user can customise.
  • Description: multiple sentences that explain what the snippet does.
  • Keywords: helps to find the snippets for search engine.
  • Tags: list of tags to organise the snippet.

A quick recap on Smart Code Snippets

If you want to know more about smart code snippets, you can check out this detailed blog, but in a nutshell, Smart Code Snippets serve the purpose of speeding up the basis for any project or task. Code snippets are among the most valuable and essential hacks developers rely on to frame their work. We’ve taken these building blocks of code up a notch by integrating their functionalities within your chosen IDE.

Our network of users adds Smart Code Snippets, and these patterns of code are available for anyone using the Codiga platform. It’s important to note that when adding your code snippets, you can decide if you want to add them to our public library, known as Codiga Hub, or you also have the option to add private Smart Code Snippets that can only be found and used by you and your specified team.

Smart Code Snippets can be searched for on the Codiga Hub; you can filter by name, tags or keywords associated with the code snippet you are looking for. Once you have found a Smart Code Snippet, you can favor it, meaning it will populate within your IDE with just a few short commands, meaning you don’t need to stop what you’re doing to find the perfect code pattern. To speed up your work! Adding your Smart Code Snippets with our Jetbrains plugin can also be done directly in your IDE. Our aim is always to make our products easy to incorporate into your existing routine. Our most recent Jetbrains Codiga plugin update makes using Smart Code Snippets a more seamless experience!

How to open the search web panel?

The all-new web panel can be accessed using the small vertical tab on the right side of your screen.

Codiga Web Panel

Note that all the results are contextual, which means we suggest code snippets based on what file you are on, what language you are coding or the framework/library you are using.

What to expect in the next update?

  • Enhanced Code recommendations.
  • More quality smart code snippets.
  • Popular SDKs & Framework code snippet support.
  • Better user experience.
  • Amazing code experience.

Please feel free to drop all your queries at support@codiga.io or join our discord community if you have any suggestions.

Resources:

Schedule a demo

Looking for a custom quote, a Demo or want to talk about a special project?

Schedule a Demo

Coding Assistant

Get access within your IDE to code patterns created, used and validated by thousands of talented developers.

Get Coding Assistant for free

Automated Code Reviews

Our analysis engine is available anywhere developers read or write code by installing a plugin in your developer environment.

Automated Code Reviews for free