https://github.com/codacy/codacy-vscode-extension
Codacy VisualStudio Code Extension
https://github.com/codacy/codacy-vscode-extension
Last synced: 3 days ago
JSON representation
Codacy VisualStudio Code Extension
- Host: GitHub
- URL: https://github.com/codacy/codacy-vscode-extension
- Owner: codacy
- License: mit
- Created: 2023-08-04T16:55:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-19T13:46:32.000Z (7 days ago)
- Last Synced: 2026-01-19T16:56:22.790Z (7 days ago)
- Language: TypeScript
- Size: 3.62 MB
- Stars: 14
- Watchers: 7
- Forks: 8
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Codacy IDE Extension
[](https://app.codacy.com?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [](https://app.codacy.com?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)
**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.
Browse for issues filtered by category and severity.
- **Inline Coverage:**
Visualize code coverage as you work, with inline decorations.
Visualize code coverage inline in the editor.
- **AI Guardrails:**
Automatically validate and review AI-generated code for security and quality standards.
Get the AI code reviewed immediately after.
- **Local Analysis:**
Run Codacy CLI locally for instant feedback (macOS/Linux/WSL).
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!
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 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
- [Codacy account](https://www.codacy.com/signup-codacy)
- Repository [added to Codacy Cloud](https://docs.codacy.com/organizations/managing-repositories/#adding-a-repository)
- At least [Repository Read permissions](https://docs.codacy.com/organizations/roles-and-permissions-for-organizations/)
### Installation
- Install from within Visual Studio Code (Cmd+Shift+X or Ctrl+Shift+X), or from [the Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=codacy-app.codacy).
- Alternatively, [download the latest version as a VSIX package](https://github.com/codacy/codacy-vscode-extension/releases) and install it manually.
### First Use
- Open your project, connect to Codacy, and start analyzing code.
- For advanced usage, see the [official documentation](https://docs.codacy.com/getting-started/integrating-codacy-with-visual-studio-code/).
## 🛟 Troubleshooting
- Confirm that the repository has been [added to Codacy Cloud](https://docs.codacy.com/organizations/managing-repositories/#adding-a-repository) and that you have at least [Repository Read permissions](https://docs.codacy.com/organizations/roles-and-permissions-for-organizations/).
- **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
- If you're having trouble connecting to Codacy in Linux, make sure the protocol of the IDE you're using is registered.
Steps to register IDE protocol:
Run:
```
nano ~/.local/share/applications/.desktop
```
In the file add the following:
```
[Desktop Entry]
Name=
Exec=/path/to/ide/appImage --open-url %U
Type=Application
Terminal=false
MimeType=x-scheme-handler/;
Icon=utilities-terminal
Categories=Development;
```
Run:
```
update-desktop-database ~/.local/share/applications/
xdg-mime default .desktop x-scheme-handler/
```
## 🤝 Community & Support
- **Need help?** [Open support chat](https://start-chat.com/slack/codacy/kShTS8?utm_source=Company+website&utm_medium=direct)
- **Enjoying the experience?** [Leave a review](https://marketplace.visualstudio.com/items?itemName=codacy-app.codacy&ssr=false#review-details)
- **Want to contribute?** [See our contributing guidelines](https://github.com/codacy/codacy-vscode-extension/blob/main/CONTRIBUTING.md)
## 📚 References
- [Codacy IDE Extension Documentation](https://docs.codacy.com/getting-started/integrating-codacy-with-visual-studio-code/)