github zed-industries/zed v0.105.4

latest releases: nightly, collab-staging, collab-production...
12 months ago

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-s to Toggle Semantic Search Mode.
    • Added alt-cmd-g to Toggle Regex Search Mode.
    • Added alt-cmd-x to Toggle Text Search Mode.
  • Defaulted new project searches to using last used search mode and settings.
  • Improved icon consistency throughout the app.
  • Added a editor::SelectAllMatches command, bound to cmd-shift-l, for selecting all matching occurrences under your selection. Note that this has replaced the previous binding for editor::DuplicateLine (#75).
  • Added an open in terminal action to the context menu on folders in the project panel.
  • Vim
    • Added support for shift-d and shift-x to delete in visual mode.

Bug Fixes

  • Fixed a bug where search: replace next was 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 y in VISUAL LINE mode when last line has no trailing newline (#2044).

Don't miss a new zed release

NewReleases is sending notifications on new releases.