Peter Tripp
c6ef35ba37
Disable edit predictions in Zed settings by default ( #34401 )
...
In Zed settings, json schema based LSP autocomplete is very good, edit
predictions are not.
Disable the latter by default.
Release Notes:
- N/A
2025-08-08 21:05:28 +00:00
Peter Tripp
b77a15d53a
ci: Use faster Linux ARM runners ( #35880 )
...
Switch our Linux aarch_64 release builds from Linux on Graviton (32
vCPU, 64GB) to Linux running on Apple M4 Pro (8vCPU, 32GB). Builds are
faster (20mins vs 30mins) for the same cost (960 unit minutes;
~$0.96/ea).
<img width="763" height="285" alt="Screenshot 2025-08-08 at 13 14 41"
src="https://github.com/user-attachments/assets/12c45c8b-59f3-40d8-974c-1003b5080287 "
/>
Release Notes:
- N/A
2025-08-08 15:20:10 -04:00
Peter Tripp
952e3713d7
ci: Switch to Namespace ( #35835 )
...
Follow-up to:
- https://github.com/zed-industries/zed/pull/35826
Release Notes:
- N/A
2025-08-07 23:16:25 +00:00
Peter Tripp
7679db99ac
ci: Switch from BuildJet to GitHub runners ( #35826 )
...
In response to an ongoing BuildJet outage, consider migrating CI to
GitHub hosted runners.
Also includes revert of (causing flaky tests):
- https://github.com/zed-industries/zed/pull/35741
Downsides:
- Cost (2x)
- Force migration to Ubuntu 22.04 from 20.04 will bump our glibc minimum
from 2.31 to 2.35. Which would break RHEL 9.x (glibc 2.34), Ubuntu 20.04
(EOL) and derivatives.
Release Notes:
- N/A
2025-08-07 16:59:11 -04:00
Peter Tripp
a5dd8d0052
Recognize pixi.lock as YAML ( #35747 )
...
Release Notes:
- N/A
2025-08-06 15:56:11 -04:00
Peter Tripp
f9038f6189
Add key contexts for Pickers ( #35665 )
...
Closes: https://github.com/zed-industries/zed/issues/35430
Added:
- Workspace > CommandPalette
- Workspace > GitBranchSelector
- Workspace > GitRepositorySelector
- Workspace > RecentProjects
- Workspace > LanguageSelector
- Workspace > IconThemeSelector
- Workspace > ThemeSelector
Release Notes:
- Added new keymap contexts for various Pickers - CommandPalette,
GitBranchSelector, GitRepositorySelector, RecentProjects,
LanguageSelector, IconThemeSelector, ThemeSelector
2025-08-06 15:28:18 -04:00
Peter Tripp
3c602fecbf
docs: Cleanup tool use documentation ( #35725 )
...
Remove redundant documentation about tool use.
Release Notes:
- N/A
2025-08-06 09:59:13 -04:00
Peter Tripp
307d709adb
ci: Double Buildjet ARM runner size (24GB to 48GB ram) ( #35654 )
...
Release Notes:
- N/A
2025-08-05 14:09:21 -04:00
Peter Tripp
064c5daa99
docs: Fix incorrect reference to JSX language ( #35639 )
...
Closes: https://github.com/zed-industries/zed/issues/35633
Release Notes:
- N/A
2025-08-05 14:35:54 +00:00
Peter Tripp
5b40b3618f
Add workspace::ToggleEditPrediction for toggling inline completions globally ( #35418 )
...
Closes: https://github.com/zed-industries/zed/issues/23704
Existing action is `editor::ToggleEditPrediction` ("This Buffer").
This action is `workspace::ToggleEditPredction` ("All Files").
You can add a custom keybind wi shortcut with:
```json
{ "context": "Workspace", "bindings": { "ctrl-alt-cmd-e": "workspace::ToggleEditPrediction" } },
```
<img width="212" height="439" alt="Screenshot 2025-07-31 at 12 52 19"
src="https://github.com/user-attachments/assets/15879daa-7d4d-4308-ab2b-5e78507f2fa5 "
/>
Release Notes:
- Added `workspace::ToggleEditPrediction` action for toggling
`show_edit_predictions` in settings (Edit Predictions menu -> All
Files).
2025-08-05 09:35:52 -04:00
Peter Tripp
3df5394a8c
linux: Make desktop file executable ( #35597 )
...
Closes https://github.com/zed-industries/zed/issues/35545
Release Notes:
- linux: Improved support for `zed://` urls on Linux
2025-08-04 15:35:19 -04:00
Peter Tripp
bb5af6f76d
Fix escape in terminal with JetBrains keymap ( #35585 )
...
Closes https://github.com/zed-industries/zed/issues/35429
Closes https://github.com/zed-industries/zed/issues/35091
Follow-up to: https://github.com/zed-industries/zed/pull/35230
Release Notes:
- Fix `escape` in Terminal broken in JetBrains compatability keymaps
2025-08-04 15:37:34 +00:00
Peter Tripp
76a8293cc6
editor_tests: Fix for potential race loading editor languages ( #35453 )
...
Fix for potential race when loading HTML and JS languages (JS is
slower). Wait for both to load before continue tests.
Observed failure on linux:
[job](https://github.com/zed-industries/zed/actions/runs/16662438526/job/47162345259 )
as part of https://github.com/zed-industries/zed/pull/35436
```
thread 'editor_tests::test_autoclose_with_embedded_language' panicked at crates/editor/src/editor_tests.rs:8724:8:
assertion failed: `(left == right)`: unexpected buffer text
Diff < left / right > :
<body><>
<script>
< var x = 1;<>
> var x = 1;<
</script>
</body><>
```
Inserted `<` incorrect gets paired bracket inserted `>`.
I believe because the JS language injection hasn't fully loaded.
Release Notes:
- N/A
2025-08-01 03:05:03 +00:00
Peter Tripp
4a82b6c5ee
jetbrains: Unmap cmd-k in Jetbrains keymap ( #35443 )
...
This only works after a delay in most situations because of the all
chorded `cmd-k` mappings in the so disable them for now.
Reported by @jer-k:
https://x.com/J_Kreutzbender/status/1951033355434336606
Release Notes:
- Undo mapping of `cmd-k` for Git Panel in default Jetbrains keymap
(thanks [@jer-k](https://github.com/jer-k ))
2025-07-31 18:29:51 -04:00
Peter Tripp
0aea5acc68
Fix Windows CI logic ( #35335 )
...
Fixes unintentional change in
https://github.com/zed-industries/zed/pull/35204
Release Notes:
- N/A
2025-07-30 11:01:20 -04:00
Peter Tripp
3fc84f8a62
Comment on source of ctrl-m in keymaps ( #35273 )
...
Closes https://github.com/zed-industries/zed/issues/23896
Release Notes:
- N/A
2025-07-29 15:29:12 +00:00
Peter Tripp
8207621a4a
Improve JetBrains keymap for dock toggling ( #35234 )
...
Follow-up to:
- https://github.com/zed-industries/zed/pull/34641
- https://github.com/zed-industries/zed/pull/35230
This improves Zed's behavior with the Jetbrains keymap for toggling
specific docks/sidebars with cmd-0 thru cmd-9 (macos) and alt-0 thru
alt-9 (linux). Added in
https://github.com/zed-industries/zed/pull/34641 . Additionally, this
also maps `ctrl-b` / `ctrl-alt-`b to their JetBrains equivalents
(`editor::GoToDefinition` and `editor::GoToDefinitionSplit`) instead of
the default vscode-compatable behavior (toggle left / right dock). This
is because we those specific toggles and a default Hide keyboard
shortcut (`shift-escape`) added in
https://github.com/zed-industries/zed/pull/35230 .
Thanks to @thomaseizinger for raising this in:
-
https://github.com/zed-industries/zed/discussions/34643#discussioncomment-13856746
Release Notes:
- Improve support keyboard-based dock show/hide in Jetbrains keymap.
2025-07-28 21:00:01 +00:00
Peter Tripp
994d400ab8
Map shift-escape in the Jetbrains keymaps ( #35230 )
...
Release Notes:
- Added support for closing docks (sidebars) with `shift-escape` in the
Jetbrains keymaps.
2025-07-28 19:59:01 +00:00
Peter Tripp
055a9f21a0
Fix keybinds and 'No default binding' shown in docs ( #35227 )
...
Previously:
<img width="724" height="234" alt="Screenshot 2025-07-28 at 14 49 50"
src="https://github.com/user-attachments/assets/b5203316-221d-4af5-8190-124f9b2b4cdf "
/>
Release Notes:
- N/A
2025-07-28 14:58:43 -04:00
Peter Tripp
707df51664
Fix environment loading with tcsh ( #35054 )
...
Closes https://github.com/zed-industries/zed/issues/34973
Fixes an issue where environment variables were not loaded when the
user's shell was tcsh and instead a file named `0` was dumped in the
current working directory with a copy of your environment variables as
json.
Follow-up to:
- https://github.com/zed-industries/zed/pull/35002
- https://github.com/zed-industries/zed/pull/33599
Release Notes:
- Fixed a regression with loading environment variables in nushell
2025-07-24 15:39:13 -04:00
Peter Tripp
1f7ff956bc
Fix environment loading with nushell ( #35002 )
...
Closes https://github.com/zed-industries/zed/issues/34739
I believe this is a regression introduced here:
- https://github.com/zed-industries/zed/pull/33599
Release Notes:
- Fixed a regression with loading environment variables in nushell
2025-07-24 14:29:28 -04:00
Peter Tripp
fab450e39d
Fix invalid regular expressions highlighting all search fields ( #35001 )
...
Closes https://github.com/zed-industries/zed/issues/34969
Closes https://github.com/zed-industries/zed/issues/34970
Only highlight the search field on regex error (buffer search and
project search).
Clear errors when the buffer search hidden so stale errors aren't shown
on next search.
Before (all fields highlighted red):
<img width="631" height="180" alt="Screenshot 2025-07-23 at 22 59 45"
src="https://github.com/user-attachments/assets/a91d3090-1bae-4718-a1f5-0a1237559ff2 "
/>
After (only query field highlighted red):
<img width="632" height="187" alt="Screenshot 2025-07-23 at 23 10 49"
src="https://github.com/user-attachments/assets/6ae72c84-9333-4cdb-907b-afb7a0a6e808 "
/>
Release Notes:
- Improved highlighting of regex errors in search dialogs
2025-07-24 09:20:25 -04:00
Peter Tripp
b93e1c736b
mistral: Add support for magistral-small and magistral-medium ( #34983 )
...
Release Notes:
- mistral: Added support for magistral-small and magistral-medium
2025-07-23 23:13:49 -04:00
Peter Tripp
edceb7284f
Redact secrets from environment in LSP Server Info ( #34971 )
...
In "Server Info" view of LSP logs:
- Redacts sensitive values from environment
- Sorts environment by name
| Before | After |
| - | - |
| <img width="797" height="327" alt="Screenshot 2025-07-23 at 14 10 14"
src="https://github.com/user-attachments/assets/75781f30-9099-4994-9824-94d9c46f63e1 "
/> | <img width="972" height="571" alt="image"
src="https://github.com/user-attachments/assets/c5bef744-a1b7-415f-9eb7-8314275c59b9 "
/> |
Release Notes:
- Improved display of environment variables in LSP Logs: Server Info
view
2025-07-23 16:55:13 -04:00
Peter Tripp
326ab5fa3f
Improve collab channel organization keybinds ( #34821 )
...
Change channel reorganization (move up/down) from `cmd-up/down` (mac) /
`ctrl-up/down` (linux) to `alt-up/down` (both) to match moving lines in
the editor.
Also fix an issue where if you selected channels using down/up in the
filter field, the movement shortcuts would not work (`editing` vs
`not_editing`).
Release Notes:
- N/A
2025-07-23 10:04:53 -04:00
Peter Tripp
99466f4aeb
Make zooming from menus not persist ( #34910 )
...
Closes: https://github.com/zed-industries/zed/issues/34479
Follow-up to: https://github.com/zed-industries/zed/issues/23505
View->Zoom In / Zoom Out / Reset Zoom were not reverted to match when
the default keybindings were reverted.
Release Notes:
- N/A
2025-07-22 13:57:36 -04:00
Peter Tripp
2eeab5b0bf
textmate: Correct context for 'Editor && mode == full' keybinds ( #34895 )
...
Closes https://github.com/zed-industries/zed/issues/34891
Release Notes:
- Fixed textmate keymap misbehaving in certain contexts
2025-07-22 14:52:04 +00:00
Peter Tripp
8eca7f32e2
Fix for vim bindings in Pickers on Linux ( #34840 )
...
Closes: https://github.com/zed-industries/zed/issues/34780
Also relocated undo/redo selection in the keymap (no-op) as they are
from Sublime, not VSCode.
Release Notes:
- vim: Fixed an issue so `ctrl-w` / `ctrl-h` and `ctrl-u` work in
pickers on Linux when Vim mode is enabled.
2025-07-21 20:09:02 +00:00
Peter Tripp
5f92ac25a7
docs: Consolidate backend setup docs into local-collaboration.md ( #34653 )
...
Simplify docs for mac/linux/windows by consolidating the backend
dependencies (collaboration) docs into local-collaboration.md. Most
users building zed will not need to do this -- streamline them into
getting setup to build the zed client app first.
Release Notes:
- N/A
2025-07-19 12:01:33 -04:00
Peter Tripp
fb88de9223
Fix error in OpenRouter svg logo ( #34764 )
...
Fix a spurious error in Zed logs from the OpenRouter svg Logo introduced
in https://github.com/zed-industries/zed/pull/29496 :
```log
WARN [usvg::parser::svgtree] Failed to parse clip-path value: 'url(#clip0_205_3)'.
```
Release Notes:
- N/A
2025-07-19 16:01:18 +00:00
Peter Tripp
70bde54a2c
ci: Lint GitHub Actions workflows with actionlint ( #34729 )
...
Added [rhysd/actionlint](https://github.com/rhysd/actionlint/ ) a static
checker for GitHub Actions workflow files.
Install locally with `brew install actionlint` the run with
`actionlint`.
Inspired by: https://github.com/zed-industries/zed/pull/34704 which
yielded this observation:
> In github actions:
> 1. strings are truthy
> 2. `${{ }}` will become a string if it doesn't wrap the whole value.
>
> So `if: false && true` becomes `false`
> and `if: ${{ false && true }}` becomes `false`
> but `if: false && ${{ true }}` becomes `"false && true"` which
evaluates true
> The reason you sometimes need `${{ }}` is because YAML doesn't like
`!`
> so `if: !false` is invalid yaml
> and `if: ${{ !false }}` works just fine.
Changes:
- Add `actionlint` job
- Refactor `job_spec` job to be more readable
- Fix all `actionlint` and `shellcheck` errors in Actions workflows (62
in all)
- Add `self-mini-macos` and `self-32vcpu-windows-2022` labels to
self-hosted runners. Not strictly related, but useful if you need to
take a runner out of the rotation (since `macOS`, `self-hosted`, and
`ARM64` are auto-set and cannot be added/removed).
- Change ci.yml macos_relase to target `self-mini-macos` instead of
`bundle` which was previously deprecated.
This would've caught the error fixed in
https://github.com/zed-industries/zed/pull/34704 . Here's what that [job
failure](https://github.com/zed-industries/zed/actions/runs/16376993944/job/46279281842?pr=34729 )
would've looked like.
Release Notes:
- N/A
2025-07-18 15:15:07 -04:00
Peter Tripp
7b6b75b63f
ci: Skip generating Windows release artifacts ( #34704 )
...
Release Notes:
- N/A
2025-07-18 14:31:08 -04:00
Peter Tripp
6a24b2479c
Redact license keys in environment variables from log output ( #34711 )
...
Release Notes:
- N/A
2025-07-18 14:28:20 +00:00
Peter Tripp
d604b3b291
Fix incorrect minimum_contrast comment ( #34710 )
...
Actual default is 45
https://github.com/zed-industries/zed/blob/fd05f17fa7e0253bc98698e84a1f8939bcb6616f/assets/settings/default.json#L1402
Release Notes:
- N/A
2025-07-18 10:01:09 -04:00
Peter Tripp
fd8480a9dc
Document terminal.cursor_shape ( #34707 )
...
Release Notes:
- N/A
2025-07-18 13:35:36 +00:00
Peter Tripp
0c88189aab
Refine JetBrains keymaps ( #34658 )
...
Follow-up to: https://github.com/zed-industries/zed/pull/34641
Release Notes:
- N/A
2025-07-17 19:23:00 +00:00
Peter Tripp
9efe9df800
Harmonize buffer_font_size between default.json and initial_settings.json ( #34650 )
...
Release Notes:
- N/A
2025-07-17 18:32:04 +00:00
Peter Tripp
1ceda2babd
JetBrains keymap improvements (July 2025) ( #34641 )
...
Closes: https://github.com/zed-industries/zed/issues/14639
Closes: https://github.com/zed-industries/zed/issues/33020
If would have ideas for future enhancements, please see:
- https://github.com/zed-industries/zed/discussions/34643
Various Jetbrains keymaps improvements for macOS and Linux/Windows:
| Area | Action | macOS | Linux |
| ------------- | -------------------------- |
--------------------------------- | --------------------------------- |
| Workspace | Toggle Git Panel | `cmd-0` | `ctrl-0` |
| Workspace | Toggle Project Panel | `cmd-1` | `alt-0` |
| Workspace | Toggle Debug Panel | `cmd-5` | `alt-1` |
| Workspace | Toggle Diagnostics | `cmd-6` | `alt-6` |
| Workspace | Toggle Outline Panel | `cmd-7` | `alt-7` |
| Workspace | Toggle Terminal Panel | `alt-f12` | `alt-f12` |
| Workspace | File Finder | `cmd-e` | `ctrl-e` |
| Workspace | Task Spawn | `ctrl-alt-r` | `alt-shift-f10` |
| Workspace | Close All Docks | `ctrl-shift-f12` | `ctrl-shift-f12` |
| Project Panel | Search in Directory | `cmd-shift-f` | `ctrl-shift-f` |
| Search | Replace in Files | `cmd-shift-r` | `ctrl-shift-r` |
| Search | Replace in Buffer | `cmd-r` | `ctrl-r` |
| Search | Toggle Case Sensitive | `ctrl-alt-c` / `alt-c` | `ctrl-alt-c`
|
| Search | Toggle Search in Selection | `ctrl-alt-s` / `alt-s` |
`ctrl-alt-s` |
| Search | Toggle Regex | `ctrl-alt-x` / `alt-x` | `ctrl-alt-x` |
| Search | Toggle Whole Word | `ctrl-alt-w` / `alt-w` | `ctrl-alt-w` |
| Terminal | New Terminal Tab | `cmd-t` | `ctrl-shift-t` |
| Terminal | Scroll Line | `cmd-up` / `cmd-down` | `ctrl-up` /
`ctrl-down` |
| Terminal | Scroll Page | `shift-pageup` / `shift-pagedown` |
`shift-pageup` / `shift-pagedown` |
| Git | Git Panel | `cmd-k` | `ctrl-k` |
| Git | Git Push | `cmd-shift-k` | `ctrl-shift-k` |
In addition, with the help of the recently merged
https://github.com/zed-industries/zed/pull/34495 , no matter where you
are mashing `escape` will refocus you back to your most recent editor
buffer similar to the behavior of JetBrains.
Release Notes:
- jetbrains: Added 25+ keybinds to the macOS and Linux/Windows JetBrains
compatibility keymaps
2025-07-17 17:14:24 +00:00
Peter Tripp
f82ef1f76f
agent: Support GEMINI_API_KEY environment variable ( #34574 )
...
Google Gemini Docs now recommend usage of `GEMINI_API_KEY` and the
legacy `GOOGLE_AI_API_KEY` variable is no longer supported in the modern
SDKs.
Zed will now accept either.
Release Notes:
- N/A
2025-07-16 20:55:54 +00:00
Peter Tripp
0023773c68
docs: Add Zed as Git Editor example ( #34572 )
...
Release Notes:
- N/A
2025-07-16 19:57:02 +00:00
Peter Tripp
2a9a82d757
macos: Add mappings for alt-delete and cmd-delete ( #34493 )
...
Closes https://github.com/zed-industries/zed/issues/34484
Release Notes:
- macos: Add default mappings for `alt-delete` and `cmd-delete` in
Terminal (delete word to right; delete to end of line)
2025-07-16 10:45:34 -04:00
Peter Tripp
3d160a6e26
Don't highlight partial indent guide backgrounds ( #34433 )
...
Closes https://github.com/zed-industries/zed/issues/33665
Previously if a line was indented something that was not a multiple of
`tab_size` with `"ident_guides": { "background_coloring": "indent_aware"
} }` the background of characters would be highlighted. E.g. indent of 6
with tab_size 4.
| Before / After |
| - |
| <img width="497" height="77" alt="Screenshot 2025-07-14 at 14 43 46"
src="https://github.com/user-attachments/assets/93923117-047d-4d21-9a4f-488345f1ab89 "
/>
| <img width="481" height="84" alt="Screenshot 2025-07-14 at 14 43 09"
src="https://github.com/user-attachments/assets/a5d383cb-50c3-4239-ae8c-f72765ae7287 "
/> |
CC: @bennetbo Any idea why this partial indent was enabled in your
initial implementation
[here](https://github.com/zed-industries/zed/pull/11503/files#diff-1781b7848dd9630f3c4f62df322c08af9a2de74af736e7eba031ebaeb4a0e2f4R3156-R3160 )?
This looks to be intentional.
Release Notes:
- N/A
2025-07-16 09:10:51 -04:00
Peter Tripp
ae65ff95a6
ci: Disable FreeBSD builds ( #34511 )
...
Recently FreeBSD zed-remote-server builds are failing 90%+ of the time
for unknown reasons.
Temporarily suspend them.
Example failing builds:
- [2025-07-15 16:15 Nightly
Failure](https://github.com/zed-industries/zed/actions/runs/16302777887/job/46042358675 )
- [2025-07-15 12:20 Nightly
Success](https://github.com/zed-industries/zed/actions/runs/16297907892/job/46025281518 )
- [2025-07-14 08:21 Nightly
Failure](https://github.com/zed-industries/zed/actions/runs/16266193889/job/45923004940 )
- [2025-06-17 Nightly
Failure](https://github.com/zed-industries/zed/actions/runs/15700462603/job/44234573761 )
Release Notes:
- Temporarily disable FreeBSD zed-remote-server builds due to CI failures.
2025-07-15 21:24:35 -04:00
Peter Tripp
440beb8a90
Improve Java LSP documentation ( #34410 )
...
Remove references to
[ABckh/zed-java-eclipse-jdtls](https://github.com/ABckh/zed-java-eclipse-jdtls )
which hasn't seen a new version in 10 months (2024-10-01).
Release Notes:
- N/A
2025-07-14 18:16:43 -04:00
Peter Tripp
ce63a6ddd8
Exclude .repo folders by default ( #34431 )
...
These are used by [Google's `repo`
tool](https://android.googlesource.com/tools/repo ) used for Android for
managing hundreds of git subprojects.
Originally reported in:
- https://github.com/zed-industries/zed/issues/34302
Release Notes:
- Add Google Repo `.repo` folders to default `file_scan_exclusions`
2025-07-14 18:16:28 -04:00
Peter Tripp
a2f5c47e2d
Add editor::ToggleFoldAll action ( #34317 )
...
In multibuffers adds the ability to alt-click to fold/unfold all
excepts. In singleton buffers it adds the ability to toggle back and
forth between `editor::FoldAll` and `editor::UnfoldAll`.
Bind it in your keymap with:
```json
{
"context": "Editor && (mode == full || multibuffer)",
"bindings": {
"cmd-k cmd-o": "editor::ToggleFoldAll"
}
},
```
<img width="253" height="99" alt="Screenshot 2025-07-11 at 17 04 25"
src="https://github.com/user-attachments/assets/94de8275-d2ee-4cf8-a46c-a698ccdb60e3 "
/>
Release Notes:
- Add ability to fold all excerpts in a multibuffer (alt-click) and in
singleton buffers `editor::ToggleFoldAll`
2025-07-14 13:23:51 +00:00
Peter Tripp
c6a6db9754
emacs: Fix cmd-f not working in Terminal ( #34400 )
...
Release Notes:
- N/A
2025-07-14 13:16:25 +00:00
Peter Tripp
10028aaae8
Ensure *.json recognized as JSONC if checkout folder not zed ( #34289 )
...
Follow-up to: https://github.com/zed-industries/zed/pull/33410
Release Notes:
- N/A
2025-07-11 14:25:09 +00:00
Peter Tripp
f82fdaa0a4
ci: Skip ci.yml checks for script/update_top_ranking_issues ( #34241 )
...
Closes https://github.com/zed-industries/zed/issues/19433
Supercedes: https://github.com/zed-industries/zed/pull/33308
cc: @eshasantosh
Release Notes:
- N/A
2025-07-10 21:01:34 +00:00
Peter Tripp
c30e28179a
Preserve agent message editor unsent text ( #34150 )
...
Closes https://github.com/zed-industries/zed/issues/33687
Release Notes:
- agent: Preserve unsent chat message text when creating a new thread
2025-07-10 10:35:16 -04:00
Peter Tripp
a9b82e1e57
Bump Zed to v0.196 ( #34127 )
...
Release Notes:
- N/A
2025-07-09 11:04:13 -04:00
Peter Tripp
9a3720edd3
Disable word completions by default for plaintext/markdown ( #34065 )
...
This disables word based completions in Plain Text and Markdown buffers
by default.
Word-based completion when typing natural language can be quite
disruptive, in particular at the end of a line (e.g. markdown style
lists) where `enter` will accept word completions rather than insert a
newline (see screenshot). I think the default, empty buffer experience
in Zed should be closer to a zed-mode experience -- just an editor
getting out of your way to let you type and not having to mash
escape/cmd-z repeatedly to undo a over-aggressive completion.
<img width="265" alt="Screenshot 2025-07-08 at 11 57 26"
src="https://github.com/user-attachments/assets/131f73a8-4687-45bf-ad53-f611c0af9387 "
/>
- Context:
https://github.com/zed-industries/zed/issues/4957#issuecomment-3049513501
- Follow-up to: https://github.com/zed-industries/zed/pull/26410
Re-enable the existing behavior with:
```json
"languages": {
"Plain Text": { "completions": { "words": "fallback" } },
"Markdown": { "completions": { "words": "fallback" } },
},
```
Or disable Word based completions everywhere with:
```json
"completions": {
"words": "fallback"
},
```
Release Notes:
- Disable word-completions by default in Plain Text and Markdown Buffers
2025-07-08 17:49:54 +00:00
Peter Tripp
684e14e55b
Move Perplexity extension to dedicated repository ( #34070 )
...
Move Perplexity extension to:
https://github.com/zed-extensions/perplexity
Release Notes:
- N/A
2025-07-08 13:40:00 -04:00
Peter Tripp
2a6ef006f4
Make script/generate-license fail on WARN too ( #34008 )
...
Current main shows this on `script/generate-licenses`:
```
[WARN] failed to validate all files specified in clarification for crate ring 0.17.14: checksum mismatch, expected '76b39f9b371688eac9d8323f96ee80b3aef5ecbc2217f25377bd4e4a615296a9'
```
Ring fixed it's licenses ambiguity upstream. This warning was
identifying that their license text (multiple licenses concatenated) had
changed (sha mismatch) and thus our license clarification was invalid.
Tested the script to confirm this [now
fails](https://github.com/zed-industries/zed/actions/runs/16118890720/job/45479355992?pr=34008 )
under CI and then removed the ring clarification because it is no longer
required and now passes.
Release Notes:
- N/A
2025-07-07 13:56:53 -04:00
Peter Tripp
861ca05fb9
Support loading environment from plan9 rc shell ( #33599 )
...
Closes: https://github.com/zed-industries/zed/issues/33511
Add support for loading environment from Plan9 shell
Document esoteric shell behavior.
Remove two useless tests.
Follow-up to:
- https://github.com/zed-industries/zed/pull/32702
- https://github.com/zed-industries/zed/pull/32637
Release Notes:
- Add support for loading environment variables from Plan9 `rc` shell.
2025-07-07 10:56:38 -04:00
Peter Tripp
f785853239
ssh: Fix incorrect handling of ssh paths that exist locally ( #33743 )
...
- Closes: https://github.com/zed-industries/zed/issues/33733
I also tested that remote canonicalization of symlink directories still
works. (e.g. `zed ssh://hostname/~/foo` where `foo -> foobar` will open
`~/foobar` on the remote).
I believe this has been broken since 2024-10-11 from
https://github.com/zed-industries/zed/pull/19057 . CC: @SomeoneToIgnore.
I guess I'm the only person silly enough to run `zed
ssh://hostname/tmp`.
Release Notes:
- ssh: Fixed an issue where Zed incorrectly canonicalized paths locally
prior to connecting to the ssh remote.
2025-07-07 10:55:37 -04:00
Peter Tripp
aa60647fe8
Bump Zed to v0.195 ( #33783 )
...
Release Notes:
- N/A
2025-07-02 17:36:53 +00:00
Peter Tripp
6b06685723
Revert "settings: Remove version field migration" ( #33729 )
...
- Reverts zed-industries/zed#33711
I think we should just make this a breaking change with v0.194.x.
Forwards compatibility is hard, we should build abstractions that make
this easier (next time).
See also:
- https://github.com/zed-industries/zed/pull/33372
Release Notes:
- N/A
2025-07-01 14:21:26 -04:00
Peter Tripp
274f2e90da
Add support for more python operators ( #33720 )
...
Closes: https://github.com/zed-industries/zed/issues/33683
| Before | After |
| - | - |
| <img width="571" alt="Screenshot 2025-07-01 at 11 42 56"
src="https://github.com/user-attachments/assets/5ef79304-37bb-42a1-8891-d19a55a5095e "
/> | <img width="592" alt="Screenshot 2025-07-01 at 11 44 45"
src="https://github.com/user-attachments/assets/f28aa2a8-6306-4294-86e1-8f089f57b825 "
/> |
Release Notes:
- python: Properly highlight additional operators ("&=", "<<=", ">>=",
"@=", "^=" and "|=")
2025-07-01 12:12:46 -04:00
Peter Tripp
bdf29bf76f
Allow disabling tools when 'enable_all_context_servers = true' ( #33536 )
...
Closes https://github.com/zed-industries/zed/issues/33519
Release Notes:
- agent: Improved support for explicitly disabling individual tools when
`enable_all_context_servers` is true. (e.g. enable all tools except
XYZ).
2025-06-30 10:56:25 -04:00
Peter Tripp
22ab4c53d1
R docs: Remove non-working configuration ( #33654 )
...
This config was meant to be commented out in #33594 because it does not
work.
Release Notes:
- N/A
2025-06-30 14:03:09 +00:00
Peter Tripp
a602b4b305
Improve R documentation ( #33594 )
...
Release Notes:
- N/A
2025-06-29 12:21:10 -04:00
Peter Tripp
e3ce0618a3
collab: Lookup avatars by GitHub ID instead of username ( #33523 )
...
Closes: https://github.com/zed-industries/zed/issues/19207
This will correctly show Avatars for recently renamed/deleted users and
for enterprise users where the username avatar url triggers a redirect
to an auth prompt. Also saves a request (302 redirect) per avatar.
Tested locally and avatars loaded as expected.
Release Notes:
- N/A
2025-06-27 09:40:50 -04:00
Peter Tripp
f4818b648e
linux: Add agent::ToggleBurnMode shortcut (super-ctrl-b) ( #33458 )
...
Follow-up to:
- https://github.com/zed-industries/zed/pull/33452
- https://github.com/zed-industries/zed/pull/33190
- https://github.com/zed-industries/zed/pull/31630
Release Notes:
- N/A
2025-06-26 15:07:46 +00:00
Peter Tripp
7031ed8b87
ci: Fix duplicated/failed eval jobs ( #33453 )
...
I think this should fix the CI issues with Eval jobs:
1. Duplicated workflows because `synchronize` / `opened` were triggering
distinct runs. This caused failed job entries because the duplicated
workflows had a shared concurrency group and so one would pre-empt the
other.
3. Removes the no-op job, introduced as an attempted workaround in
https://github.com/zed-industries/zed/pull/29420 .
These should correctly show as "Skipped" now:
| Before | After |
| - | - |
| <img width="359" alt="Screenshot 2025-06-26 at 9 57 04"
src="https://github.com/user-attachments/assets/6ddd4f46-27c7-4d82-98ba-0f1166fc55e7 "
/> | <img width="355" alt="Screenshot 2025-06-26 at 10 09 54"
src="https://github.com/user-attachments/assets/5faade2c-f17c-447a-9af9-6396f9e53016 "
/> |
Release Notes:
- N/A
2025-06-26 11:01:16 -04:00
Peter Tripp
d1eb69c6cd
ci: Improve check_docs skipping ( #33455 )
...
Follow-up to: https://github.com/zed-industries/zed/pull/33398
Logic there was incomplete. Caused [this
failure](https://github.com/zed-industries/zed/actions/runs/15904169712/job/44854558276 ).
Release Notes:
- N/A
2025-06-26 14:34:20 +00:00
Peter Tripp
5d0f02d356
Add cmd-alt-b (workspace::ToggleRightDock) on macOS ( #33450 )
...
Release Notes:
- N/A
2025-06-26 13:54:21 +00:00
Peter Tripp
dae4e84bc5
Explicitly associate files as JSONC ( #33410 )
...
Fixes an issue when the zed repo was checked out to folder other than
`zed` (e.g. `zed2`) files were incorrectly identified as JSON instead of
JSONC.
Release Notes:
- N/A
2025-06-25 16:29:44 -04:00
Peter Tripp
294147f473
ci: Skip build_docs more often ( #33398 )
...
Don't run `build_docs` when the only change is:
`.github/{workflows,ISSUE_TEMPLATE}/**`.
Example [extra
run](https://github.com/zed-industries/zed/actions/runs/15883155767 ).
Release Notes:
- N/A
2025-06-25 14:24:47 -04:00
Peter Tripp
8e831ced5b
ci: Remove community_delete_comments ( #33396 )
...
This was a temporary mitigation against a spam campaign, I don't think
this is required any longer. We can easily revert if it's still active.
See:
- https://github.com/zed-industries/zed/pull/16886
Release Notes:
- N/A
2025-06-25 13:44:43 -04:00
Peter Tripp
2a5a1814cd
text_thread: Improve roles after assistant::Split (shift-enter) ( #33215 )
...
Default to `You` when triggering `assistant::Split` at the end of a thread
Release Notes:
- agent_thread: Improved roles when triggering `assistant::Split`
(`shift-enter`)
2025-06-25 13:26:24 -04:00
Peter Tripp
84494ab26b
Make ctrl-alt-b / cmd-alt-b toggle right dock ( #33190 )
...
Closes: https://github.com/zed-industries/zed/issues/33147
In VSCode ctrl-alt-b / cmd-alt-b toggles the right dock. Zed should
follow this behavior.
See also:
- https://github.com/zed-industries/zed/pull/31630
Release Notes:
- N/A
2025-06-25 12:48:46 -04:00
Peter Tripp
93d670af13
Fix empty code actions menu trapping cursor ( #33386 )
...
Closes: https://github.com/zed-industries/zed/issues/33382
Follow-up to: https://github.com/zed-industries/zed/pull/32579
CC: @ConradIrwin @Anthony-Eid
Release Notes:
- Fixed an issue with empty code actions menu locking the cursor
(Preview Only)
2025-06-25 12:48:15 -04:00
Peter Tripp
7d087ea5d2
docs: Improve visual-customization.md docs for Zed prompts ( #33254 )
...
Release Notes:
- N/A
2025-06-25 12:48:03 -04:00
Peter Tripp
800b925fd7
Improve Atom keymap ( #33329 )
...
Closes: https://github.com/zed-industries/zed/issues/33256
Move some Editor keymap entries into `Editor && mode == full`
Release Notes:
- N/A
2025-06-24 18:02:07 +00:00
Peter Tripp
980917bb7c
agent: Preserve chat box text on 'New From Summary' ( #33220 )
...
CC: @danilo-leal Do you have thoughts on this? I found myself typing
chat messages after a long thread and then deciding I would be better
served by restarting from a summary -- and then "poof" the contents of
my chat box was lost.
Release Notes:
- agent: "New From Summary" now preserves any unsent content in the chat
box.
2025-06-23 08:35:25 -03:00
Peter Tripp
bd8471bb40
agent: Add soft-wrap to long terminal command JSON ( #33188 )
...
Closes: https://github.com/zed-industries/zed/issues/33179
| Before | After |
| - | - |
| <img width="341" alt="Screenshot 2025-06-21 at 23 06 01"
src="https://github.com/user-attachments/assets/963a3663-b24f-4946-8b48-2c1222cdef2e "
/> | <img width="424" alt="Screenshot 2025-06-21 at 23 08 13"
src="https://github.com/user-attachments/assets/51051221-fda2-48af-ae42-a04989bb4913 "
/> |
Release Notes:
- N/A
2025-06-23 08:35:16 -03:00
Peter Tripp
595f61f0d6
bedrock: Use Claude 3.0 Haiku where Haiku 3.5 is not available ( #33214 )
...
Closes: https://github.com/zed-industries/zed/issues/33183
@kuzaxak Can you confirm this works for you?
Release Notes:
- bedrock: Use Anthropic Haiku 3.0 in AWS regions where Haiku 3.5 is
unavailable
2025-06-22 15:15:20 -04:00
Peter Tripp
21fd5c24bf
emacs: Fix ctrl-p/ctrl-n navigating popover menus ( #33218 )
...
Closes https://github.com/zed-industries/zed/issues/33200
Release Notes:
- emacs: Fixed ctrl-p/ctrl-n keyboard navigation of autocomplete/code
actions menus
2025-06-22 15:02:25 -04:00
Peter Tripp
534475d7aa
Add reference to commit_message_model in git docs. ( #33186 )
...
Release Notes:
- N/A
2025-06-22 03:04:55 +00:00
Peter Tripp
8d05f6fdd3
Add visual customization section to documentation ( #33133 )
...
Release Notes:
- Improved settings documentation for [visual customization](https://zed.dev/docs/visual-customization/ )
2025-06-21 22:55:53 -04:00
Peter Tripp
2b3e453d2f
Avoid using tmpdir when writing Zed settings.json on macOS ( #32976 )
...
Closes: https://github.com/zed-industries/zed/issues/23907
Release Notes:
- macOS: Fixed an issue with writing Zed settings.json if user's home
directory is on a non-root volume.
2025-06-21 13:27:06 -04:00
Peter Tripp
cb50f07d23
One Light Theme: Change constant color ( #33166 )
...
Closes: https://github.com/zed-industries/zed/issues/4617
Closes: https://github.com/zed-industries/zed/issues/25709
Changes the One Light syntax highlight for `constant` to be a distinct
from `comment`:
| Before | After |
| - | - |
| <img width="424" alt="Screenshot 2025-06-21 at 11 59 22"
src="https://github.com/user-attachments/assets/8780918f-7701-4780-809a-f95951970c90 "
/> | <img width="430" alt="Screenshot 2025-06-21 at 11 59 17"
src="https://github.com/user-attachments/assets/d7efaa16-f95a-4076-a0b2-b1170e2ffe68 "
/> |
I picked a color which was present in the palette from the original One
Light theme from Atom.
@failable: Sorry this took so long, does this look ok to you?
Release Notes:
- N/A
2025-06-21 12:43:02 -04:00
Peter Tripp
a713c66a9d
Redact command environment variables from log output ( #32985 )
...
Before/After (linebreaks added for readability)
```log
# before
INFO [project::context_server_store::extension]
loaded command for context server mcp-server-github:
Command {
command: "/Users/peter/Library/Application Support/Zed/extensions/work/mcp-server-github/github-mcp-server-v0.5.0/github-mcp-server",
args: ["stdio"],
env: [("GITHUB_PERSONAL_ACCESS_TOKEN", "gho_WOOOOOOOOOOOOOOO")]
}
#after
INFO [project::context_server_store::extension]
loaded command for context server mcp-server-github:
Command {
command: "/Users/peter/Library/Application Support/Zed/extensions/work/mcp-server-github/github-mcp-server-v0.5.0/github-mcp-server",
args: ["stdio"],
env: [("GITHUB_PERSONAL_ACCESS_TOKEN", "[REDACTED]")]
}
```
Release Notes:
- Redact sensitive environment variables from MCP logs
2025-06-21 11:19:23 -04:00
1f457169ba
Windows tests on self-hosted runners ( #29764 )
...
Windows self-hosted runners
Release Notes:
- N/A
---------
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
Co-authored-by: Junkui Zhang <364772080@qq.com >
2025-06-16 17:29:36 -04:00
Peter Tripp and Joseph T. Lyons
cf129aa19d
Silence failed auto update checks ( #32696 )
...
Don't immediately show "auto-update failed" errors in the status bar
when launching zed offline or when a periodic auto-update check is
triggered when you are offline. Manual checks (via menu or action) or
errors after the initial version check succeeds (download/extraction
failure) are unchanged.
Supersedes: https://github.com/zed-industries/zed/pull/32643
Release Notes:
- N/A
Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com >
2025-06-13 13:11:02 -04:00
Peter Tripp
3fb28f695f
ci: Require check_docs ( #32470 )
...
Previously, broken `check_docs` would not prevent merge/automerge.
Introduced in:
- https://github.com/zed-industries/zed/pull/31073
Release Notes:
- N/A
2025-06-13 13:06:42 -04:00
Peter Tripp and Conrad Irwin
71dbe88459
Replace environment variable parser with zed --printenv outputting JSON ( #32637 )
...
Closes: https://github.com/zed-industries/zed/issues/32445
Follow-up to: https://github.com/zed-industries/zed/pull/31799
Release Notes:
- Improved handling of environment variables
---------
Co-authored-by: Conrad Irwin <conrad@zed.dev >
2025-06-13 11:49:15 -04:00
Peter Tripp
02dfaf7799
ci: Suppress evals on forks ( #32479 )
...
Be kind to those with Zed forks.
Example [action run on
fork](https://github.com/G36maid/freebsd-ports-zed/actions/runs/15525942275 )
where [this
job](https://github.com/G36maid/freebsd-ports-zed/actions/runs/15549650437/job/43777665341 )
will wait forever. Sorry @G36maid
Release Notes:
- N/A
2025-06-10 18:20:03 +00:00
Peter Tripp
9c47c52de5
ci: Restore lychee link check. Only validate internal links ( #32463 )
...
Follow-up to: https://github.com/zed-industries/zed/pull/32460
Follow-up to: https://github.com/zed-industries/zed/pull/30844
Release Notes:
- N/A
2025-06-10 11:20:07 -04:00
Peter Tripp
46f98b6001
ci: Move lychee link check to script/check-links ( #32460 )
...
Follow-up to: https://github.com/zed-industries/zed/pull/30844
Transient link failure was blocking PR tests passing. [Example
run](https://github.com/zed-industries/zed/actions/runs/15560960788/job/43812878693?pr=32458 ).
Release Notes:
- N/A
2025-06-10 10:11:24 -04:00
Peter Tripp
3485b7704b
Update GitHub Issue Templates (June 2025) ( #32399 )
...
- Remove git/edit predictions templates
- Rename Agent to AI related (include edit predictions, copilot, etc)
- Other minor adjustments
Release Notes:
- N/A
2025-06-09 15:25:17 +00:00
Peter Tripp
05ac9f1f84
docs: Missing . from .sql-formatter.json ( #32312 )
...
See:
https://github.com/zed-industries/zed/issues/9537#issuecomment-2952784074
Release Notes:
- N/A
2025-06-07 19:11:19 +00:00
Peter Tripp
46773ebbd8
docs: Fix typo in SUMMARY.md ( #32275 )
...
- Follow-up to: https://github.com/zed-industries/zed/pull/30981
- See also: https://github.com/zed-industries/zed/pull/30844
- See also: https://github.com/zed-industries/zed/pull/31073
Changes made to docs tests meant that failure to build docs did not
prevent an automerge.
This resulted in breaking main in
65a93a0036 [action run
link](https://github.com/zed-industries/zed/actions/runs/15501437863 ).
CC: @probably-neb
Release Notes:
- N/A
2025-06-06 19:26:59 -04:00
Peter Tripp
6d95fd9167
Make assistant::QuoteSelection shortcuts work in agent threads ( #32270 )
...
Closes: https://github.com/zed-industries/zed/discussions/30626
Release Notes:
- Fixed `assistant::QuoteSelection` default shortcuts (`cmd->` and
`ctrl->`) so they work in Agent threads too (in addition to text threads
and in the Editor pane).
2025-06-06 17:50:55 -04:00
Peter Tripp
899153d9a4
Stop formatting SQL by default with prettier ( #32268 )
...
- Closes: https://github.com/zed-industries/zed/discussions/32261
- Follow-up to: https://github.com/zed-extensions/sql/pull/19
- Follow-up to: https://github.com/zed-industries/zed/pull/32003
The underlying `sql-formatter` used by `prettier-plugin-sql` needs to
have the SQL dialect (mysql, postgresql) passed as the prettier language
name, while Zed passes `sql`, which default will corrupt sql files with
vendor specific extensions (postgresql jsonb operators, etc).
I improved the [Zed SQL Language
Docs](https://zed.dev/docs/languages/sql ) in
https://github.com/zed-industries/zed/pull/32003 to show how to use
`sql-formatter` directly as an external formatter.
Release Notes:
- SQL: Disable `format_on_save` using `prettier-plugin-sql` by default.
Please see the [Zed SQL Language
Docs](https://zed.dev/docs/languages/sql ) for settings to use
`sql-formatter` directly instead.
2025-06-06 17:21:46 -04:00
Peter Tripp
c1b997002a
ci: Auto-release release prefix hotfixes again ( #32265 )
...
Undo:
- https://github.com/zed-industries/zed/pull/24894
CC: @JosephTLyons
Release Notes:
- N/A
2025-06-06 15:29:33 -04:00
Peter Tripp
0fc85a020a
Fix script/build-linux with newer GCC ( #32029 )
...
If you follow the [workaround advice in the
Docs](https://zed.dev/docs/development/linux#installing-a-development-build )
for building with a newer GCC, it will error:
https://github.com/zed-industries/zed/blob/79b1dd7db8baede7e5dbaa2ad077bca61d9bad49/script/bundle-linux#L88-L91
[Reported on
Discord](https://discord.com/channels/869392257814519848/1379093394105696288 )
Release Notes:
- Fixed `script/build-linux` for non-musl builds.
2025-06-06 13:58:13 -04:00
Peter Tripp
454adfacae
freebsd: Improve nightly builds of zed-remote-server ( #32255 )
...
Follow-up to: https://github.com/zed-industries/zed/pull/29561
Don't create a release
Don't upload artifact to workflow.
Add freebsd support to upload-nightly
Release Notes:
- N/A
2025-06-06 15:30:03 +00:00
Peter Tripp
bbd431ae8c
Build zed-remote-server on FreeBSD ( #29561 )
...
Builds freebsd-remote-server under qemu working on linux runners.
Release Notes:
- Initial support for ssh remotes running FreeBSD x86_64
2025-06-05 11:59:10 -04:00