Skip to content

Cody for Visual Studio - an AI code assistant that uses advanced search and codebase context to help you write and fix code.

Notifications You must be signed in to change notification settings

sourcegraph/cody-vs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cody for Visual Studio

Install Cody for Visual Studio (Experimental).

AI that uses your codebase as context

Cody is an AI coding assistant that helps you understand, write, and fix code faster. It uses advanced search to pull context from both local and remote codebases so that you can use context about APIs, symbols, and usage patterns from across your entire codebase at any scale, all from within VS Code. Plus, Cody Pro users can choose from the latest large language models—like GPT-4o and Claude 3.5 Sonnet and Claude 3 Opus—to customize Cody to their needs.

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!)

Choose Your LLM

Cody offers a variety of large language models (LLMs) to power your chat experience. Cody Pro users can select the LLM they want to use for chat and experiment to choose the best model for the job. Choose from Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Sonnet, Claude 3 Haiku, GPT-4o, GPT-4 Turbo, GPT-3.5 Turbo, Google Gemini 1.5 Pro, Gemini 1.5 Flash, and Mixtral, while Cody Free users have access to the latest base models from Anthropic, OpenAI, Google, and Mixtral. Local models are also available through Ollama to both Cody Free and Cody Pro users. Simply download the model and run it in Ollama to use it in Cody chat.

Administrators for Sourcegraph Enterprise instances can choose between Claude and GPT models to set for their teams as well.

Usage

This extension works for all Cody plans, including Cody Free, Cody Pro, and Cody Enterprise.

You can find detailed information about Cody's available plans on our website.

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 👍/👎 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/

About

Cody for Visual Studio - an AI code assistant that uses advanced search and codebase context to help you write and fix code.

Resources

Stars

Watchers

Forks

Packages

No packages published