Codiga has joined Datadog!

Read the Blog·

Interested in our Static Analysis?

Sign up
← All posts
Julien Delange Tuesday, October 4, 2022

Five Tools to Manage your Code Snippets in 2022



Julien Delange, Founder and CEO

Julien is the CEO of Codiga. Before starting Codiga, Julien was a software engineer at Twitter and Amazon Web Services.

Julien has a PhD in computer science from Universite Pierre et Marie Curie in Paris, France.

See all articles

Every developer has some code snippets they reuse regularly. But few developers have the right tool to manage their snippets and, too often, keep them in a text file. Having the right tools to manage your code snippets makes you more productive. In this article, we give an overview of all tools to manage your code snippets.

Code Snippets Manager for your Desktop

A code snippets manager is a desktop application that lets you view, search and create new code snippets. It is very handy when you are looking for a particular snippet and want to copy/paste it, either for your code or when a friend/colleague asks you a question on Slack or during a pull request.

Our code snippets manager is open source and available for Windows, Mac, and Linux. You can search all snippets available on Codiga or just search for your snippets.

Code Snippets Manager

Get Code Snippets Manager

Search Code Snippets in your IDE (VS Code or JetBrains)

We often want to find code snippets while writing code in our IDE. For example, when developing a front-end application, we often look for specific code snippets to create a particular component with the right CSS class.

Our IDE integrations let you do this. You can search code snippets using a specific IDE function (a toolbar). As with the code snippets manager, you can search all snippets available on Codiga or just search your own code snippets collection.

Code Snippets Search in VS Code

All our IDE integration also have inline completion where you put keywords in a comment, and the IDE suggests code to insert. With this function, no need to move from your editor, you just input your keywords in a comment, and Codiga suggests code snippets for you.

Code Snippets Inline Insertion in your IDE

Create Code Snippets from your Browser

How many times did we look for the same code snippets online and wanted to save the snippet for later? We often look for the same block of code online and waste minutes looking exactly for what we are looking for.

A more productive approach is to save useful code snippets for future reuse. However, there is a lot of friction because we need to select the snippet, import it in our code snippets manager and format it.

The browser integration for Chrome removes all these steps. You can save code snippets by selecting code anywhere online, right-click, and selecting to save it.

Create Code Snippets from your Browser

Code Snippets Beautifier

When sharing code snippets in documentation, you want to make sure your snippets shine and are easily readable. You want to have a background color, enable syntax highlighting and maybe use custom fonts.

For this, codimg and snappify both provide a great service. These services create amazing pictures for your code snippets, which is very useful when adding snippets to technical document.

There are other code snippets beautifier available, you can see them all on the website.

Code Snippets Beautifier

Code Snippets Search Engine

How many times do we search for a particular snippet we would like to add to our code? Thankfully, the Codiga Hub indexes all public code snippets published on Codiga. You can search snippets by topic, tag, language, and library.

Searching code snippets has never been so easy. If a snippet looks interesting to you and you want to copy it, you can simply copy and adapt the snippet for your own use.

Codiga Hub

More Code Snippets Management Tools

There are many other amazing tools to manage your code snippets. We maintain two websites that list all tooling for code snippets:

  • a search engine for code snippets that lists all existing tools to create and manage code snippets.
  • awesome-code-snippets: following the curated list on GitHub, this repository indexes all tools related to code snippets.

Are you interested in Datadog Static Analysis?

Sign up