Cody for VS Code v0.16 release

We're excited to announce the release of Cody for VS Code v0.16! This release includes completions, editing, interfaces, chat, commands, and more improvements.

Quicker fixes

One of the most used commands in Cody is "Ask Cody to Fix." To improve the user experience for this command, we optimized it by skipping fetching context files, which rarely helps for this specific flow. This change makes the "Ask Cody to Fix" command faster and more efficient.

More powerful & flexible commands

A new feature has been added to allow flexibility in how chat commands are invoked during a conversation. Previously, chat commands like /explain or custom commands only supported the command name as input. Now, users can provide additional text after the command, which will be interpreted as extra instruction or context for how the command should be carried out.

For example, you could input /explain in French or /test generate 5 test cases, and Cody will parse the command name (/explain or /example) along with the trailing text ("in French" or "generate 5 test cases") and use this to tailor its response accordingly. Providing this extra instructional input allows you to make your intent clearer with the pre-defined prompt and get responses better suited to your specific needs at different time when executing commands.

alt_text

Experimental new chat UI

We’ve been working on a whole new Cody chat experience, which can be enabled via the experimental setting cody.experimental.chatPanel to enable. It’s not ready for production use, but we’d love your feedback. It lets you open chats in an editor tab for more space, has a new panel icon, a dropdown menu to change the AI model, and the ability to pass context files using @.

alt_text

Did someone say GPT-4?

@ your context command

Users can now select which context files are used for each chat question. A new “source” field identifies the purpose of each context file, such as embeddings or searches by keyword or filename. These changes provide users with more visibility into how context files are selected and used to inform chat conversations in Cody.

alt_text

It’s like Twitter/X but for your files.

Users can now toggle on/off, adding codebase context for each question. Only local files and embeddings are available as context at the moment.

New Cody natural language search panel

We found that some use Cody chat for “search” use cases and wind up with disappointing results. To solve this, we now build a local search index of a user’s open project and allow users to input a natural language search term and search for it within their project.

Changelog

See the changelog and GitHub releases for a complete list of changes.

Thank you

Cody is open source, and wouldn’t be what it is without our amazing contributors 💖 A big thank you to everyone who contributed, filed issues, and sent us feedback.


To get started with Cody install it from the VS Code Marketplace


Previous release: Cody for VS Code v0.14

Get Cody, the AI coding assistant

Cody makes it easy to write, fix, and maintain code.