f7eca9e
v0.142.x stable
Peter Tripp created
f7eca9e
v0.142.x stable
Peter Tripp created
5a2c5d2
Bump to 0.142.4 for @osiewicz
Zed Bot created
7cdf702
Fix PageUp for context menu (#13593)
The PageUp key was not working for the context menu. Instead of selecting one of the previous items in the context menu, `MovePageUp` closed the menu and scrolled the editor. `MovePageDown` was working correctly because it has the same fix. Release Notes: - Fixed `pageup` key, when bound to `editor::MovePageUp`, not moving context menus as other keys
Aleksei Gusev created
34d7f1e
Store starts open state of outline panel (#13601)
- Fixed issue where outline panel remains open despite being closed before window close. Before the release of Outline Panel feature, everything works fine. But after that, the outline panel keeps open. It's very annoy that I only want to edit a simple file. Event I close it before I close the window. The active state of this panel didn't stored. ### Description: Before the introduction of the Outline Panel feature, the application behaved as expected. However, with the addition of the Outline Panel, an issue arose where the panel would persistently remain open. This behavior was observed even when manually closing the panel before closing the application window. The problem stemmed from the inactive state of the panel not being stored properly. This fix addresses the issue by ensuring that the panel's active state is correctly stored and retrieved, thereby improving user experience and preventing unnecessary persistence of the panel's visibility. ### Screen Records #### Before Release of Outline Panel https://github.com/zed-industries/zed/assets/704762/2a222c70-c6d7-4472-9f27-7868d1786a5f #### After Release of Outline Panel https://github.com/zed-industries/zed/assets/704762/69c16a5d-beed-4d4a-8341-83c53f6a6713 #### After Fixing This Issue https://github.com/zed-industries/zed/assets/704762/f51c5df7-54e3-4a62-ac54-b5d12cfe69d1 ### Release Notes: - Persist outline panel open state to avoid opening it on Zed startup
Yongkang Chen created
53730e2
Fix Prettier parser values when formatting files with paths (#13666)
Closes https://github.com/zed-industries/zed/issues/13660 Now, as intended, the parser value is passed only if configured in the language settings. Also, allows to format JSONC by default with Prettier and reformats Zed settings. Release Notes: - Fixed Zed Prettier integration always passing parser value for files with paths ([13660](https://github.com/zed-industries/zed/issues/13660))
Kirill Bulatov created
b48cc75
zed 0.142.3
Peter Tripp created
071650f
Fix a stupid bug that was dropping system prompts for Claude (#13626)
Release Notes: - Fixed a bug that was causing system prompts to be dropped for Anthropic models. @JosephTLyons @notpeter We probably need to hot-fix this as I'm pretty sure this affects the regular anthropic provider in addition to just the feature-flagged cloud stuff. Wouldn't mind confirming that first so we can communicate around it. 😬
Nathan Sobo created
86183ca
Bump to 0.142.2 for @ConradIrwin
Zed Bot created
075860d
Fix multi-keystroke shortcuts better (cherry-pick #13612) (#13614)
Cherry-picked Fix multi-keystroke shortcuts better (#13612) Release Notes: - N/A Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
gcp-cherry-pick-bot[bot] and Conrad Irwin created
67ba048
Fix multi-key shortcuts (cherry-pick #13606) (#13607)
Cherry-picked Fix multi-key shortcuts (#13606) Broken by the shift shift support PR Release Notes: - Fix multi-key shortcuts (preview only) Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
gcp-cherry-pick-bot[bot] and Conrad Irwin created
d5fb290
Release notes upload fix (#13560)
- Action for release notes upload (softprops/action-gh-release) configured with incorrect key. - Valid keys here: https://github.com/softprops/action-gh-release?tab=readme-ov-file#-customizing
Peter Tripp created
b01945e
fix panics (cherry-pick #13554) (#13558)
Cherry-picked fix panics (#13554) Release Notes: - Fixed a panic when editing HTML near the end of a file - Fixed a panic when editing settings.json from inside the .zed directory Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
gcp-cherry-pick-bot[bot] and Conrad Irwin created
1b0b7fe
zed 0.142.1
Peter Tripp created
985644b
json: Fix package-version-server referencing the wrong path to the binary (#13555)
We were trying to access the binary at
package-version-server-{VERSION}/package-version-server, whereas the
binary itself is placed at package-version-server-{VERSION}
Release Notes:
- Fixed package.json language server failing to start.
Co-authored-by: Peter Tripp <peter@zed.dev>
Piotr Osiewicz and Peter Tripp created
c686c4c
v0.142.x preview
Peter Tripp created
5d766f6
linux: Fix some panics related to xkb compose (#13529)
Release Notes: - N/A Fixed #13463 Fixed crash when the locale was non UTF-8 and fixed the fallback locale. Fixed #13010 Fixed crash when `compose.keysym()` was `XKB_KEY_NoSymbol` I also extracted the `xkb_compose_state` to a single place
Fernando Tagawa created
18b4573
Fix font feature tag validation (#13542)
The previous implementation that I implemented had two issues: 1. It did not throw an error when the user input some invalid values such as "panic". 2. The feature tag for OpenType fonts should be a combination of letters and digits. We only checked if the input was an ASCII character, which could lead to undefined behavior. Closes #13517 Release Notes: - N/A
张小白 created
d044dc8
Update Docker Compose configuration (#13530)
- Fix Docker Compose obsolete setting ## Remove `version` Fix the following error: ``` WARN[0000] /docker-compose.yml: `version` is obsolete ``` see also. https://github.com/compose-spec/compose-spec/blob/master/spec.md#version-top-level-element-obsolete ## Rename: docker-compose.yml -> compose.yml The preferred file name is now `compose.yml`. > The default path for a Compose file is compose.yaml (preferred) ref. https://docs.docker.com/compose/compose-application-model/#the-compose-file Release Notes: - N/A
Toshimaru created
f00bea5
docs: Fix Decrease buffer font size key binding (#13453)
Release Notes: - N/A
Alexander Mankuta created
b43df60
Add an input example to gpui (#13534)
Add a single-line text input example to gpui (I'm hoping to be able to debug keyboard issues without rebuilding the whole app every time) Release Notes: - N/A
Conrad Irwin created
eb91468
Fix multi-cursor copy/paste on linux (#13523)
The clipboard library we use for X11 doesn't yet support multiple formats on the clipboard, so for now we just store this in memory for the current zed process, as we do for Wayland. Fixes: #11971 Release Notes: - N/A --------- Co-authored-by: Mikayla Maki <mikayla@zed.dev>
Conrad Irwin and Mikayla Maki created
5b7e31c
Add metrics_id to editor_events (#13525)
Release Notes: - N/A
Joseph T. Lyons created
922fcaf
Add the ability to customize available models for OpenAI-compatible services (#13276)
Closes #11984, closes #11075. Release Notes: - Added the ability to customize available models for OpenAI-compatible services ([#11984](https://github.com/zed-industries/zed/issues/11984)) ([#11075](https://github.com/zed-industries/zed/issues/11075)). 
ᴀᴍᴛᴏᴀᴇʀ created
9f88460
Move token count in prompt editor (#13524)
Moves the token count back up to the editor header. Release Notes: - N/A
Nate Butler created
e5d1cf8
Fix 9263 (#13521)
Fix #9263 Release Notes: - N/A
Mikayla Maki created
41d2c52
Adjust keybindings for deletion in the project panel (#13326)
- Improve compatibility keybindings (Atom, JetBrains, TextMate) - Revert MacOS cmd+backspace regression. Should trash without prompting (like MacOS) Co-authored-by: Peter Tripp <peter@zed.dev>
Mikayla Maki and Peter Tripp created
d1a55d6
Change `window_min_size` from `Size<Pixels>` to `Option<Size<Pixels>>` (#13501)
Now we can set `window_min_size` to `None` instead of `Size::default()`. I think this makes more sense. Release Notes: - N/A
张小白 created
db06244
typescript: Pass `hostInfo` to `tsserver` (#12055)
- Added `hostInfo` property to zed's typescript plugin. This can be useful for telemetry (for e.g. identifying the usage of editors based on typescript usage) when building typescript plugins. - VSCode / IntelliJ based editors already set this property ([see](https://github.com/microsoft/vscode/blob/aa31bfc9fd1746626b3efe86f41b9c172d5f4d23/extensions/typescript-language-features/src/typescriptServiceClient.ts#L574)) The config option as available — https://github.com/typescript-language-server/typescript-language-server/blob/master/docs/configuration.md#initializationoptions Release Notes: - N/A
Shubham Kanodia created
597469b
Remove blank line (#13519)
This PR removes an extra blank line that was missed in #13518. Release Notes: - N/A
Marshall Bowers created
e0c192d
Clean up `json!` literal for `vtsls` configuration (#13518)
This PR cleans up the formatting of the `json!` literal used to provided `vtsls` configuration. Release Notes: - N/A
Marshall Bowers created
b2a0a7f
Fix a bug introduced by #13479 (#13516)
Fixes a bug introduced by https://github.com/zed-industries/zed/pull/13479 where dot files might not be processed in the correct order. Release Notes: - N/A
Mikayla Maki created
0b1a589
keymap: Allow modifiers as keys (#12047)
It is sometimes desirable to allow modifers to serve as keys themselves for the purposes of keybinds. For example, the popular keybind in jetbrains IDEs `shift shift` which opens the file finder. This change treats modifers in the keymaps as keys themselves if they are not accompanied by a key they are modifying. Further this change wires up they key dispatcher to treat modifer change events as key presses which are considered for matching against keybinds. Release Notes: - Fixes #6460 --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Dov Alperin and Conrad Irwin created
7e694d1
Fix an issue where provider settings were lost when switching between Ollama models (#13402)
Closes #13399. Release Notes: - Fixed an issue where provider settings were lost when switching between Ollama models ([#13399](https://github.com/zed-industries/zed/issues/13399)).
ᴀᴍᴛᴏᴀᴇʀ created
8904432
Prompt Library Refinements (#13470)
TODO: - [x] Moving the cursor out of the title editor should unselect any selected text Release Notes: - N/A --------- Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Richard <richard@zed.dev>
Nate Butler , Antonio Scandurra , and Richard created
b014f9f
docs: Fix some typos (#13509)
Minor fixes I came across while reading the docs. Release Notes: - N/A
Gilles Peiffer created
f40d231
Use string interpolation (#13482)
Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Hamir Mahal and Marshall Bowers created
2dee4f8
windows: Fix title bar font for Windows 10 (#13425)
This should fix the title bar font for Windows 10 as `Segoe Fluent Icons` is only for Windows 11 and Windows 10 should be using `Segoe MDL2 Assets`, I haven't tested this myself on a Windows 10 machine but the fonts work fine. Release Notes: - N/A
Matin Aniss created
54afa6f
Bump image crate (#13397)
Bumping the image crate for better support of image formats. The latest version does not have a `BGRA` type it only has `RGBA` it doesn't really matter as the size is the same but the type name is a little confusing as we need it as `BGRA`. Also there is no `into_bgra8` but we can use `into_rgba8` but then it must be converted before creating the `ImageData`. Release Notes: - N/A
Matin Aniss created
55511d1
JSON: Show package.json dependency tooltips on hover (#13481)
Fixes https://github.com/zed-industries/zed/issues/13303 Release Notes: - Added package version tooltips when hovering over package.json dependency entries.
Piotr Osiewicz created
6c0cb9e
project panel: Respect y offset of a click-and-drag on a scrollbar (#13506)
Previously we've always snapped the scrollbar to the cursor position, without regard for the position of the thumb. Release Notes: - N/A
Piotr Osiewicz created
24e7b69
Rust: fix module names not showing in completion list (#13505)
This is a regression from https://github.com/zed-industries/zed/issues/13043 Fixes https://github.com/zed-industries/zed/issues/13494 Release Notes: - Fix crate names not being shown in Rust completions menu.
Piotr Osiewicz created
a4cdca5
Refine UX for assistants (#13502)
<img width="1652" alt="image" src="https://github.com/zed-industries/zed/assets/482957/376d1915-1e15-4d6c-966e-48f55f7cb249"> Release Notes: - N/A
Antonio Scandurra created
86cd87e
indent guides: Fix edge case when line is folded (#13498)
https://github.com/zed-industries/zed/assets/53836821/6c79cdc8-c0e1-4f5e-807e-be4a4bde32c3 Release Notes: - Fixed an edge case where some indent guides would disappear when a folded line is the first visible line on screen
Bennet Bo Fenner created
88000eb
Fix bug with inline assist and indentation on empty lines (#13489)
Fix a minor bug when the inline assistant model spits out an empty line with leading indentation on it. This happens sometimes with Claude 3.5 Sonnet and currently it causes the following line to have the wrong indentation. Release Notes: - N/A
Tristan Hume created
ab5a462
Use likely-newer KeyPress serial for wl clipboard (#13483)
The KeyEnter serial will be too old if another client replaces the selection before the user unfocuses and refocuses the window (i.e., triggers another KeyEnter event). The KeyPress event is more likely to be new enough. Release Notes: - Fixed setting clipboard sometimes not working on wayland ([#13445](https://github.com/zed-industries/zed/issues/13445)).
Matt Fellenz created
79430fc
vim: Fix panic in search (#13487)
Release Notes: - vim: Fixed a panic when searching after focusing search bar with mouse
Conrad Irwin created
f96e4ba
Add "Select Enclosing Symbol" command (#13435)
I use this for a much faster workflow with inline assist when using fast models. Release Notes: - Added "Select Enclosing Symbol" command based on tree-sitter outline. Useful in combination with inline assist to rewrite a function.
Tristan Hume created
7be1ffb
Add cross-compilation support from MacOS to Windows (#13382)
- Modify `build.rs` to use environment variables instead of `cfg` directive to make cross-compilation to Windows possible - Make `embed-resource` a global build-dependency for cross-compilation Release Notes: - N/A
SELO created
93a5d0c
Add limit to minimum window size (#13126)
Release Notes: - Add a limit to the minimum window size on macOS. Here's the minimum window before change: <img width="121" alt="image" src="https://github.com/zed-industries/zed/assets/38318044/9e907194-42e5-457e-91ea-96613426b479"> After change: <img width="410" alt="image" src="https://github.com/zed-industries/zed/assets/38318044/6e9c3057-9860-4f4b-9a73-c158ebac5ba9">
Aaron Ruan created
328d98d
windows: Make IME input on Windows consistent with that on macOS + some small fixs (#13386)
### Before  ### After  Release Notes: - N/A
张小白 created