Marshall Bowers
8f28445612
php: Bump to v0.2.0 ( #17674 )
...
This PR bumps the PHP extension to v0.2.0.
Changes:
- https://github.com/zed-industries/zed/pull/16720
- https://github.com/zed-industries/zed/pull/16955
- https://github.com/zed-industries/zed/pull/17243
- https://github.com/zed-industries/zed/pull/17545
Release Notes:
- N/A
2024-09-10 22:57:44 -04:00
Piotr Osiewicz
f374038da0
pane: Serialize pinned tab state ( #17670 )
...
Release Notes:
- Tab pin state is now persisted across Zed runs.
2024-09-10 19:19:21 -04:00
Bedis Nbiba
d1a47faeb7
docs: Update Deno docs ( #17579 )
...
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
add the minimal configuration needed to make deno lsp work
Release Notes:
- N/A
2024-09-10 18:26:11 -04:00
maan2003
d6663fcb29
Pass temperature to Anthropic ( #17509 )
...
Release Notes:
- N/A
---------
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2024-09-10 18:09:00 -04:00
Fernando Tagawa
b16af138e2
php: Add auto-indent ( #17545 )
...
Release Notes:
- N/A
2024-09-10 17:41:37 -04:00
Marshall Bowers
3ff81c2e86
assistant: Simplify image insertion ( #17668 )
...
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
2024-09-10 17:37:26 -04:00
Piotr Osiewicz
3cea7ccbff
pane: Fix pinned tabs being persisted after closing ( #17666 )
...
Release Notes:
- Fixed tabs staying pinned after closing unrelated tabs
2024-09-10 17:26:06 -04:00
Thorsten Ball
48a16f9e70
ssh: Lookup language servers in env on SSH host ( #17658 )
...
Release Notes:
- ssh remoting: Lookup language server binaries in environment on SSH
host
---------
Co-authored-by: Bennet <bennet@zed.dev>
2024-09-10 16:41:29 -04:00
Peter Tripp
19463b59e2
Add docs for search settings ( #17662 )
2024-09-10 16:12:45 -04:00
Conrad Irwin
36eb1c15ea
use ssh lsp store ( #17655 )
...
Release Notes:
- ssh remoting: Added support for booting langauge servers (in limited
circumstances)
---------
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-09-10 15:51:01 -04:00
Conrad Irwin
130f19d8f9
Correctly merge settings for vtsls ( #17657 )
...
Release Notes:
- Fixed vtsls initialization_options in project settings files
2024-09-10 15:50:51 -04:00
Peter Tripp
bd1ff476b9
Revert tokenizer for custom OpenAI models ( #17660 )
...
Fix for custom openai models tokenizer settings.
2024-09-10 15:38:27 -04:00
Marshall Bowers
a23e381096
assistant: Pass up tool results in LLM request messages ( #17656 )
...
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>
2024-09-10 15:25:57 -04:00
Joseph T Lyons
1b627925d3
v0.154.x dev
2024-09-10 14:40:51 -04:00
KorigamiK
ae3880e71a
Add ability to open files with system default application ( #17231 )
2024-09-10 14:36:36 -04:00
Niklas Haas
06142f975b
Use the configured UI font size for the inline assistant ( #17542 )
2024-09-10 14:26:48 -04:00
Peter Tripp
fb9d01b0d5
assistant: Add display_name for OpenAI and Gemini ( #17508 )
2024-09-10 13:41:06 -04:00
Peter Tripp
85f4c96fef
Ubuntu 22 (Linux arm runner) fixes ( #17643 )
...
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!).
2024-09-10 12:40:54 -04:00
Bennet Bo Fenner
0b0cd9005e
assistant: Fix file slash command not allowing to select multiple files when pressing tab ( #17652 )
...
Release Notes:
- Allow to add multiple files in a single `/file` command when pressing
tab
2024-09-10 11:58:16 -04:00
Eric Andres
5f61e3140f
Fix vim surround behavior around text objects ( #17603 )
...
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.
2024-09-10 11:49:04 -04:00
Bennet Bo Fenner
d5498c52f8
assistant: Fix terminal inline assistant not showing retry on error ( #17651 )
...
Release Notes:
- Fixed an issue where a failed inline assistant prompt could not be
restarted
2024-09-10 11:45:21 -04:00
Bennet Bo Fenner
a7ac37156c
assistant: Fix configuration page showing incorrect Anthropic API key label ( #17650 )
...
Release Notes:
- N/A
2024-09-10 11:23:50 -04:00
Marshall Bowers
a078cb104c
Disable definition lists in Markdown ( #17648 )
...
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
2024-09-10 11:16:27 -04:00
Bennet Bo Fenner
93b3520c11
assistant: Prevent possible execution of generated terminal commands ( #17647 )
...
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
Closes #17424
Release Notes:
- Fixed an issue where commands generated by the terminal command could
sometimes be executed without confirmation
2024-09-10 11:03:44 -04:00
Thorsten Ball
bf64c0899f
go: Fix regression by restoring regex to match tests ( #17645 )
...
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.
2024-09-10 10:22:12 -04:00
Piotr Osiewicz
929eff815c
project panel: Get rid of unwrap in autofolding code ( #17641 )
...
@WeetHet spotted a crash in recently-introduced project panel
autofolding that relates to unwrapping.
Release Notes:
- N/A
2024-09-10 08:50:23 -04:00
Piotr Osiewicz
75256bdfe1
lsp: Add support for workspace/workspaceFolders request ( #17639 )
...
Related to: #17574
Release Notes:
- N/A
2024-09-10 08:41:02 -04:00
Piotr Osiewicz
56bc3c36ad
project search: make sorting comparator comply with Ord preconditions ( #17604 )
...
Closes #17493
/cc @SomeoneToIgnore /cc @ConradIrwin
Release Notes:
- N/A
2024-09-10 06:55:46 -04:00
Kenichi Kamiya
2fc74a1b71
Update doc comments with tabs.file_icons default ( #17629 )
...
The diff only contains doc comments changes, however I expect this also
fixes generating JSON Schema which generated by
[schemars](092dc17ae4/docs/examples/6-doc_comments.md
).
This default value is actually true at first.
1818fef32f
However, it was changed in the following commit.
bf7e474bbc
Closes #17628
Release Notes:
- N/A
2024-09-10 06:50:43 -04:00
ZZzzaaKK
f71cb14d7a
Add ',' to word chars for line wrapping ( #17590 )
...
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
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
2024-09-09 14:52:43 -07:00
Marshall Bowers
da9601c698
markdown: Handle definition lists in parser ( #17617 )
...
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
2024-09-09 17:49:40 -04:00
Sergio Nonide
c1193875e8
Fix blurry cursor on Wayland at a scale other than 100% ( #17496 )
...
Closes #13258
Release Notes:
- Fixed blurry mouse cursor on wayland when the screen scale is other
than 100%
Before:
![Screenshot from 2024-09-06
14-38-30](https://github.com/user-attachments/assets/e4553503-ecea-4b53-b80d-43732d34fa62 )
After:
![Screenshot from 2024-09-06
14-38-56](https://github.com/user-attachments/assets/ce563d3a-2b44-44b9-9f59-f0042609924e )
2024-09-09 14:44:02 -07:00
Taras Martyniuk
f92d0de58d
terraform: Update indents ( #17200 )
...
Closes #15988
Fixed indent configuration for terraform/HCL
Release Notes:
- N/A
https://github.com/user-attachments/assets/09b44ac9-ef09-463c-876d-0fbcdd1f09c9
---------
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2024-09-09 14:31:57 -07:00
Fernando Tagawa
59be07ad90
x11: Implement Drag and Drop ( #17491 )
...
Closes #16225
Release Notes:
- x11: Implemented Drag and Drop.
2024-09-09 14:27:45 -07:00
Piotr Osiewicz
12dde17608
assistant panel: automatically insert selections ( #17589 )
...
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.
2024-09-09 12:31:55 -04:00
Piotr Osiewicz
dd257b8412
project panel: Do not allow collapsing auto-folded directory past the list of ancestors ( #17594 )
...
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
Closes #ISSUE
Release Notes:
- N/A
2024-09-09 09:14:07 -04:00
Bennet Bo Fenner
fcf79c0f1d
assistant: Support copy/pasting creases ( #17490 )
...
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>
2024-09-09 09:01:26 -04:00
Piotr Osiewicz
66ef318823
project panel: select autofolded entries ( #17520 )
...
Closes #17252
Release Notes:
- Intermediate auto-folded project entries can now be selected and acted
upon (removed, renamed, cut, pasted).
2024-09-09 07:22:16 -04:00
Elan Ruusamäe
174e125686
doc: vim.md: Remove duplicate we we ( #17565 )
...
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
...also adds some puncuation
2024-09-08 10:04:44 -06:00
Conrad Irwin
657be0aa3e
vim doc tweaks ( #17564 )
...
Release Notes:
- N/A
2024-09-08 08:50:35 -06:00
Vishal Bhavsar
89ae97e5e9
vim: Revert 'Y' to yank to end of line ( #17563 )
...
Closes https://github.com/zed-industries/zed/issues/17549
2024-09-08 08:38:00 -06:00
thataboy
894866da94
Refactor SearchSettings ( #17550 )
...
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
Related to #17179 .
Simplify handling of search settings since there is no requirement to
watch for settings.json changes and update search panels while they are
opened.
Attn: @SomeoneToIgnore
Per our discussion. Ran test on search crate. Ran `cargo fmt`.
Release Notes:
- N/A
2024-09-07 19:58:28 -04:00
saahityaedams
63188b6754
Fix parenthesis matching for file links in terminal ( #17512 )
...
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
Closes #17391
Release Notes:
- Fixed parenthesis matching for file links in terminal
([#17391 ](https://github.com/zed-industries/zed/issues/17391 ))
2024-09-07 10:51:02 -04:00
thataboy
65961b80fc
Add a way to configure default search options ( #17179 )
...
Closes https://github.com/zed-industries/zed/issues/4646
```json
// Search options to enable by default when opening new project and buffer searches.
"search": {
"whole_word": false,
"case_sensitive": false,
"include_ignored": false,
"regex": false
}
```
Release Notes:
- Added `search` settings section to configure default options enabled
in buffer and project searches
([#4646 ](https://github.com/zed-industries/zed/issues/4646 ))
---------
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
2024-09-07 10:25:41 -04:00
Kirill Bulatov
8985fd87c2
Fix different kinds values used for worktree_id
( #17523 )
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
2024-09-07 00:51:09 -04:00
Jason Lee
47aec5e64d
Improve popup menu to leave some margin with window edges ( #17159 )
...
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
Release Notes:
- Improved popup menu to leave some margin with window edges.
## Updates in GPUI
- gpui: Add `snap_to_window_with_margin` method to `anchored` to support
leave margin to window edges.
## Before
<img width="609" alt="before-snap-to-window 2024-08-30 222506"
src="https://github.com/user-attachments/assets/62bb6791-7c89-4558-9484-5c7b31f5e91e ">
## After
<img width="698" alt="snap-to-window1 2024-08-30 222506"
src="https://github.com/user-attachments/assets/51634e79-2a95-42fe-8362-a3c7003648eb ">
<img width="622" alt="snap-to-window 2024-08-30 222506"
src="https://github.com/user-attachments/assets/43a865d6-d238-4fdc-ae9d-8160b9ba7953 ">
2024-09-07 03:05:57 +02:00
Piotr Osiewicz
b401f6951b
pane: Add tooltips to close/unpin buttons ( #17521 )
...
These tooltips also showcase keybinds when the tab is an active one. /cc
@danilo-leal
Release Notes:
- N/A
2024-09-07 03:02:34 +02:00
Conrad Irwin
a7da16d192
vim: Fix ctrl-n/p
2024-09-06 18:48:06 -06:00
Piotr Osiewicz
095a08d9c8
chore: Another round of style lints fixes ( #17519 )
...
Closes #ISSUE
Release Notes:
- N/A
2024-09-07 02:36:55 +02:00
Danilo Leal
cfd43572c1
Tweak git blame tooltip design ( #17517 )
...
This PR adds some tiny design tweaks to the git blame tooltip. I guess
the most "notable", so to speak, thing is the addition of a divider
between the pull request and commit hash buttons. I was motivated to do
that because, at first, I was unsure what the copy button would copy
(the PR number or the hash?). From the position only, you eventually
figure out, but hopefully, the divider will help bumping this affordance
a bit more. I experimented with adding a labeled "Copy commit hash"
button, but that'd clutter the design too much. Additionally, the top
border on the footer should also slightly help indicating the commit
message area is scrollable.
| Before | After |
|--------|--------|
| <img width="518" alt="Screenshot 2024-09-06 at 4 54 41 PM"
src="https://github.com/user-attachments/assets/68d8335d-946d-4149-b241-6892c0b9577e ">
| <img width="513" alt="Screenshot 2024-09-06 at 4 55 26 PM"
src="https://github.com/user-attachments/assets/1dc1b47c-1b7f-4e94-a2c1-7e54b9940689 ">
|
---
Release Notes:
- N/A
2024-09-06 17:12:20 -03:00