Skip to content

codacy/codacy-vscode-extension

Repository files navigation

Codacy IDE Extension

Codacy Badge Codacy Badge

Codacy Logo

Code quality, security, and AI Guardrails—all in your editor, all in real-time.

Transform your IDE into a powerful code quality hub. Get instant feedback on code quality, security, and test coverage as you work. Control AI-generated code with Codacy Guardrails and catch issues early with local analysis—before you even create a pull request. From real-time coverage visualization to automated PR analysis, everything you need for better code is now at your fingertips.

🚀 Features

  • Automated PR Analysis:
    Instantly see code quality and security issues introduced by your pull requests, right inside your IDE.

  • Issue Browser:
    Browse, triage, and fix issues found by Codacy directly in your IDE, with quick fixes and detailed context available for each issue.

    Issue Browser
    Browse for issues filtered by category and severity.

  • Inline Coverage:
    Visualize code coverage as you work, with inline decorations.

    Coverage Decoration
    Visualize code coverage inline in the editor.

  • AI Guardrails:
    Automatically validate and review AI-generated code for security and quality standards.

    AI Guardrails
    Get the AI code reviewed immediately after.

  • Local Analysis:
    Run Codacy CLI locally for instant feedback (macOS/Linux/WSL).

    Local Analysis
    Browse and fix issues directly in the Problems panel.

  • One-click Actions:
    Connect to Codacy, join organizations, and add repositories with a single click.

🧭 Getting Started with Codacy

We've designed the extension to guide you smoothly through every step of your journey. Here's what you might see and how we'll help you get started:

🔑 Connecting to Codacy

Need to log in? When you see "You are not connected to Codacy", just click 'Connect to Codacy' to unlock all features. It only takes a minute!

🏢 Setting Up & Joining Your Organization

Whether you're new to Codacy or joining an existing team, we've got you covered! Here's what you might see:

  • Need to join? If you see "You are not part of this organization in Codacy", click 'Join organization' to request access to your team.

  • New organization? If you see "This organization is not part of Codacy", click 'Add organization' to set up code quality analysis for your entire team.

  • Waiting for approval? After requesting to join, you might see "Your request to join the organization is pending admin approval". Hang tight while your team admin reviews your request!

Add Organization Prompt
Set up your organization and establish team-wide coding standards.

📚 Adding Your Project

Ready to analyze your code? When you see "This repository is not yet added to Codacy", simply click 'Add repository' and we'll start helping you write better code.

Add Repository Prompt
Add your repository to Codacy to start analyzing your code.

Once your repository is added, we'll keep you informed about your code analysis.

Don't worry - each step comes with clear guidance and actions to help you move forward. We're here to make your coding experience better!

🏁 Getting Started

Prerequisites

Installation

First Use

  • Open your project, connect to Codacy, and start analyzing code.
  • For advanced usage, see the official documentation.

🛟 Troubleshooting

  • Confirm that the repository has been added to Codacy Cloud and that you have at least Repository Read permissions.
  • Having issues? Check the Output panel in your IDE (View > Output > Codacy) for:
    • Detailed error messages and troubleshooting steps
    • Connection and authentication status
    • Analysis progress and results
    • Organization and repository setup information

🤝 Community & Support

📚 References

About

Codacy VisualStudio Code Extension

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 12