v0.105.4
Additions
- Introduced semantic search: search your repository via natural language.
semantic_search.mp4
To enable semantic search, ensure that your OPEN AI API key is available in the OPENAI_API_KEY environment variables add the following snippet to your settings.json file:
"semantic_index": {
"enabled": true
}To use semantic search, initiate a project search and activate the Semantic mode.
- Added key bindings to activate search modes in project search:
- Added
alt-cmd-sto Toggle Semantic Search Mode. - Added
alt-cmd-gto Toggle Regex Search Mode. - Added
alt-cmd-xto Toggle Text Search Mode.
- Added
- Defaulted new project searches to using last used search mode and settings.
- Improved icon consistency throughout the app.
- Added a
editor::SelectAllMatchescommand, bound tocmd-shift-l, for selecting all matching occurrences under your selection. Note that this has replaced the previous binding foreditor::DuplicateLine(#75). - Added an
open in terminalaction to the context menu on folders in the project panel. - Vim
- Added support for
shift-dandshift-xto delete in visual mode.
- Added support for
Bug Fixes
- Fixed a bug where
search: replace nextwas not advancing the match index. - Fixed a bug where drag and drop didn't work correctly.
- Fixed a bug where the code action popup menu would not scroll when the selection moved.
- Fixed a bug where clicking a code action only ever performed the first action in the list rather than the one clicked on.
- Fixed a bug when copilot re-login could cause panics.
- Fixed handling of bracket completion for international keyboard layouts that use IME. This led to Zed erroneously inserting the
}character while removing the first character that triggered IME. - Vim
- Fixed a panic when over-shooting with
j. - Fixed
yin VISUAL LINE mode when last line has no trailing newline (#2044).
- Fixed a panic when over-shooting with