Zed 0.146.5
08/02/2024
- Fixed a bug where the default binding (
cmd-alt-g b
) foreditor::ToggleGitBlame
wasn't working (#15676).
08/02/2024
cmd-alt-g b
) for editor::ToggleGitBlame
wasn't working (#15676).08/01/2024
07/31/2024
Zed now features a built-in REPL!
You can run code:
# %%
)View the blog post for more details.
{"restore_on_startup": "last_workspace"}
(Part of #4985 and #4683).{"session": {"restore_unsaved_buffers": false}}
(#4985, #4683).[
{
"context": "Editor && mode == full",
"bindings": {
"ctrl-shift-enter": [
"assistant::InlineAssist",
{ "prompt": "Build a snake game" }
]
}
}
]
esc
(#12404).shell
and hide
fields to use custom shells and allow for custom close behavior.format
and format_on_save
now accept an array of formatting actions to run; language_server
formatter option now accepts the name of a language server to use (e.g. {"language_server": {"name": "ruff"}}
); when not specified, a primary language server is used (#4822).ctrl-shift-up
on Linux and cmd-ctrl-up
on MacOS) (#15089; thanks unixtensor).Copy
, Paste
, Select All
, & New Terminal
to the terminal context menu (thanks versecafe)."command_aliases"
setting to let you abbreviate commands.zed: extensions
and then in the search bar of the extensions view type in Ruff. Once installed, you can configure ruff
to add additional lints and provide formatting via the following setting snippet:"languages": {
"Python": {
"format_on_save": { "language_server": { "name": "ruff" } },
"formatter": { "language_server": { "name": "ruff" } },
"language_servers": ["pyright", "ruff"]
}
}
tsconfig.json
files are now treated as JSONC
.using
keyword in TypeScript (#14762; thanks versecafe).infer
keyword (#14696; thanks rimuy).Y
to yank to end of line (like neovim) (#14771, thanks vbhavsar).jk
binding preventing you from repeating j
(#14725).escape
in normal mode to also clear the selected register (#14311).gv
after y
, d
, etc. (#13760).assistant: quote selection
not working correctly when making visual-line-mode selections in Vim mode.source.organizeImports
code action was used on save. Zed now filters out code actions sent to the language servers by checking whether they are supported first (#13633).ctrl-/
on some systems.07/24/2024
Remote Development (alpha) for everyone 🖥️🌐
Edit files or run commands on your server over SSH, whether working solo or using Zed's collaboration tools to tackle tasks together.
Learn more about remove dev and its current limitations here: https://zed.dev/docs/remote-development
/symbols
slash command in the assistant panel, which automatically inserted the active file's symbols into the assistant."show_signature_help_after_completion": false
to settings.json
."tabs": { "file_icons": true }
.keymap.json
file (#14248).zed.dev/channel
(zed://
) URIs to open on Linux (#14104; thanks korewaChino).use_system_path_prompts
(default true) that can be disabled to use Zed's builtin keyboard-driven prompts (#14524).TERM_PROGRAM
and TERM_PROGRAM_VERSION
environment variables in the integrated terminal (#4571; thanks ldm0).yarn dlx @yarnpkg/sdks base
in the root of your project in order to elevate your experience (#10107).-
/+
to go to beginning of line above/below (#14183; thanks ika-musuko).ctrl-m
now is equivalent to enter
in editor.c <motion>
omitting trailing multibyte characters (#13909).-
to open the project panel. You can re-add it to your keymap file with: {"context":"VimControl", "bindings":{ "-": "pane::RevealInProjectPanel"}}
(thanks ika-musuko).VimWaiting
or VimOperator
being true in your map. See the docs for more.zed: open licenses
) crashing on Linux ARM machines. (#14302).ctrl-l
; Added ctrl-m
for JetBrain on Linux for the same (#5247).Cmd-\
did not toggle left dock when using Atom base keymap on macOS (#14098, thanks audionerd).ui_font_size
values.direnv
environments by directly interfacing with it using direnv export
(#8633; thanks WeetHet).terminal.option_as_meta
is enabled (#7728; thanks denisw).preferred_line_length
by default. (#12473).go test
command to work again in bash
, zsh
, etc. (#14818).07/19/2024
go test
command to work again in bash
, zsh
, etc. (#14818).07/17/2024
snippets.json
file next to the extension manifest.prettier
detection to pick up its installation from transitive dependencies (#12731).textDocument/didSave
request (#14286).classAttributes
in the configuration for tailwindcss-language-server
. Example:{
"lsp": {
"tailwindcss-language-server": {
"settings": {
"classAttributes": [ "class", "className", "ngClass", "styles" ]
}
}
}
}
config_dir
(#7155).terminal.font_weight
user setting (thanks hron).unzip
to extract .zip
files downloaded by extensions.flake.lock
files are now automatically identified as JSON.editor::JoinLines
to ctrl-shift-j
(#14136).07/12/2024
07/10/2024
Linux when? Linux now. 🎉🐧
For the last 6 months, our team and our open source community have been working hard to bring Zed to Linux.
As of today, we've released our first, official, stable build of Zed on Linux!
assistant: insert into editor
Action. Default keybinding: cmd-<
on macOS, ctrl-<
on Linux (#13467).editor::MovePageDown
). Previous scroll only behavior (editor::PageDown
) is now available via cmd-pagedown
on MacOS and alt-pagedown
on Linux (#13389)shift shift
as a default binding to open the command palette in the JetBrains keymap (#13556).q
and @
) to record and replay (#1506, #4448).:
in empty diagnostics view (#13624)g/
outside of an editor (#13624).editor
crate (#13565, thanks @Peiffap).editor::RevealInFinder
to editor::RevealInFileManager
.07/04/2024