Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Codiga Smart Code SnippetsNew to Visual Studio Code? Get it now.

Codiga Smart Code Snippets

codiga

|
1,968 installs
| (7) | Free
Create and share Smart Code Snippets for 15+ languages
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Slack Twitter Visual Studio Marketplace Download Rating Code Grade Code Quality

Codiga is a Smart Code Snippets manager. Create, share, search and use Smart Code Snippets from your IDE.

Codiga: Code Snippets on Steroids

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 of smart code snippet in Python

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 ↩ or Tab ↹. Go through the snippet variables using the Tab key.

Use of smart code snippet in Python

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 - ⌘⇧S on Mac) and reuse them inline
  • Find snippets using an internal search engine using CTRL + ALT + C (CMD + SHIFT + C - ⌘⇧C on Mac) and search for a snippet
  • Import a snippet by typing its shortcut (e.g. react.component in JavaScript/Typescript or requests. in Python)

Coding Assistant to find snippets

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.

Creation of Smart Code Snippet

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.

Generate API Token on Codiga

Add the token in your VS Code preferences.

Enter your API keys

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.

Learn More

  • Official Documentation
  • List of all supported languages
  • Privacy Policy
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2022 Microsoft