88d36d8
Restore missing fifo check (#16931)
Click to expand commit body
Fixes a merge conflict between #16915 and #16039 Release Notes: - N/A
Conrad Irwin created
88d36d8
Restore missing fifo check (#16931)
Fixes a merge conflict between #16915 and #16039 Release Notes: - N/A
Conrad Irwin created
9662829
vim: Add Smart Relative Line Number (#16567)
Closes #16514 Release Notes: - Added Vim: absolute numbering in any mode except `insert` mode --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
0x2CA and Conrad Irwin created
26d9432
REPL: Refactor output (#16927)
Shuffle `outputs.rs` into individual `outputs/*.rs` files and start documenting them more. Release Notes: - N/A
Kyle Kelley created
bea6786
Fix git repository state corruption when work dir's metadata is updated (#16926)
Fixes https://github.com/zed-industries/zed/issues/13176 Release Notes: - Fixed an issue where git state would stop updating if the root directory of a git repository was updated in certain ways
Max Brunsfeld created
2de420a
assistant: Fix model selector check icon overflow (#16716)
Release Notes: - Fixed assistant model selector check icon overflow for long model names
moshyfawn created
f64f85e
Do not hold any tasks by default and no other terminals (#16847)
Kirill Bulatov created
29745ae
blade: Align rasterized path bounds to whole pixels (#16784)
Related: https://github.com/zed-industries/zed/pull/15822 | Before | After | | --- | --- | | |  | |  |  | Release Notes: - N/A
apricotbucket28 created
6afb36f
Reorganize the context menu a bit (#16773)
Follow up to #16080 The idea is that the current context menu became a bit top-heavy over time. Let's reorganisze it into four sections: 1. Finding symbols 2. Editing using lsp and similar 3. Copy/Cut/Paste 4. Getting file location Release Notes: - Reorganized context menu to be a bit less top heavy and have more logical parts Before (a giant part on top and two small ones on the bottom): <img width="248" alt="Screenshot 2024-08-23 at 21 02 33" src="https://github.com/user-attachments/assets/87a136c7-df16-4032-ba02-dea087fd8445"> After (much more balanced): <img width="250" alt="Screenshot 2024-08-23 at 21 01 28" src="https://github.com/user-attachments/assets/4aa48b8a-99f3-4315-b325-625a47ecd5b8">
Stanislav Alekseev created
b99bf92
Implement "join pane into next" (#16077)
Closes #12409 Release Notes: - Added "join pane into next" action ([#12409](https://github.com/zed-industries/zed/issues/12409)) https://github.com/zed-industries/zed/assets/727422/00cc8599-e5d6-4fb8-9f0d-9b232d2210ef --------- Co-authored-by: Kirill Bulatov <kirill@zed.dev>
Toni Cárdenas and Kirill Bulatov created
f417893
Avoid unwrap of Worktree::root_entry in resolve_path_in_worktrees (#16917)
It looks like this unwrap was introduced in https://github.com/zed-industries/zed/pull/16534. I think a worktree's `root_entry` can be null if it represents a non-existent file that has not yet been saved. I hit a panic due to the `unwrap` a couple of times on nightly. Release Notes: - N/A
Max Brunsfeld created
ef22372
SSH remote search (#16915)
Co-Authored-By: Max <max@zed.dev> Release Notes: - ssh remoting: add project search --------- Co-authored-by: Max <max@zed.dev>
Conrad Irwin and Max created
0332eaf
Remove reference to Copilot plugin (#16916)
Peter Tripp created
c2835df
Improve buffers used by Zed for discoverability/visibility (#16906)
- Fixed Telemetry log being marked dirty. - Fixed asset buffers (default settings and default keymap) showing 'untitled' in breadcrumbs
Peter Tripp created
93a7682
collab: Count active users based on the tokens per minute measure (#16911)
This PR fixes an issue where active user counts were being computed across _all_ measures instead of the per-minute measures. We now compute them using the tokens per minute measure, as we're concerned with usage in recent minutes. Release Notes: - N/A
Marshall Bowers created
3ddec48
Remove block step from delete comments workflow (#16910)
The block step wasn't working, and it also appears that most of these spam comments are coming from compromised accounts, so I think just deleting the comments is okay for now. Release Notes: - N/A
jvmncs created
e2635a6
Add command to copy current file:line for working with external tools (#14793)
Closes #14787. I made a quick draft implementation of this feature request: https://github.com/zed-industries/zed/issues/14787 I know how to use use gdb well, so lacking a built-in debugger is OK. BUT... Speaking personally, setting breakpoints is 50% of what I want an IDE to do for me when debugging. Having a feature where I can click, copy, "b [paste]", is a huge step up from typing the whole thing in manually. I figure this must be useful for other external tools, or even just regular-human-communication too. Open Questions: * Does this belong in the right click menu? (I put it next to "Copy Permalink" which is similar.) * Probably not useful enough to get a default keymap? * Relative vs absolute path? * Does this need tests? Release Notes: - Added `editor: copy file location` command to copy the current file location (FILE:LINE) to the clipboard ([#14787](https://github.com/zed-industries/zed/issues/14787)). --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Scott Lembcke and Marshall Bowers created
14d0f4f
ruby: Upgrade `zed_extension_api` to v0.1.0 (#16907)
This pull request upgrades the Ruby extension to use v0.1.0 of the Zed extension API. Release Notes: - N/A
Vitaly Slobodin created
eb0a01e
Relax comment restrictions in delete_comments action (#16899)
The script no longer triggers on harmless words like "Download". Release Notes: - N/A
jvmncs created
635e7f6
docs: Remove reference to nonexistent vim key binding (#16884)
That line was accidentally introduced in https://github.com/zed-industries/zed/pull/12789. Release Notes: - N/A
ShikChen created
e8c6c53
Fix delete comments workflow (#16896)
Release Notes: - N/A
jvmncs created
d50cb17
docs: Install `libxkbcommon` (#16897)
This PR installs the development packages for `xkbcommon` and `xkbcommon-x11` that are needed for building the `docs_preprocessor`. Release Notes: - N/A
Marshall Bowers created
4c7c8b0
ruby: Update tree-sitter grammar for the Ruby language (#16892)
Closes [#7776](https://github.com/zed-industries/zed/issues/7776) Hi, this pull request updates the tree-sitter grammar for the Ruby language. The changes between two version do not have any breaking change: https://github.com/tree-sitter/tree-sitter-ruby/compare/dc2d7d6b50f9975bc3c35bbec0ba11b2617b736b..7dbc1e2d0e2d752577655881f73b4573f3fe85d4 Release Notes: - N/A
Vitaly Slobodin created
5f6726a
ruby: Rename "rbs" language to "RBS" (#16893)
Rename rbs to RBS. This is primarily a UX change, as the proper name for the Ruby Type Signature language is RBS, not rbs. Screenshots: Before:  After:  Release Notes: - N/A
Vitaly Slobodin created
2f08a0a
Fix fifo files hanging the project wide search (#16039)
Release Notes: - Fixed the issue related to the project wide search being stuck when project contains .fifo files - Might potentially solve the following issue https://github.com/zed-industries/zed/issues/7360
TheCub3 created
aaddb73
assistant: Refesh message headers only for dirty messages (#16881)
We've noticed performance issues in long conversations with assistants; the profiles pointed to slowiness in WrapMap (and indeed there were some low hanging fruits that we picked up in https://github.com/zed-industries/zed/pull/16761). That however did not fully resolve the issue, as WrapMap still cracked through in profiles; basically, the speedup I've landed has just moved the post elsewhere. The higher level issue is that we were trying to refresh message headers for all messages, irrespective of whether they've actually needed to be updated. This PR fixes that by using `replace_blocks` API where possible. Release Notes: - Improved performance of Assistant Panel with long conversations.
Piotr Osiewicz created
2c541ae
docs: Override `.cargo/config.toml` (#16889)
Still trying to work through issues building the docs. Trying to see if using a simpler Cargo config (that doesn't use `mold` flags) helps. Release Notes: - N/A
Marshall Bowers created
afe4d8c
yaml: Add single quotes to list of brackets (#16859)
Closes #16854 Release Notes: - Single quotes are now auto-closable in YAML files
Thorsten Ball created
73bde39
docs: Set up mold for `docs_preprocessor` (#16888)
This PR sets up `mold` in the GitHub Action for deploying the docs, since we need it to build `docs_preprocessor` due to the flags we use on Linux. Release Notes: - N/A
Marshall Bowers created
3b0eb60
Flatten `General` and `Assistant` navigation in docs (#16885)
This PR flattens out the docs nav, so sections like General and Assistant have a single level of navigation items. Also renames the `Assistant` page -> `Overview` to be more consistent with other sections. | Before | After | |--------|-------| |  |  | Release Notes: - N/A
Nate Butler created
7a964ff
Don't rely on relative path for docs preprocessor (#16883)
Reapplies #16700 with a corrected command. Now it no longer relies on a relative path. Thanks @maxdeviant for the quick help 🙏 Release Notes: - N/A
Nate Butler created
a87076e
Add GH action to delete and block malware comments (#16886)
Adds a GitHub action to detect, delete, and block comments linking to mediafire malware campaign. Release Notes: - N/A
jvmncs created
d67d44f
extension: Add more logging when building extensions (#16794)
This helps debug what steps are taken and where the compiled extension ended up. Also remove duplicate "compiling Rust extension" / "compiling rust extension" text - it's confusing. Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Berkus Decker and Marshall Bowers created
093f131
Add `zed-editor` package and overlay to flake (#16783)
Adds a `zed-editor` package to the flake, along with exported overlay. Uses [`crane`](https://crane.dev) to avoid issues with updating git-sourced dependencies' hashes. Crane will also be useful if we want to export separate packages for `stable`, `preview`, and `nightly` in the future. Release Notes: - Added a default package + overlay to Zed's Nix flake. This is useful for users wanting to pilot nightly builds of Zed on NixOS.
jvmncs created
7936fe4
ollama: Support model context_size (num_ctx) >2048 (#16877)
Peter Tripp created
2a03dde
Revert "Add `docs_preprocessor` crate to support Zed Docs" (#16880)
Temporarily revert #16700 to deal with this error: `error: manifest path `../crates/docs_preprocessor/Cargo.toml` does not exist` as it was causing the docs-preprocessor not to run, meaning unexpanded templates were showing up in the public docs. Reverts zed-industries/zed#16700 Release Notes: - N/A
Nate Butler created
c658ad8
elixir: Bump to v0.0.9 (#16879)
This PR bumps the Elixir extension to v0.0.9. Changes: - https://github.com/zed-industries/zed/pull/16819 Release Notes: - N/A
Marshall Bowers created
46bb04a
Add `docs_preprocessor` crate to support Zed Docs (#16700)
This PR adds a mdbook preprocessor for supporting Zed's docs.
This initial version adds the following custom commands:
**Keybinding**
`{#kb prefix::action_name}` (e.g. `{#kb zed::OpenSettings}`)
Outputs a keybinding template like `<kbd
class="keybinding">{macos_keybinding}|{linux_keybinding}</kbd>`. This
template is processed on the client side through `mdbook` to show the
correct keybinding for the user's platform.
**Action**
`{#action prefix::action_name}` (e.g. `{#action zed::OpenSettings}`)
For now, simply outputs the action name in a readable manner. (e.g.
zed::OpenSettings -> zed: open settings)
In the future we'll add additional modes for this template, like create
a standard way to render `{action} ({keybinding})`.
## Example Usage
```
To open the assistant panel, toggle the right dock by using the {#action workspace::ToggleRightDock} action in the command palette or by using the
{#kb workspace::ToggleRightDock} shortcut.
```
Release Notes:
- N/A
Nate Butler created
5ee4c03
assistant: Normalize line endings for prompts loaded from templates (#16808)
Closes #16804 Similar to #15708, when reading prompts from a template, both Windows and Linux might end up with `CRLF (\r\n)` line endings, which can result in a panic. Release Notes: - N/A
张小白 created
a28700a
theme: Fallback to opaque color for `title_bar.inactive_background` (#16833)
Fixes https://github.com/zed-industries/zed/issues/16699, fixes https://github.com/zed-industries/zed/issues/15112, fixes https://github.com/zed-industries/zed/issues/14955 | Before | After | |--------|--------| |  |  | Release Notes: - Linux: Fixed title bar becoming transparent when the window lost focus.
apricotbucket28 created
55dda0e
A set of small fixes (#16849)
* Linux Clippy lints fixed * Zed local tasks are now simpler to rerun * Zed's `release-fast` build profile keeps the debug info so it's possible to properly debug things without altering the sources Release Notes: - N/A
Kirill Bulatov created
1a2a538
Improve Linux terminal keymap and context menu (#16845)
Follow-up https://github.com/zed-industries/zed/pull/16085 that fixes the search deploy to be actually a part of the terminal-related bindings. Part of https://github.com/zed-industries/zed/issues/16839 Also * fixes few other bindings to use `shift` and avoid conflicts with the existing key bindings. * adds terminal inline assist to the context menu and makes both the menu and the button to dynamically adjust to `assist.enabled` settings change It is still unclear to me, why certain labels for certain bindings are wrong (it's still showing `ctrl-w` for closing the terminal tab, and `shift-insert` instead of `ctrl-shift-v` for Paste, while Insert is near and has a `ctrl-shift-c` binding shown) but at least the keys work now. Release notes: - Improved Linux terminal keymap and context menu
Kirill Bulatov created
28271a9
Display buffer/project search entries in the outline panel (#16589)
Prototypes a way to display new entities in the outline panel, making it less outline. The design is not final and might be adjusted, but the workflow seems to be solid enough to keep and iron it out. * Now, when any project search buffer is activated (multi buffer mode), or buffer search is open (singleton buffer mode, but is available for search usages multi buffer too — in that case buffer search overrides multi buffer's contents display), outline panel displays all search matches instead of the outline items. Outline items are not displayed at all during those cases, unless the buffer search is closed, or a new buffer gets opened, of an active buffer search matches zero items. https://github.com/user-attachments/assets/4a3e4faa-7f75-4522-96bb-3761872c753a * For the multi buffer mode, search matches are grouped under directories and files, same as outline items  * For buffer search , search matches are displayed one under another  For both cases, the entire match line is taken and rendered, with the hover tooltip showing the line number. So far it does not look very bad, but I am certain there are bad cases with long lines and bad indents where it looks not optimal — this part most probably will be redesigned after some trial. Or, maybe, it's ok to leave the current state if the horizontal scrollbar is added? Clicking the item navigates to the item's position in the editor. Search item lines are also possible to filter with the outline panel's filter input. * Inline panel is now possible to "pin" to track a currently active editor, to display outlines/search results for that editor even if another item is activated afterwards:  This is useful in combination with project search results display: now it's possible to leave the search results pinned in the outline panel and jump to every search result and back. If the item the panel was pinned to gets closed, the panel gets back to its regular state, showing outlines/search results for a currently active editor. Release Notes: - Added a way to display buffer/project search entries in the outline panel
Kirill Bulatov created
dd8d52f
elixir: Make files required by elixir-ls executable (#16819)
Closes: - #15802 This PR fixes an issue in the `elixir-ls` language server installation where some of the required scripts was not being made executable when installed from GitHub. Release Notes: - Fixed elixir-rs files not being executable ([#15802](https://github.com/zed-industries/zed/issues/15802))
Kai created
5e55d55
language: Do not fetch diagnostics when iterating over text without language awareness (#16824)
This PR fixes a regression from https://github.com/zed-industries/zed/pull/15646 where we've started fetching diagnostic spans unconditionally (whereas previously that wasn't done when iterating over raw text). Closes #16764 Release Notes: - Fixed performance regression in handling buffers with large quantities of diagnostics.
Piotr Osiewicz created
14f8d3a
gpui: Send correct kill signal on Linux (#16797)
should be kill -0 (zero) instead Related to #14291 and #14310 Release Notes: - N/A
Walter de Jong created
29f97e2
docs: update broken link (#16788)
Release Notes: - N/A
Junseong Park created
340662e
collab: Add lifetime spending limit for LLM usage (#16780)
This PR adds a lifetime spending limit on LLM usage. Exceeding this limit will prevent further use of the Zed LLM provider. Currently the cap is $1,000. Release Notes: - N/A
Marshall Bowers created
77bb60f
Add default terminal binding for buffer search on Linux (#16085)
Release Notes: - N/A
Vitor Ramos created
352c95c
Add injections for GraphQL template literals and function calls (#16368)
This PR adds syntax highlighting support for `gql` and `graphql` tagged literals. It also adds highlighting for `graphql()` and `gql()` function calls, which are another common way to define queries. Note: I am using the [`graphql`](https://github.com/11bit/zed-extension-graphql) extension to provide syntax highlighting Before: <img width="413" alt="image" src="https://github.com/user-attachments/assets/114a98be-9790-4cdf-ba98-553f777ff08a"> After: <img width="418" alt="image" src="https://github.com/user-attachments/assets/98fc5dfd-d1a3-45c4-be8e-063cf68b6e6e"> Release Notes: - Added syntax highlighting for `graphql` tagged template literals and function calls in javascript, typescript and tsx languages.
Affan Shahid created
938d93a
gpui: Add `truncate` and `text_ellipsis` to TextStyle (#14850)
Release Notes: - N/A Ref issue #4996 ## Demo ``` cargo run -p gpui --example text_wrapper ``` https://github.com/user-attachments/assets/a7fcebf7-f287-4517-960d-76b12722a2d7 --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Jason Lee and Marshall Bowers created