b69c6ee
Exclude initialization failed errors from slack (#18232)
Click to expand commit body
Release Notes: - N/A
Conrad Irwin created
b69c6ee
Exclude initialization failed errors from slack (#18232)
Release Notes: - N/A
Conrad Irwin created
0e86ba0
Fix get_cached_binary for eslint (#18286)
Release Notes: - Fixed running ESLint offline.
Conrad Irwin created
5e62bbf
Run system npm directly (#18280)
Release Notes: - N/A
Conrad Irwin created
21be70f
Improve diff hunks (#18283)
This PR improves the display of diff hunks: - Deleted hunks now show a regular line indicator in the gutter when expanded - The rounding on the diff indicators in the gutter has been removed. We also did some refactoring to ensure the sizing of the diff indicators in the gutter were consistent. #### Collapsed <img width="1624" alt="Screenshot 2024-09-24 at 11 13 26 AM" src="https://github.com/user-attachments/assets/f864dc83-cbbc-4d81-a62b-65c406ed310a"> #### Expanded <img width="1624" alt="Screenshot 2024-09-24 at 11 13 35 AM" src="https://github.com/user-attachments/assets/04d382ca-e0e6-4f1c-92eb-cd1e3a031c2c"> Release Notes: - Improved the appearance of diff hunks in the editor. --------- Co-authored-by: Max <max@zed.dev>
Marshall Bowers and Max created
2470db4
Reuse buffer search queries on tab switch (#18281)
Before this change, with a large chunk of text as a search query (N*10^5 in my experiments) and the buffer search bar visible, switching between editor tabs was very slow, even if the editors were N*10^2 lines long. The slow switch was caused by Zed always re-creating the Aho-Corasick queries, which is now reused. Release Notes: - Improved buffer search performance when switching tabs Co-authored-by: Piotr Osiewicz <piotr@zed.dev>
Kirill Bulatov and Piotr Osiewicz created
e87d6da
Implement grapheme support for supermaven completions (#18279)
Closes [#18278](https://github.com/zed-industries/zed/issues/18278) Release Notes: - Fixed a panic when graphemes are included in supermaven completions
Sebastijan Kelnerič created
437bcc0
ssh project: Handle multiple paths and worktrees correctly (#18277)
This makes SSH projects work with `ssh_connections` that have multiple
paths:
```json
{
"ssh_connections": [
{
"host": "127.0.0.1",
"projects": [
{
"paths": [
"/Users/thorstenball/work/projs/go-proj",
"/Users/thorstenball/work/projs/rust-proj"
]
}
]
}
]
}
```
@ConradIrwin @mikayla-maki since this wasn't really released yet, we
didn't create a full-on migration, so old ssh projects that were already
serialized need to either be manually deleted from the database, or the
whole local DB wiped.
Release Notes:
- N/A
---------
Co-authored-by: Bennet <bennet@zed.dev>
Thorsten Ball and Bennet created
3a2f065
Bump operations-per-run parameter in stale issues action (#18276)
Release Notes: - N/A
Joseph T. Lyons created
336b4a5
Tweak close stale issues configuration (#18275)
Release Notes: - N/A
Joseph T. Lyons created
93a4295
project search: Fix search results not being highlighted (#18273)
Closes #18254 Closes #18219 Closes #17690 This fixes the project search not highlighting all results. The problem was relatively simple, even though it took a while to find it: we inserted multiple excerpts concurrently and the order in the multi-buffer ended up being wrong. Sorting the resulting `match_ranges` fixed the problem, but as it turns out, we can do a better job by moving the concurrency into the method on the MultiBuffer. Performance is the same, but now the problem is fixed. Release Notes: - Fixed search results in project-wide search not being highlighted consistently and navigation sometimes being broken (#18254, #18219, #17690) --------- Co-authored-by: Bennet <bennet@zed.dev>
Thorsten Ball and Bennet created
f019ad5
Don't highlight Python function arguments as variables (#18252)
Works on - #14892 Follow up to - #17473 - https://github.com/zed-industries/zed/pull/17984#issuecomment-2369815207 Release Notes: - N/A
Boris Verkhovskiy created
399e094
Properly use default search options in the buffer search bar (#18271)
Only replace current search options if the search was dismissed and the new options are different from the default ones. Follow-up of https://github.com/zed-industries/zed/pull/17179 Closes https://github.com/zed-industries/zed/issues/18166 Release Notes: - Fixed buffer search options toggling unexpectedly on redeploys ([#18166](https://github.com/zed-industries/zed/issues/18166))
Kirill Bulatov created
dbc325e
vtsls: Move all default configuration to workspace_configuration (#18259)
This fixes https://github.com/zed-industries/zed/issues/18014 by fixing the regression that was introduced in https://github.com/zed-industries/zed/pull/17757. In short: after digging into the `vtsls` code, it looks like it essentially doesn't need any `initialization_options`, it's all workspace configuration, since it tries to use the built-in settings from VS Code. I tested the completions, the inlay hints, the max memory - all of it now works after moving to `workspace_configuration`. Closes #18014. Release Notes: - Fixed `vtsls` being initialized the wrong way, which would mean the wrong options were used to enable completions or inlay hints.
Thorsten Ball created
6b56530
lua: Bump to v0.1.0 (#18246)
This PR bumps the Lua extension to v0.1.0 - https://github.com/zed-industries/zed/pull/18199 - https://github.com/zed-industries/zed/pull/16955
Peter Tripp created
20c0654
SSH Remoting: Add the ability to resolve file paths on the remote host (#18250)
Release Notes: - N/A
Mikayla Maki created
d989183
Remove `Debug` constraint on `SumTree` (and its related traits/structs) (#18248)
Release Notes: - N/A Co-authored-by: Nathan <nathan@zed.dev>
Antonio Scandurra and Nathan created
3ba071b
Allow using system node (#18172)
Release Notes:
- (Potentially breaking change) Zed will now use the node installed on
your $PATH (if it is more recent than v18) instead of downloading its
own. You can disable the new behavior with `{"node":
{"disable_path_lookup": true}}` in your settings. We do not yet use
system/project-local node_modules.
---------
Co-authored-by: Mikayla <mikayla@zed.dev>
Conrad Irwin and Mikayla created
e4080ef
Move formatting to LSP store (#18242)
Release Notes: - ssh-remoting: Fixed format on save --------- Co-authored-by: Mikayla <mikayla@zed.dev>
Conrad Irwin and Mikayla created
e95e1c9
Add '?plain=1' to Permalinks on GitLab/GitHub for md files (#18241)
Improve our Permalinks to markdown files. GitHub/GitLab supports the same URL syntax.
Peter Tripp created
1ff10b7
lua: Add auto-close for single quote strings and highlight escape sequences (#18199)
- Add auto close to single quote string - Add syntax highlights to escape sequence
狐狸 created
7051bc0
Add "Fix with Assistant" code action on lines with diagnostics (#18163)
Release Notes: - Added a new "Fix with Assistant" action on code with errors or warnings. --------- Co-authored-by: Nathan <nathan@zed.dev>
Antonio Scandurra and Nathan created
1efe870
Update stale issues configuration to use 180 days (#18238)
Release Notes: - N/A
Joseph T. Lyons created
11953bb
Disable debug mode for stale issue action (#18237)
Release Notes: - N/A
Joseph T. Lyons created
65bb989
gpui: Update doc comment for `SharedString::new_static` (#18234)
This PR updates the doc comment for `SharedString::new_static`. Release Notes: - N/A
Marshall Bowers created
2082633
update stale issue configuration to use `any-of-issue-labels` (#18236)
Release Notes: - N/A
Joseph T. Lyons created
3c95a64
Add a rather-conservative stale issue action in dry-run mode (#18233)
Zed is becoming more popular and our issue tracker is only growing larger and larger. I realize that a stale issue action can be controversial, but the way we currently manage issues hasn't scaled well and it will only get worse. We need some crowd-sourced system. Let's ask those who have opened issues if their issues are still valid. This is rather conservative and only targets bugs and crashes. I'll run it in debug mode, report the results, and enable it if it feels right. We can always turn this off if users end up really not liking it. My original rules were: ```txt If an issue is old enough (12 months or older) AND if there are no recent comments from the team (last dev comment is older than 6 months) AND it has less than X upvotes (5) AND it does not have an open PR linked to it AND is a "defect" or "panic / crash" AND does not have a "ignore top-ranking issues" label AND was not opened by a org member AND is open AND is issue (not a pull request) THEN close the issue with a kind message. ``` But only some of these were actually supported in the configuration. Release Notes: - N/A
Joseph T. Lyons created
bc751d6
Don't highlight Python import names as type (#17984)
Works on #14892 Follow up to #17473
Boris Verkhovskiy created
a36706a
Fix up/down project_id confusion (#18099)
Release Notes: - ssh remoting: Fix LSP queries run over collab
Conrad Irwin created
35a80f0
docs: Split vim mode documentation into two pages, edit for clarity (#17614)
Closes #17215 Release Notes: - N/A --- This PR builds upon the vim mode documentation page and aims bring the following improvements: - Separate vim mode-specific configuration from introducing vim mode. - Reformat some lists of provided commands and keymaps from code blocks to sub-sections containing tables. - Flesh out the text a little bit to make it more explicit in some parts. - Generally format notes and a couple of other things closer to some other docs pages. Checking the diff doesn't give a good idea of the changes, so here are some before after images for quick examples of the kinds of changes brought by this PR. **Introducing the key differences of Zed's vim mode** Before  After  --- **Zed-specific vim key bindings** Before  After 
Nathan Lovato created
2ff8dde
Use fenix toolchain in nix shell (#18227)
In #17974 we explicitly depend on rustc/cargo for the nix devShell, however the fenix overlay that contains the latest stable versions was not being applied to that shell. This led to the shell inheriting whatever rustc/cargo was on nixos-unstable from nixpkgs, which sometimes lags behind. This change fixes that, and also restructures the flake to ensure that all outputs rely on the overlaid `pkgs`. Release Notes: - N/A
jvmncs created
d784e72
docs: Add Rego language (#18217)
Release Notes: - N/A --------- Signed-off-by: Charlie Egan <charlieegan3@users.noreply.github.com> Co-authored-by: Charlie Egan <charlieegan3@users.noreply.github.com> Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Charlie Egan , Charlie Egan , and Marshall Bowers created
8a36278
docs: Fix long code blocks overflow (#18208)
Closes #18207 Release Notes: - N/A | Before | After | |--------|-------| | <img width="1640" alt="image" src="https://github.com/user-attachments/assets/b7c76ec9-85bd-4001-b19f-6a8e26d04254"> | <img width="1640" alt="image" src="https://github.com/user-attachments/assets/cd932e33-0429-43b1-9b4b-25df5890a3cf"> |
moshyfawn created
05d1832
Resolve completions properly (#18212)
Related to https://github.com/rust-lang/rust-analyzer/pull/18167 * Declare more completion item fields in the client completion resolve capabilities * Do resolve completions even if their docs are present * Instead, do not resolve completions that could not be resolved when handling the remote client resolve requests * Do replace the old lsp completion data with the resolved one Release Notes: - Improved completion resolve mechanism
Kirill Bulatov created
bb7d9d3
docs: Remove `default_dock_anchor` in `configuring-zed.md` (#18210)
Removed the deprecated option `default_dock_anchor` in `configuring-zed.md` Note: https://zed.dev/blog/new-panel-system Release Notes: - N/A
Junseong Park created
75cb199
project: Fix typo error cause remove worktree not stop lsp (#18198)
Release Notes: - N/A
CharlesChen0823 created
0f4ebdf
docs: Add missing `ui_font_size` option in `configuring-zed.md` (#18189)
Added `ui_font_size`, an option that works in the editor but is missing from the documentation. Release Notes: - N/A
Junseong Park created
37c93d8
docs: Add missing `base_keymap` option in `configuring-zed.md` (#18190)
Added `base_keymap`, an option that works in the editor but is missing from the documentation. Release Notes: - N/A
Junseong Park created
e7fcf83
docs: Fix misordered headings (#18192)
1. Raised the `Indent Guides` heading to level 2, which is completely unrelated to `Git`. 2. the `Git` heading now only contains `Git Gutter` and `Inline Git Blame` as subheadings. 3. The `Indent Guides` heading is now located directly after the `Git` heading. Release Notes: - N/A
Junseong Park created
1f35c8d
Fix tooltip of `always_treat_brackets_as_autoclosed` (#18191)
Fixed a bug where the `always_treat_brackets_as_autoclosed` option would not display the message in the tooltip that appears when hovering. Release Notes: - N/A
Junseong Park created
3ca18af
docs: Fix typo in `configuring-zed.md` (#18178)
Fix typo in `configuring-zed.md` Release Notes: - N/A
Junseong Park created
4f227fd
Use LanguageServerName in more places (#18167)
This pushes the new LanguageServerName type to more places. As both languages and language servers were identified by Arc<str>, it was sometimes hard to tell which was intended. Release Notes: - N/A
Conrad Irwin created
743feb9
Add the ability to propose changes to a set of buffers (#18170)
This PR introduces functionality for creating *branches* of buffers that can be used to preview and edit change sets that haven't yet been applied to the buffers themselves. Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> Co-authored-by: Marshall <marshall@zed.dev>
Max Brunsfeld , Marshall Bowers , and Marshall created
e309fbd
Add a slash command for automatically retrieving relevant context (#17972)
* [x] put this slash command behind a feature flag until we release embedding access to the general population * [x] choose a name for this slash command and name the rust module to match Release Notes: - N/A --------- Co-authored-by: Jason <jason@zed.dev> Co-authored-by: Richard <richard@zed.dev> Co-authored-by: Jason Mancuso <7891333+jvmncs@users.noreply.github.com> Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Max Brunsfeld , Jason , Richard , Jason Mancuso , and Richard Feldman created
5905fbb
Allow Anthropic custom models to override temperature (#18160)
Release Notes: - Allow Anthropic custom models to override "temperature" This also centralized the defaulting of "temperature" to be inside of each model's `into_x` call instead of being sprinkled around the code.
Roy Williams created
7d62fda
file_finder: Notify user when picker an non-utf8 file (#18136)
notify user when using file finder picker an file which cannot open. Release Notes: - N/A
CharlesChen0823 created
4538880
vim: gq (#18156)
Closes #ISSUE Release Notes: - vim: Added gq/gw for rewrapping lines
Conrad Irwin created
7dac559
file_finder: Display file icons (#18091)
This PR adds file icons (like in tabs, the project panel and tab switcher) to the file finder popup. It's similar to [tab_switcher icons](https://github.com/zed-industries/zed/pull/17115), but simpler, because we're only dealing with actual files. Release Notes: - Added icons to the file finder. Screenshot:  --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Daste and Marshall Bowers created
5d12e3c
preview tabs: Toggle preview tab when saving (#18158)
Release Notes: - Saving a preview tab will now mark it as a permanent tab
Bennet Bo Fenner created
6010905
Remove `system_id` from all events but `editor_events` (#18154)
Release Notes: - N/A
Joseph T. Lyons created
8bd624b
editor: Remove unneeded blank lines in rewrap test cases (#18152)
This PR removes some unneeded blank lines from some of the test cases for `editor::Rewrap`. These weren't meaningful to the test, and their presence could be confusing. Release Notes: - N/A
Marshall Bowers created