Skip to content

tobiashochguertel/codiga-vscode-plugin

 
 

Repository files navigation

Datadog acquired Codiga. This repository is no longer active.

Slack Twitter Visual Studio Marketplace Rating

Codiga: Static Code Analysis on Steroids 🚀

  • Works for Python, JavaScript and TypeScript (C# and Java coming)
  • Fix security vulnerabilities and coding mistakes from your IDE
  • Let you write your own custom rules (tutorial or documentation)

Check Python Naming

Getting Started 🏃‍♀️

Automatic 🙌

Run the following command at the root of your project.

npx @codiga/cli@latest ruleset-add

It will create a codiga.yml file at the root of your project, which is used to know what rulesets to use. You can refine the rulesets later and rulesets you find on the Codiga Hub.

Manually 🐌

  1. Add your API key (see below)
  2. Visit the Codiga Hub and select the rulesets to use for your project.
  3. Create a codiga.yml at the root of your project with the list of rulesets you want to use. An example of a codiga.yml file for Python is shown below.
rulesets:
  - python-security
  - python-best-practices

API keys

To use Codiga, you need an API Token from Codiga. Log on Codiga using your GitHub, GitLab, Bitbucket or Google 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

About

VS Code plugin that suggests code blocks as you type and check for errors. Works for JavaScript, TypeScript, Python, Java, Scala, Ruby, PHP, Apex, Docker

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.6%
  • Other 0.4%