9db68ee
lsp: Use project-local settings if available (#17753)
Click to expand commit body
Release Notes:
- Changed built-in language support (Rust, Go, C, YAML, ...) to lookup
language-server specific settings locally in project directory first
before falling back to global value.
---------
Co-authored-by: Bennet <bennet@zed.dev>
Thorsten Ball
and
Bennet
created
092f29d
Use a bigger prefix for numeric sorting (#17752)
Click to expand commit body
Release Notes:
- Fixed sorting of files with YYYYmmddHHMMSS prefix
Release Notes:
- Increased memory limit for eslint to reduce crashes
Conrad Irwin
created
3a6a29f
vim: Fix inline completions showing up in normal mode (#17727)
Click to expand commit body
Booleans are hard.
Release Notes:
- Fixed inline completions showing up in Vim normal mode.
Thorsten Ball
created
9407d86
project: Use login shell to get environment per project (#17717)
Click to expand commit body
This is a follow-up to #17075 to spawn a login shell when getting the
environment for projects.
The reason why we didn't do it before is that we only used the
environment for certain language servers and not a lot of other things,
like tasks.
But with #17075 we now use the project more often and use it as the
_base_ environment for tasks/terminals.
Before the change, terminals and tasks would inherit the Zed process'
environment, including PATH and so on. After the change, we would set
the environment, overwriting the PATH instead of merging. But the
non-login shell environment is a subset of the login-shell environment.
Release Notes:
- Fixed environment variables used per project in terminals/tasks
overwriting the base environment and not making use of a login-shell
environment.
Thorsten Ball
created
b5c42ed
lsp: Fix noisy logs when starting language servers (#17713)
Click to expand commit body
We would log every time we'd lookup a language server for a file and
we'd also log "starting language server" even though we were about to
only download it and not start it.
Release Notes:
- N/A
Thorsten Ball
created
13c553c
Doc Fix: Shortcut of "Go forward" in key-bindings.md (#17689)
Click to expand commit body
"Control + _" => "Control + Shift + _"
Doc was edited so quickly using zed that caused a typo 😄
### shot
<img width="729" alt="image"
src="https://github.com/user-attachments/assets/104af7da-1205-43fd-b721-ffab7312487b">
### doc url
https://zed.dev/docs/key-bindings
Release Notes:
- N/A
Nero Song
created
ec189fe
Add a way to join all panes into one (#17673)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/17536
Closes https://github.com/zed-industries/zed/pull/17548
Release Notes:
- Added a way to join all panes into one with `pane::JoinAll` action
([#17536](https://github.com/zed-industries/zed/issues/17536))
---------
Co-authored-by: Yogesh Dhamija <ydhamija96@gmail.com>
Kirill Bulatov
and
Yogesh Dhamija
created
331d28d
php: Remove invalid node types from highlights queries (#17680)
Click to expand commit body
This PR removes some invalid node types from the PHP highlights queries.
Release Notes:
- N/A
This PR simplifies how images are inserted into the context editor.
We don't need to hold the `images` in a `HashMap` on the `Context`, as
we were only inserting them to pull them out again.
Release Notes:
- N/A
Marshall Bowers
created
3cea7cc
pane: Fix pinned tabs being persisted after closing (#17666)
Release Notes:
- ssh remoting: Added support for booting langauge servers (in limited
circumstances)
---------
Co-authored-by: Mikayla <mikayla@zed.dev>
Conrad Irwin
and
Mikayla
created
130f19d
Correctly merge settings for vtsls (#17657)
Click to expand commit body
Release Notes:
- Fixed vtsls initialization_options in project settings files
Conrad Irwin
created
bd1ff47
Revert tokenizer for custom OpenAI models (#17660)
Click to expand commit body
Fix for custom openai models tokenizer settings.
Peter Tripp
created
a23e381
assistant: Pass up tool results in LLM request messages (#17656)
Click to expand commit body
This PR makes it so we pass up the tool results in the `tool_results`
field in the request message to the LLM.
This required reworking how we track non-text content in the context
editor.
We also removed serialization of images in context history, as we were
never deserializing it, and thus it was unneeded.
Release Notes:
- N/A
---------
Co-authored-by: Antonio <antonio@zed.dev>
ae3880e
Add ability to open files with system default application (#17231)
KorigamiK
created
06142f9
Use the configured UI font size for the inline assistant (#17542)
Niklas Haas
created
fb9d01b
assistant: Add display_name for OpenAI and Gemini (#17508)
Peter Tripp
created
85f4c96
Ubuntu 22 (Linux arm runner) fixes (#17643)
Click to expand commit body
Our GitHub Actions Linux ARM hosted runner was running Ubuntu 20 was EOL'd.
This gets builds working on the Ubuntu 22 Linux ARM runner which have spun to replace the EOL'd one. It pushes forward our Glibc requirement for Linux ARM users (was >= 2.29, now >= 2.35; sorry!) but also uses a newer version of clang/llvm (was 10, now 15; yay!).
Peter Tripp
created
0b0cd90
assistant: Fix file slash command not allowing to select multiple files when pressing tab (#17652)
Click to expand commit body
Release Notes:
- Allow to add multiple files in a single `/file` command when pressing
tab
Bennet Bo Fenner
created
5f61e31
Fix vim surround behavior around text objects (#17603)
Click to expand commit body
Performing `ysa")` on `"Hello World"` should produce `("Hello World")`.
Instead it places the parens inside the quotes (i.e. `"(Hello World)"`).
This PR fixes the behavior by preserving the `around` flag from the
operator sequence.
Closes #12976 and partially fixes #13841
Release Notes:
- Fixed the behavior of surrounding a text object in vim.
Eric Andres
created
d5498c5
assistant: Fix terminal inline assistant not showing retry on error (#17651)
Click to expand commit body
Release Notes:
- Fixed an issue where a failed inline assistant prompt could not be
restarted
a078cb1
Disable definition lists in Markdown (#17648)
Click to expand commit body
This PR disables definition list support in `pulldown_cmark`, as it is
has been causing a number of issues.
I opened an issue upstream with the panic we were seeing:
https://github.com/pulldown-cmark/pulldown-cmark/issues/957.
Release Notes:
- N/A
Marshall Bowers
created
93b3520
assistant: Prevent possible execution of generated terminal commands (#17647)
Click to expand commit body
Closes #17424
Release Notes:
- Fixed an issue where commands generated by the terminal command could
sometimes be executed without confirmation
Bennet Bo Fenner
created
bf64c08
go: Fix regression by restoring regex to match tests (#17645)
Click to expand commit body
This fixes a regression that snuck in with #17108.
When running a single test with `go test` the
regex wouldn't be used anymore.
This restores the old behavior.
Release Notes:
- Fixed a regression when running Go tests. A recent change dropped the
regex used to match single test names when using `go test` in tasks to
run tests. That could lead to more or the wrong tests being run. This
restores the old behavior.
Thorsten Ball
created
929eff8
project panel: Get rid of unwrap in autofolding code (#17641)
Click to expand commit body
@WeetHet spotted a crash in recently-introduced project panel
autofolding that relates to unwrapping.
Release Notes:
- N/A
Piotr Osiewicz
created
75256bd
lsp: Add support for workspace/workspaceFolders request (#17639)
Click to expand commit body
Related to: #17574
Release Notes:
- N/A
Piotr Osiewicz
created
56bc3c3
project search: make sorting comparator comply with Ord preconditions (#17604)
2fc74a1
Update doc comments with tabs.file_icons default (#17629)
Click to expand commit body
The diff only contains doc comments changes, however I expect this also
fixes generating JSON Schema which generated by
[schemars](https://github.com/GREsau/schemars/blob/092dc17ae4831d42974653588cebcc089d07493e/docs/examples/6-doc_comments.md).
This default value is actually true at first.
1818fef32f24f24f082c6f34a4c3100add6d328c
However, it was changed in the following commit.
bf7e474bbcc2fadf002adb273e2584c77c1573e3
Closes #17628
Release Notes:
- N/A
Kenichi Kamiya
created
f71cb14
Add ',' to word chars for line wrapping (#17590)
Click to expand commit body
Closes #16407
Adds ',' to the is_word_char() matches for line wrapping, so that commas
aren't wrapped to the start of a new line.
Release Notes:
- N/A
ZZzzaaKK
created
da9601c
markdown: Handle definition lists in parser (#17617)
Click to expand commit body
Resolves https://github.com/zed-industries/zed/issues/17607.
This PR makes it so the Markdown parser can handle Markdown containing
definition lists.
Note that this is just parser support, we aren't yet doing anything with
the definition lists themselves.
Release Notes:
- N/A
Marshall Bowers
created
c119387
Fix blurry cursor on Wayland at a scale other than 100% (#17496)
Click to expand commit body
Closes #13258
Release Notes:
- Fixed blurry mouse cursor on wayland when the screen scale is other
than 100%
Before:

After:

Addresses parts of feedback from
https://www.jacobcolling.com/friction-log/zed-friction-log
Release Notes:
- "Assistant::NewContext" now automatically does quote selection as well
- "Assistant::QuoteSelection" now handles multicursor selections,
inserting multiple excerpts.
Piotr Osiewicz
created
dd257b8
project panel: Do not allow collapsing auto-folded directory past the list of ancestors (#17594)
Click to expand commit body
Closes #ISSUE
Release Notes:
- N/A
Piotr Osiewicz
created
fcf79c0
assistant: Support copy/pasting creases (#17490)
Click to expand commit body
https://github.com/user-attachments/assets/78a2572d-8e8f-4206-9680-dcd884e7bbbd
Release Notes:
- Added support for copying and pasting slash commands in the assistant
panel
---------
Co-authored-by: Thorsten <thorsten@zed.dev>