Cody for VS Code v1.24: Inline diffs for code edits, context chips, and Claude 3.5 Sonnet

Cody for VS Code v1.24 is now available. This update introduces a new way of showing code edits, displaying inline diffs after edits are complete. We’ve also updated the chat UI with context chips, added Claude 3.5 Sonnet to the list of LLMs, and more.

Inline diff view and animation for Cody’s inline edits

When you run a command that involves editing code inline, you’ll now see a progressive animation as Cody makes edits. You’ll also see inline diffs directly in your file as soon as the command finishes so you can see exactly what happened and accept or decline the edit.

@-mentions are now chips in the chat UI

We’ve beautified the chat UI with new context chips. The context you @-mention will appear in the chat window with a chip and a symbol indicating the type of context it is (like repo, file, symbol, or webpage context).

Context chips in the chat UI

ICYMI: Claude 3.5 Sonnet is here

Last week, we released Claude 3.5 Sonnet for Cody Pro. Cody supports the best models, and Anthropic’s latest flagship is already showing impressive benchmarks, surpassing Claude 3 Opus in some benchmarks while being far faster. Cody Pro users can now select Claude 3.5 Sonnet for chat and commands (this was shipped in VS Code v1.22.4, but is also available in v1.24.0). JetBrains users will also get access to Claude 3.5 Sonnet in the coming days .

Upgraded Cody chat experiences across every interface and editor

Today, Cody looks a little bit different everywhere it exists: in VS Code, in JetBrains, and on the web. We want to unify this experience, making Cody chat more polished everywhere while speeding up our ability to release Cody for new IDEs.

We’re doing this using Cody’s webview-based VS Code UI, which we plan to port to JetBrains, the web, and two new clients: Visual Studio and Eclipse. Today, we released the first step of this plan with an upgraded Cody web view. Cody's web chat now supports model selection, context chips, and reflects the same UI as the VS Code chat sidebar. Try it out and let us know what you think!

Cody chat on sourcegraph.com

Changelog

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

Thank you

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

We value your feedback in our support forum, Discord, and GitHub. Happy Codying!


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

Get Cody, the AI coding assistant

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