sourcegraph / cody-vs
Cody for Visual Studio - an AI code assistant that uses advanced search and codebase context to help you write and fix code.
README
IMPORTANT: There are changes to Cody Free, Pro, and Enterprise Starter plans. Learn more
Cody for Visual Studio
Sourcegraph’s AI code assistant goes beyond individual dev productivity, helping you achieve consistency and quality at scale with AI. Sourcegraph accelerates the entire workflow for developers by providing them a more natural and intuitive way to work. Searching code, chatting with AI, invoking prompts, and using agents can now all be performed in one place with the best models available.
Chat
Answer questions about programming topics generally or your codebase specifically with Cody chat. Enable Cody to include Enhanced Context of your open project, or tag specific files and symbols to refine your chat prompt.
For example, you can ask Cody:
- "How is our app's secret storage implemented on Linux?"
- "Where is the CI config for the web integration tests?"
- "Write a new GraphQL resolver for the AuditLog"
- "Why is the UserConnectionResolver giving an "unknown user" error, and how do I fix it?"
- "Add helpful debug log statements"
- "Make this work" (seriously, it often works—try it!)
Auto-edit
Autocompletes single lines, or whole functions, in any programming language, configuration file, or documentation. It’s powered by the latest instant LLM models, for accuracy and performance.
<video src="https://github.com/user-attachments/assets/8cb80ba9-76ab-4ec2-9f85-a41d44218f94" width="700" controls autoplay loop></video>
Prompts
Streamline your development process by using prompts to understand, improve, fix, document, and generate unit tests for your code. You can also create your own prompts and save them in the Prompt Library to tailor Sourcegraph to your workflow.
Works with your favorite IDEs
Sourcegraph is available on the IDEs you use today. Get AI chat, autocomplete, and inline edit without changing your workflow.
The best context
When tools focus solely on individual productivity, teams face inconsistent and poor-quality results. Sourcegraph focuses on team productivity using whole codebase context and shared prompts to ensure quality and consistency across your enterprise.
The best models
Sourcegraph users can select the LLM they want to use for chat and experiment to choose the best model for the job. Choose from multiple options including Claude, Gemini Pro, and OpenAI's GPT. See the full list of model options here.
Engineered for the enterprise
Sourcegraph is built to support the needs of the largest enterprises, with flexible deployment and support for enterprise security and compliance.
Usage
This extension works for the Cody Enterprise plan.
You can find detailed information about Cody's available plans on our website.
Programming Languages
Cody works for any programming language because it uses LLMs trained on broad data. Cody works great with Python, Go, JavaScript, and TypeScript code.
Feedback
We appreciate your feedback as we work to improve Cody for Visual Studio. Please report any issues or suggestions through our official channels:
- Use the <kbd>👍</kbd>/<kbd>👎</kbd> buttons in the chat view to give feedback.
- File an issue when you see problems.
- Sourcegraph Forum is a great place to share ideas and feedback.
- Discord is a great place to chat with the team and other users.
Contributing
See CONTRIBUTING.md for more information on how to contribute to this project and how to set up your development environment.
https://community.sourcegraph.com/
