Codiga is a Smart Code Snippets manager. Create, share, search and use Smart Code Snippets from your IDE.
Codiga: Static Code Analysis & Code Snippets on Steroids
- Static Code Analysis: select the rules from the Codiga Hub and get real-time analysis in your IDE
- Code Snippets: use snippets from the Codiga Hub or create/share private code snippets with your team.
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
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.
Configuration example
Example of codiga.yml for Python:
rulesets:
- python-security
- python-best-practicesCode Snippets
Look for snippets using a shortcut or search using inline completions like GitHub Copilot.
Adapt the list of snippets by adding your own.
Quick Start
Start a comment and type what you want to have. Like GitHub Copilot, it suggests a list of snippets you can insert in your code.
Use Snippets using Shortcuts
Install the extension and type . or / in your IDE to list all available smart code snippets for your project. Accept a smart code snippet using either Enter
Note: snippets are suggested based on your environment: language, libraries used, and filename (e.g. especially for YML files).
Find and Reuse Smart Code Snippets
- Get all snippets with a shortcut by using
CTRL+ALT+S(CMD+SHIFT+S-⌘⇧Son Mac) and reuse them inline - Find snippets using an internal search engine using
CTRL+ALT+C(CMD+SHIFT+C-⌘⇧Con Mac) and search for a snippet - Import a snippet by typing its shortcut (e.g.
react.componentin JavaScript/Typescript orrequests.in Python)
Create Smart Code Snippets
Create a smart code snippet by selecting the code and click on Create Codiga Snippet. The keywords put in your snippet are used to index the snippet and find it using smart search.
Supported Languages
C, C++, CSS, HTML, Java, Javascript, Typescript, Python, Dart, Ruby, PHP, Scala, Apex, Terraform, Docker, Go, Rust, Shell, Solidity, YAML.
Getting API keys from Codiga
You need an API Token from Codiga. Log on Codiga using your GitHub, GitLab or Bitbucket account.
Then, in your preferences, generate a new API key as shown below.
Add the token in your VS Code preferences.
Sending feedback
You can either fill a bug report directly. If you do not want to open a ticket, you can also directly contact us.







