Zed 0.136.2
05/16/2024
- Fixed an issue where the completion menu would sometimes appear detached from the cursor location (preview only).
05/16/2024
05/16/2024
05/15/2024
settings.json
:"tab_bar": {
"show": false
}
pane: alternate file
command, to navigate back and forth between two buffers, and bound it to ctrl-6
in Vim mode.
current_line_highlight
setting that defines how to highlight the current line in the editor (#5222).--foreground
to the CLI to allow running Zed on the current PTY.editor: go to diagnostic
and editor: go to prev diagnostic
.buffer_font_size
(e.g., code action indicators, task run indicators, etc.).settings.json
:"assistant": {
"version": "1",
"provider": {
"name": "anthropic"
}
}
GPT-4o
support to the assistant and made it the default.low_speed_timeout_in_seconds
setting to the Assistant's OpenAI provider (#9913).g;
and g,
to go to the previous/next change.'.
mark.gi
to resume the previous insert.'a-'z
) and some builtin marks '<
,'>
,'[
,']
, '{
, '}
and ^
. Global marks ('A-'Z
), and other builtin marks ('0-'9
, '(
, ')
, ''
, '.
, '"
) are not yet implemented (#5122).tailwindcss-language-server
, namely the includeLanguages
and experimental
objects.go to definition
before by not selecting the target range when the target range has more than one line (#11347).ctrl-space
not being forwarded correctly in the terminal view (#10502).after_delay
would auto-format the buffer (#9787).gopls
(#10185).
n
and gn
so that the highlights can be cleared.e
/E
was blocked by hint text (#7046).picker::UseSelectedQuery
to alt-e
.format_on_save
behavior for Markdown files to be off
.05/08/2024
editor::ToggleHunkDiff
(cmd-'
) and editor::ExpandAllHunkDiffs
(cmd-"
) actions to browse git hunk diffs in Zed.editor: convert to opposite case
command.stop_at_soft_wraps
setting for Editor::move_to_{beginning|end}_of_line
. When true
, it causes movement to the either end of the line (via, for example Home or End), to go to the logical end, as opposed to the nearest soft wrap point in the respective direction (#10888).shift-k
to show the hover tooltip.typescript-language-server
. This will result in parameters being added, which can then be changed and navigated with <tab>
. For this to work with typescript-language-server
, the documentation for a given completion item needs to be resolved, meaning that if one types very quickly and accepts completion before typescript-language-server
could respond with the documentation, no full function completion is used.
\r\n
endings (#11452).Escape
key (#11413).alt-shift-left
and alt-shift-right
in the Textmate default keybindings (#10242).05/01/2024
enable_preview_from_code_navigation
).restore_on_startup
setting.
(#10812).
project_panel::Trash
action and changed the default behavior for backspace
and delete
in the project panel to send a file to the systems trash, instead of permanently deleting it (#7228, #5094). The original behavior can be restored by adding the following section to your keybindings:{
"context": "ProjectPanel",
"bindings": {
"backspace": "project_panel::Delete",
"delete": "project_panel::Delete",
}
}
scrollbar.cursors
setting.
task::Rerun
action to toggle the tasks modal when no tasks have been scheduled so far.
@operator
, @lifetime
and @punctuation.delimiter
captures to Rust highlights file.rulesCustomizations
settings, ie. {"lsp": {"eslint": {"settings": {"rulesCustomizations": [{"rule": "*", "severity": "warn"}]}}}}
.
.vue
files. (#9934).04/29/2024
04/25/2024
cmd-w
with no open tabs to no longer close the window (preview-only).04/24/2024
04/24/2024
editor::ExpandExcerpts
action (bound to shift-enter
by default), which can expand the multi-buffer excerpt the cursor is currently in by 3 lines (#5377). You can customize the number of lines by rebinding this action like so:// In your keybindings array...
{
"context": "Editor && mode == full",
"bindings": {
"shift-enter": ["editor::ExpandExcerpts", { "lines": 5 }],
}
}
zed --stable
will always use your Stable installation's CLI. Trailing args are passed along (#10851).cmd-w
to close the window when there are no open tabs (#5322).
{{"git": {"inline_blame": {"min_column": 80}}}
. (#10555).
{"project_panel": {"button": false}}
.drop_target_size
setting. This should be a fractional percent (e.g., 0.5
).drop_target.background
color.cmd-f
will select the query string when the buffer search editor is focused.type.interface
for individual syntax theming.git blame
entry (either inline or in the blame gutter).
task: spawn
modal.language_servers
setting to language settings for customizing which language server(s) run for a given language.{ "auto_install_extensions": { "html": false } }
to your settings..res
and .resi
files..log
files.solargraph
in the user's $PATH
as it is when cd
ing into a project's directory (#9811).path
and arguments
for solargraph
language server manually. Example from settings: {"lsp": {"solargraph": {"binary": {"path":"/Users/thorstenball/bin/solargraph","arguments": ["stdio"]}}}}
(#9811).rename
action.workspace::NewTerminal
calls (#4567).project panel: collapse all entries
was expanding collapsed worktrees.project_panel::OpenInTerminal
into workspace::OpenInTerminal
action and added it in editors, tab context menus, and proper panel file entries (#4566)Spawn task
action to terminal panel context menu.04/22/2024
04/22/2024
04/17/2024
restore_on_startup
option, accepting last_workspace
(default) and none
options. With none
, new Zed instances will not restore workspaces that were open last.scroll_sensitivity
that allows user to control the scroll sensitivity. This value acts as a multiplier for the horizontal and vertical scroll speed.{"terminal": {"button": false}}
to hide it (#10513).up
and down
arrow keys to be used while the tab switcher is open.project_panel.auto_fold_dirs
setting which collapses the nesting in the project panel when there is a chain of folders containing a single folder.
<img width="288" alt="Screenshot 2024-04-12 at 11 10 58 AM" src="https://github.com/zed-industries/zed/assets/2280405/efd61e75-026c-464d-ba4d-90db5f68bad3">git blame
information the editor. It's enabled by default. It can be turned off in the settings with {"git": { "inline_blame": {"enabled": false } } }
for every buffer. It can be turned on/off temporarily for the current buffer, with editor: toggle git blame inline
(#4793).Task::Rerun
action can now override allow_concurrent_runs
and use_new_terminal
properties of the task that is being reran.clangd
binary path
(must be absolute) and arguments
in user settings. Example: {"lsp": {"clangd": {"binary": {"path": "/usr/bin/clangd", "arguments": ["--log=verbose"] }}}}
g c c
and g c
to Vim keybindings to toggle comments in normal and visual mode respectively.g ]
and g [
to Vim keybindings to go to next and previous diagnostic error.[ x
and ] x
(which select larger/smaller syntax node) in Vim mode to also work in visual mode.\<
\>
instead of \b
(#10539).vim: open default keymap
command to show the default Vim keymap (#8593).Fixed project panel entries misalignment with narrow panel & file icons turned off.
Fixed git blame
data not handling the undoing of deletions correctly. (#10583).
Fixed git blame functionality not handling errors correctly when there are no commits yet or when file isn't committed yet.
Fixed caret movement issue for some special characters.
Fixed "Find In Project" app menu item having no keybinding (#10611).
Fixed some cases where diagnostics tab showed outdated entries before the language server is done with its analysis.
Fixed a bug where multiple extension suggestions for the same extension could be shown at once (#10320).
Fixed a bug where project panel settings changes would not be applied immediately.
Fixed Markdown code blocks in tooltips not having correct language highlighting.
Before:
After:
Fixed Markdown returned by clangd
being rendered the wrong way (#10511).
Before:
After:
Fixed left movement in Vim mode when soft wrapping is enabled (#10350).
Fixed a panic when installing the CLI/registering for the zed://
protocol.
Fixed a panic when rendering certain malformed SVGs.
.elm
).vert
, .frag
).lua
).nix
).nu
).ml
, .mli
).rkt
).scm
).tf
, .tfvars
, .hcl
).vue
)04/16/2024
04/15/2024