Cody for VS Code v1.6.0 release
We're thrilled to announce the release of Cody v1.6.0, our latest update to our VS Code extension. This release includes several keyboard shortcuts, enabling login in VSCodium, reducing autocomplete latency, and fixing issues with chat stealing editor focus and displaying file ranges. Notable new features include warning users to select large @-file
mentions in chat and removing leading slashes from command names.
@-file mention improvements
Size limits
We implemented stricter file filtering, size limits, and user warnings. We filtered the file results to remove non-file items and oversized entries over 1 MB from making it into results. Additionally, we check file token counts against our parsing limits and flag files as large if they contain too many tokens to process.
Finally, we added user warnings - when a user attempts to use a @-file
mention, Cody checks the size and displays a warning below the file name alerting them if it exceeds size restrictions before inclusion.
In the middle
No longer do you need to start with an @-file
mention. You can now mention any file under 1 MB in the middle of your prompt using chat.
New Keyboard Shortcuts
Code edits are now entirely keyboard accessible. Whether you are documenting code, generating tests, or just editing code via instruction, you can now create, accept, retry, or undo the edit without touching your mouse.
Shortcut reference
Command | macOS | Windows/Linux |
---|---|---|
Accept | ⌥ + A | Alt + A |
Edit & Retry | ⌥ + R | Alt + R |
Undo | ⌥ + X | Alt + X |
Updated Command Menu
Previously, many of Cody's commands contained forward slashes like /ask
. These have been removed to create command names with icons that are easier to read at a glance.
Before
After
As you can see, the new command menu has a clean, consistent visual design so you can scan and find commands faster than before.
Continued work on autocomplete performance
This release includes further performance enhancements for autocomplete, building on the work we started in the last release.
Improvements include:
- Earlier start time for context retrieval logic
- Reductions in time spent processing cached completions
- New request throttling logic that we will start testing soon
We will follow up with numbers in the next release post!
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.
As always, we value your feedback in Discord and GitHub. Happy Codying!
To get started with Cody install it from the VS Code Marketplace
Previous release: Cody for VS Code v1.4.0