425c8f8
Alphabetize actions (#18007)
Click to expand commit body
Drive-by maintenance PR while working on another PR. Release Notes: - N/A
Joseph T. Lyons created
425c8f8
Alphabetize actions (#18007)
Drive-by maintenance PR while working on another PR. Release Notes: - N/A
Joseph T. Lyons created
84f2e0e
Use buffer font in the terminal inline assistant (#18009)
This PR is a follow up to https://github.com/zed-industries/zed/pull/17875. Release Notes: - N/A
Danilo Leal created
1a62396
vim: Fix gv after indent/toggle comments (#17986)
Release Notes: - vim: Fixed `gv` after > and < in visual mode
Conrad Irwin created
3ac201e
gpui: Improve underline appearance (#17586)
ensi created
3b153a5
docs: Improve dark mode syntax highlighting (#18002)
This PR introduces [GitHub Light](https://github.com/highlightjs/highlight.js/blob/main/src/styles/github.css) and [GitHub Dark](https://github.com/highlightjs/highlight.js/blob/main/src/styles/github-dark.css) as the syntax highlighting themes for the corresponding modes. Release Notes: - N/A
Danilo Leal created
430ce07
docs: Improve warning callout docs (#17997)
This PR is a quick follow-up to https://github.com/zed-industries/zed/pull/1795. 😊 Release Notes: - N/A
Danilo Leal created
a149a50
docs: Fix links on the Telemetry page (#17995)
This PR tweaks some broken links in the Telemetry page as well as capitalizing instances of "Zed". Release Notes: - N/A
Danilo Leal created
f68f4ab
docs: Add tweaks to the REPL page (#18000)
Just capitalizing some things, making sure URLs are clickable links, and using the note blockquote callout when appropriate. Release Notes: - N/A
Danilo Leal created
aae26ee
go: Fix tasks when running tests/benchs in packages (#17998)
Turns out that #17645 reintroduced another regression and didn't catch all the regressions in #17108. Releases Notes: - Fixed Go tasks not working properly when running tests or benchmarks in subfolders/packages. Co-authored-by: Piotr <piotr@zed.dev>
Thorsten Ball and Piotr created
550ceec
docs: Update Ruby docs to provide more complete examples (#17987)
Closes #17917 Release Notes: - N/A
Thorsten Ball created
d4e10df
docs: Update rust-analyzer docs (#17988)
Release Notes: - N/A
Thorsten Ball created
2699fa8
windows: Fix `tailwind-language-server` (#17778)
Closes #17741 I'm not sure why, but ever since `tailwind` was upgraded to `0.24`, there have been occasional errors indicating that the `.ps1` file could not be found. After reviewing the `.ps1` script, it appears that it simply starts the server using `node`. This PR directly using the method from the script to start the server with `node`. Co-authored-by: Anay <me@anayparaswani.dev> Release Notes: - N/A --------- Co-authored-by: Anay <me@anayparaswani.dev>
Junkui Zhang and Anay created
8e30229
Fix nix shell (#17982)
Recently `cmake` was added as a build-time dependency to the wasm runtime. This adds that dependency to our nix shell env. Release Notes: - N/A
jvmncs created
2e72fd2
Replace Default trait bound with a zero function on Summary/Dimension (#17975)
This lets us provide a context when constructing the zero value. We need it so we can require anchors to be associated with a buffer id, which we're doing as part of simplifying the multibuffer API. Release Notes: - N/A Co-authored-by: Nathan <nathan@zed.dev>
Antonio Scandurra and Nathan created
4d074fc
editor: Fix rewrap with a non-empty selection (#17980)
This PR fixes an issue where rewrapping would not occur with a non-empty selection. It is only the expansion to neighboring lines that needs to be gated by an empty selection. Release Notes: - N/A
Marshall Bowers created
fbb402e
windows: Remove the use of `DispatcherQueue` and fix `FileSaveDialog` unresponsive issue (#17946)
Closes #17069, closes #12410 With the help of @kennykerr (Creator of C++/WinRT and the crate `windows-rs`, Engineer on the Windows team at Microsoft) and @riverar (Windows Development expert), we discovered that this bug only occurs when an IME with a candidate window, such as Microsoft Pinyin IME, is active. In this case, the `FileSaveDialog` becomes unresponsive—while the dialog itself appears to be functioning, it doesn't accept any mouse or keyboard input. After a period of debugging and testing, I found that this issue only arises when using `DispatcherQueue` to dispatch runnables on the UI thread. After @kennykerr’s further investigation, Kenny identified that this is a bug with `DispatcherQueue`, and he recommended to avoid using `DispatcherQueue`. Given the uncertainty about whether Microsoft will address this bug in the foreseeable future, I have removed the use of `DispatcherQueue`. Co-authored-by: Kenny <kenny@kennykerr.ca> Release Notes: - N/A --------- Co-authored-by: Kenny <kenny@kennykerr.ca>
Junkui Zhang and Kenny created
56f9e4c
Remove visible 'TBD' from docs (#17979)
Release Notes: - N/A
Mikayla Maki created
8e45bf7
Refactor prettier (#17977)
In preparation for making formatting work on ssh remotes Release Notes: - N/A Co-authored-by: Mikayla <mikayla@zed.dev>
Conrad Irwin and Mikayla created
db18f7a
rust: Fix doc comment highlighting (#17976)
This PR fixes an issue where `/` and `!` in Rust doc comments were being incorrectly highlighted as operators after #17734. We solve this by removing them from the operators list and using more scoped queries to highlight them. Release Notes: - N/A --------- Co-authored-by: Max <max@zed.dev>
Marshall Bowers and Max created
e791237
perplexity: Remove duplicate step and fix numbering in README (#17978)
Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Graham Taylor and Marshall Bowers created
51faf4a
Add missing cmake dependency to Nix build (#17968)
cmake is required during build of dependecies and thus needs to be supplied in nativeBuildInputs (dependecies required for build not during runtime). This fixes (sandboxed) nix builds of the project. Release Notes: - N/A
Marek Fajkus created
bdca342
Fix "view release notes" on dev/nightly builds (#17967)
Peter Tripp created
8cc6df5
SshLspAdapterDelegate (#17965)
Release Notes: - N/A
Conrad Irwin created
7814dd0
Update Rust crate sysinfo to 0.31.0 (#17733)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [sysinfo](https://redirect.github.com/GuillaumeGomez/sysinfo) |
workspace.dependencies | minor | `0.30.7` -> `0.31.0` |
---
### Release Notes
<details>
<summary>GuillaumeGomez/sysinfo (sysinfo)</summary>
###
[`v0.31.4`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0314)
[Compare
Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.31.3...v0.31.4)
- macOS: Force memory cleanup in disk list retrieval.
###
[`v0.31.3`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0313)
[Compare
Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.31.2...v0.31.3)
- Raspberry Pi: Fix temperature retrieval.
###
[`v0.31.2`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0312)
[Compare
Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.31.1...v0.31.2)
- Remove `bstr` dependency (needed for rustc development).
###
[`v0.31.1`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0311)
[Compare
Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.31.0...v0.31.1)
- Downgrade version of `memchr` (needed for rustc development).
###
[`v0.31.0`](https://redirect.github.com/GuillaumeGomez/sysinfo/blob/HEAD/CHANGELOG.md#0310)
[Compare
Source](https://redirect.github.com/GuillaumeGomez/sysinfo/compare/v0.30.13...v0.31.0)
- Split crate in features to only enable what you need.
- Remove `System::refresh_process`, `System::refresh_process_specifics`
and `System::refresh_pids`
methods.
- Add new argument of type `ProcessesToUpdate` to
`System::refresh_processes` and `System::refresh_processes_specifics`
methods.
- Add new `NetworkData::ip_networks` method.
- Add new `System::refresh_cpu_list` method.
- Global CPU now only contains CPU usage.
- Rename `TermalSensorType` to `ThermalSensorType`.
- Process names is now an `OsString`.
- Remove `System::global_cpu_info`.
- Add `System::global_cpu_usage`.
- macOS: Fix invalid CPU computation when single processes are refreshed
one after the other.
- Windows: Fix virtual memory computation.
- Windows: Fix WoW64 parent process refresh.
- Linux: Retrieve RSS (Resident Set Size) memory for cgroups.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
renovate[bot] , renovate[bot] , and Piotr Osiewicz created
8a6c65c
Allow task context providers to access project env (#17964)
Closes #13106 Release Notes: - Task context providers now have access to the local shell environment, allowing local rust tool installations to work Before: <img width="1136" alt="Screenshot 2024-09-17 at 22 09 38" src="https://github.com/user-attachments/assets/7d6c5606-4820-4f6f-92d1-c3d314b9ab42"> After: <img width="1136" alt="Screenshot 2024-09-17 at 22 09 58" src="https://github.com/user-attachments/assets/a962e607-15f5-44ce-b53e-a0dbe135f2d8">
Stanislav Alekseev created
d3d3a09
Add an `eval` binary that evaluates our semantic index against CodeSearchNet (#17375)
This PR is the beginning of an evaluation framework for our AI features. Right now, we're evaluating our semantic search feature against the [CodeSearchNet](https://github.com/github/CodeSearchNet) code search dataset. This dataset is very limited (for the most part, only 1 known good search result per repo) but it has surfaced some problems with our search already. Release Notes: - N/A --------- Co-authored-by: Jason <jason@zed.dev> Co-authored-by: Jason Mancuso <7891333+jvmncs@users.noreply.github.com> Co-authored-by: Nathan <nathan@zed.dev> Co-authored-by: Richard <richard@zed.dev>
Max Brunsfeld , Jason , Jason Mancuso , Nathan , and Richard created
06a13c2
svelte: Bump to v0.2.0 (#17962)
This PR bumps the Svelte extension to v0.2.0. Changes: - https://github.com/zed-industries/zed/pull/17529 Release Notes: - N/A
Marshall Bowers created
c28b22d
Update typos-cli to v1.24.6. Add scripts/check-spelling. Fix typos (#17961)
Peter Tripp created
447a5d6
Fix the rendering of warning text in our docs (#17958)
cc: @danilo-leal Before: <img width="753" alt="Screenshot 2024-09-17 at 10 53 13 AM" src="https://github.com/user-attachments/assets/43a2ef89-4a90-46d4-9e90-350fdd1b46bb"> After: <img width="759" alt="Screenshot 2024-09-17 at 10 53 35 AM" src="https://github.com/user-attachments/assets/49f2a250-d339-4f61-afda-3ed87181b018"> Light mode: <img width="757" alt="Screenshot 2024-09-17 at 10 54 17 AM" src="https://github.com/user-attachments/assets/4d425e9b-3f97-44c4-ba86-d84dc7349060"> Release Notes: - N/A
Mikayla Maki created
869a72b
ruff: Bump to v0.1.0 (#17960)
This PR bumps the Ruff extension to v0.1.0. Changes: - https://github.com/zed-industries/zed/pull/15852 - https://github.com/zed-industries/zed/pull/16955 - https://github.com/zed-industries/zed/pull/17883 Release Notes: - N/A
Marshall Bowers created
ab7a7d3
docs: Mention how to open the Prompt Library (#17957)
Peter Tripp created
fc43b21
ruff: Fix wrong Ruff path on Windows (#17883)
Log: 2024-09-16T22:32:04.7715712+08:00 [ERROR] failed to start language server "ruff": failed to spawn command. path: "...\\AppData\\Local\\Zed\\extensions\\work\\ruff\\ruff-0.6.5\\ruff-x86_64-pc-windows-msvc\\ruff" The right path: `...\\AppData\\Local\\Zed\\extensions\\work\\ruff\\ruff-0.6.5\\ruff.exe` Release Notes: - N/A
ClanEver created
e6c4076
Add cmake to dev build instructions (#17943)
Release Notes: - N/A
Richard Feldman created
7246a0f
macos: Use ~/Library/Caches/Zed instead of ~/.cache/zed (#17949)
Peter Tripp created
345efa4
gpui: Fix img element to render correct SVG color (#15488)
Release Notes: - N/A It should convert RGBA to BGRA. > I added an example color svg, that was I make based on [Lucide grip icon](https://lucide.dev/icons/grip). ## Before <img width="692" alt="image" src="https://github.com/user-attachments/assets/5eb03606-76ce-4049-b3ad-8d1084a4fa55"> ## After <img width="695" alt="image" src="https://github.com/user-attachments/assets/650dd411-2095-4e92-b3fd-8e91c6954aa3"> Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Jason Lee and Marshall Bowers created
5cdca6d
multi_buffer: Fix a panic when expanding an excerpt with the cursor at the end (#17955)
This PR fixes a panic when expanding an excerpt within a multibuffer that could occur when the cursor was at the end of the buffer. You can reproduce this by opening a multibuffer, putting your cursor at the very end of that buffer, and then expanding the excerpt (Shift + Enter). Release Notes: - Fixed a panic that could occur when expanding an excerpt within a multibuffer when the cursor was at the end of the excerpt. Co-authored-by: Antonio <antonio@zed.dev>
Marshall Bowers and Antonio created
ccfd4b1
rust: Test rust-analyzer binary after finding in PATH (#17951)
Release Notes: - N/A --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Thorsten Ball and Conrad Irwin created
ee8668e
Bind `editor::Rewrap` to `alt-q` (#17953)
This PR adds a keybinding for the `editor: rewrap` command. It is bound to `alt-q`, by default. In Vim mode, it is bound to `g q`. Release Notes: - N/A
Marshall Bowers created
ac5c35b
theme: Fix casing of "ANSI" in doc comments (#17952)
This PR fixes the casing of "ANSI" in some doc comments after #17611. Release Notes: - N/A
Marshall Bowers created
0070635
Styling option for separating terminal view background from background color (#17611)
Closes #17313 Release Notes: - Added theme styling option to separate terminal background view from terminal background color, for transparent terminal backgrounds
Albert Marashi created
3d69942
Use dev icons for dev bundles (#17944)
Follow-up of https://github.com/zed-industries/zed/pull/17486/ actually using the dev icons for dev bundles Release Notes: - N/A
Kirill Bulatov created
76603a5
ocaml: Bump to v0.1.0 (#17945)
This PR bumps the OCaml extension to v0.1.0. Changes: - https://github.com/zed-industries/zed/pull/16955 - https://github.com/zed-industries/zed/pull/17886 Release Notes: - N/A
Marshall Bowers created
accff82
svelte: Migrate to `tree-sitter-grammars/tree-sitter-svelte` (#17529)
> [!NOTE]
> The https://github.com/tree-sitter-grammars/tree-sitter-svelte
repository seems to be more well maintained, with higher quality code,
and as per https://github.com/zed-extensions/svelte/issues/1 it was
suggested that we swap to this repository for Svelte grammars
- Closes https://github.com/zed-industries/zed/issues/17310
- Closes https://github.com/zed-industries/zed/issues/10893
- Closes https://github.com/zed-industries/zed/issues/12833
- Closes https://github.com/zed-extensions/svelte/issues/1
- Closes https://github.com/zed-industries/zed/issues/14943
- Closes https://github.com/zed-extensions/svelte/issues/2
- Added: buffer/file symbol outlines for `.svelte` (`outlines.scm`)
- Improved: Attribute directives & modifiers in `.svelte` files can be
styled independently.
- Fixed: issue where svelte expression inside quotes failed parsing
- Improved: Svelte components in Markup are styled differently from
tags.
- Added: Support for Svelte 5 syntax (`{#snippet children()}`, `{@render
foo()`)
- Change: Svelte now using
[tree-sitter-grammars/tree-sitter-svelte](https://github.com/tree-sitter-grammars/tree-sitter-svelte)
for language highlighting
- Added: Support for typescript syntax in svelte expressions


Release Notes:
- N/A
---
**tree-sitter-grammar things to improve**
- [ ] snippet functions aren't being treated as JS code
- [ ] we should be able to detect @component comments and treat them as
markdown
- [x] `foo:bar` style/class/prop directives
- [x] `--foo="..."` var fields
- [ ] snippet/if blocks's children may need to be indented a little
further
Will implement some of the rest of these in a separate PR
---------
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Albert Marashi and Marshall Bowers created
27f0995
Improve CSS highlighting for property_name (#17324)
Peter Tripp created
e88b48a
ocaml: Fix indentation in files (#17942)
This PR fixes the indentation in the Dune-related files after https://github.com/zed-industries/zed/pull/17886. Release Notes: - N/A
Marshall Bowers created
d5003e1
Update C++ Tree-sitter queries (#17471)
Closes #16443 Release Notes: - Fixed C++ functions being wrongly tagged as variables when called after two or more scope resolution operators. - Added a "namespace" tag for highlighting purposes Before :  After : 
VacheDesNeiges created
7c54965
docs: Add dark mode (#17940)
Closes https://github.com/zed-industries/zed/issues/17911 This PR enables dark mode on the documentation. This is done without any special plugins, just pure JavaScript and CSS variables. I may open fast-follow PRs to fine-tune design and code details that haven't been super polished yet. For example, when switching to dark mode, the `class` attribute on the `html` tag would change immediately, whereas other attributes such as `data-theme` and `data-color-scheme` would require a full refresh. This seems to be resolved, but not 100% confident yet. --- Release Notes: - Enabled dark mode on the documentation
Danilo Leal created
10cfaec
ocaml: Add Dune language support (#17886)
This uses my fork of the dune tree-sitter grammar to include the generated files Release Notes: - N/A
Stanislav Alekseev created
469dfe7
ssh: Handle `~` in ssh filenames (#17939)
This allows users to open `ssh://user@host/~/my-home-dir-folder`. Release Notes: - N/A Co-authored-by: Conrad <conrad@zed.dev>
Thorsten Ball and Conrad created
ecd1830
Fix opening file with colon (#17281)
Closes #14100 Release Notes: - Fixed unable to open file with a colon from Zed CLI ----- I didn't make change to tests for the first two commits. I changed them to easily find offending test cases. Behavior changes are in last commit message. In the last commit, I changed how `PathWithPosition` should intreprete file paths. If my assumptions are off, please advise so that I can make another approach. I also believe further constraints would be better for `PathWithPosition`'s intention. But people can make future improvements to `PathWithPosition`.
Erick Guan created