Stable releases
Zed Changelog
September
Zed 0.105.5
09/27/2023
- Removed the potential for a panic when using semantic search.
Zed 0.105.4
09/27/2023
Additions
- Introduced semantic search: search your repository via natural language.
https://github.com/zed-industries/zed/assets/19867440/6fc90b7b-63d6-4098-9a42-fe9a0630f8f0
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.
- Added
- Defaulted new project searches to using last used search mode and settings.
- Improved icon consistency throughout the app.
- Added a
editor::SelectAllMatches
command, 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 terminal
action to the context menu on folders in the project panel. - Vim
- Added support for
shift-d
andshift-x
to delete in visual mode.
- Added support for
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).
- Fixed a panic when over-shooting with
Zed 0.104.4
09/20/2023
Additions
- Added "replace" functionality to buffer search.
- Added syntax highlighting for Nushell script files (#331).
- Improved auto-indentation when using the inline assistant.
- Improved command palette's command ordering. Commands are now sorted lexicographically and by command's use count in the current session.
- Vim
Bug Fixes
- Fixed Tailwind autocompletes not appearing in template literals.
- Fixed Python language server not launching without a network connection.
- Fixed a case where language server download statuses could be skipped.
- Fixed a case where language server diagnostic progress could get stuck when restarting a language server.
- Fixed a bug that was preventing certain keystrokes from being shown in tooltips.
- Fixed a bug that was preventing errors from being shown in the inline assistant when it was still deployed.
- Fixed a bug with multi-key shortcuts with modifiers.
- Fixed inlay hint highlights causing panic for certain cases with multi-byte characters.
- Fixed a panic that happened sometimes when collaborating
- Fixed some issues with international keybindings. Zed now consults the IME functionality when handling keyboard shortcuts. This allows you to bind to characters (like
"
on a Brazilian keybaord, or$
on a Czech keyboard) that aren't typed with an unmodified key ((#1981), (#1913)). - Vim
Zed 0.103.1
09/13/2023
Additions
- Added basic Tailwind CSS autocomplete support (#746).
- Added a CSS language server for autocomplete and linting.
- Vim:
- Added
S
to substitute line (#1897).
- Added
Bug Fixes
- Fixed a bug where modals could not be dismissed with
escape
when certain views were active in the workspace. - Fixed a bug in the inline assistant's prompt history where the same entry was included multiple times.
- Fixed an issue where search filters were partially cut off in the UI.
- Fixed an issue with finding end of word on soft-wrapped lines.
- Vim:
- Fixed a bug where scrolling vertically would sometimes enter visual mode.
Zed 0.102.2
09/07/2023
- Fixed some inconsistencies in the layout of toolbars.
- Fixed an issue where search filters were partially cut off in the UI.
Zed 0.102.1
09/06/2023
Additions
- Added a new "Inline Assist" feature that lets you transform a selection or generate new code at the cursor location by hitting
ctrl-enter
. - Added support for dynamic inlay hints.
- Added a
"ctrl-shift-:": "editor::ToggleInlayHints"
default binding. - Added a
relative_line_numbers
setting (#988). - Added a
detect_venv
setting for the terminal. When configured, the Zed terminal will automatically activate Python virtual environments on terminal creation. - Improved project search by making it report results sooner.
- Improved general LSP server load by delaying certain inlay hint requests.
- Vim additions:
- Added
g {j,k,up,down,$,^,0,home,end}
to navigate in display coordinates. - Added
z o
andz c
to open and close folds. - Added
z f
in visual mode to fold selection.
- Added
Bug Fixes
- Fixed a bug in project search where some results might not have been reported in presence of unnamed buffers.
- Fixed a bug where
[
and]
symbols would cause issues in terminal links (#1865). - Fixed a bug where the caret would blink when Zed application was not focused (#1116).
- Fixed a bug where collaborators' cursors were rendered with the wrong color when not following them.
- Fixed several styling bugs related to dragging the mouse cursor.
- Disabled save as prompt for channel notes.
- Vim bug fixes:
- Fixed handling of motions when
soft_wrap
is enabled in zed. Like in vim,j,k,up,down,$,^,0,home,end
will all now navigate in file coordinates, not display coordinates. Note, this may be a jarring change if you're grown used to the current behaviour ofj
andk
. You can make the issue less acute by setting"soft_wrap":"none"
in your settings; or you can manually copy the bindings forg j
to the binding forj
(etc.) in your keymap.json to preserve the existing behaviour. - Fixed
y
when on the last line of a file with no trailing newline. - Fixed a bug where scrolling vertically would sometimes enter visual mode.
- Fixed handling of motions when
August
Zed 0.101.1
08/30/2023
Additions
- Revamped project & buffer search UI.
- Added a
search: cycle mode
command in search. - Added a
editor: toggle inlay hints
command and a bar to toggle editor-related items. - Added a
default_open_ai_model
setting for the assistant (defaults togpt-4-0613
). - Added default key bindings for
NewFile
andNewDirectory
in the project panel (bound tocmd-n
andalt-cmd-n
, respectively). - Added file icons for Python and Elixir.
- Added support for
$
and#
in identifiers in Javascript/Typescript. - Improved completions for PHP (#1820).
- Improved multi-selection copy behavior by separating selections with a
\n
. - Improved language server responsiveness in large files, by reducing the number of code-actions and document-highlights requests sent to language servers.
- Vim additions:
Bug Fixes
- Fixed a bug where auto-closing quotation marks were inserted incorrectly in Rust (#684).
- Fixed a bug where small syntax errors would mess up syntax highlighting more than necessary when editing certain languages, like Scheme and PHP.
- Fixed a bug where editors didn't auto-scroll when typing if all cursors could not fit within the viewport.
- Vim bug fixes:
- Fixed scroll offset on
ctrl-{e,y,u,b}
(#1929). - Fixed escape to dismiss suggestions in insert mode.
- Fixed scroll shortcuts (
ctrl-{f,b,d,u,e,y}
) in visual modes. - Fixed autocompletion of private fields and methods in Javascript/Typescript.
- Fixed position when using
p
on text copied outside zed (#469). - Fixed indentation when using
p
on text copied from zed (#1015).
- Fixed scroll offset on
Zed 0.100.1
08/23/2023
Additions
- Moved the collaboration dropdown into its own panel.
- Improved LSP resource usage by querying fewer hints in big files.
- Reduced collaboration mode clients' inlay hint footprint by enabling hint data resolution.
- Added support for
editor::SelectAll
in Terminal. - Added settings to remove the AI assistant panel button (#1711).
- Added the ability to reset the dock size by double clicking (https://github.com/zed-industries/community/issues/1816)
- Associated additional file extensions with known languages ((#633), (#1822)).
- C++:
cxx
,hxx
,inl
- JavaScript:
cjs
- Python:
mpy
- TypeScript:
cts
,d.cts
,d.mts
,mts
- C++:
- Vim additions:
- Added
o
andshift-o
to toggle direction of visual selection.
- Added
Bug Fixes
- Fixed a bug where where
coreaudiod
was consuming CPU, even before calls were initiated ((#1840), (#1919)). - Fixed a bug where call notifications were accidentally full-screen on all displays except the main display.
- Fixed a bug where dragging the docks would not follow mouse's exact position.
- Fixed terminal search focus not switching to terminal on mouse click inside.
- Vim bug fixes:
Zed 0.99.1
08/16/2023
Additions
- Added commands to transform text ((#1821), (#1011)).
convert to kebab case
convert to snake case
convert to upper camel case
convert to lower camel case
convert to title case
convert to lower case
convert to upper case
- Added support for
cmd-/
to add line comments to shell files. - Added syntax highlighting support for
Cargo.lock
and.zprofile
files.
Bug Fixes
- Fixed a bug where language detection could fail when a file's name began with a
.
. - Fixed a bug where file icons would not be registered when a file's name contained
.
(#1877). - Fixed a bug where syntax highlighting wasn't being applied to shell files if a shebang wasn't present.
- Fixed a rendering glitch that could occur after control-clicking certain elements.
- Fixed an inconsistency in the status bar update button font size.