46c0aa5
Update README.md
Mikayla Maki created
46c0aa5
Update README.md
Mikayla Maki created
2db06c1
assistant: Remove unneeded wrapping `div` in `ModelSelector` (#14024)
This PR removes an unneeded wrapping `div` in the `ModelSelector`. Release Notes: - N/A
Marshall Bowers created
c59d5fb
Update .dockerignore (#14016)
Release Notes: - N/A
Joe Fitzgibbons created
8df098f
Update linux.md
Mikayla Maki created
639b21a
Update README.md
Mikayla Maki created
c65673f
Fix linux prompts (#14021)
Release Notes: - N/A
Conrad Irwin created
6c9da83
Update README.md
Mikayla Maki created
a173bee
Set minversion to next Zed Linux release
Mikayla Maki created
002ce6c
Update README.md
Mikayla Maki created
2c30b88
Update README.md
Mikayla Maki created
0d527df
Better zsh install fix (#14017)
Fix it on linux too :facepalm: Release Notes: - N/A
Conrad Irwin created
110ce8a
Python: Fix auto close for single quotes (#14014)
Fixes #13972
Peter Tripp created
c6b9f19
Remove additional wrapping elements in the chat panel (#14013)
This PR removes some wrapping elements that were used inside of the chat panel. To facilitate this, the `Label` component now has a `weight` method to change the font weight. Release Notes: - N/A
Marshall Bowers created
df935df
windows: Obtain mouse double-click information from the system instead of hardcoding (#13391)
Release Notes: - N/A
张小白 created
68b5ea4
windows: Fix and simplify title bar padding (#13420)
This PR fixes the off by one pixel of the top client rect when not maximized due to the added border. It also simplifies and properly fixes the title bar padding problem when maximized, it is now properly taken care of in GPUI rather then adding the padding in the UI. Release Notes: - N/A
Matin Aniss created
5e1521e
Change the default shortcut for git blame on Linux (#13637)
Zed already has a shortcut assigned to ctrl-alt-g and it's mapped to `search::SelectNextMatch`. Having another multi shortcut with the same prefix makes `ctrl-alt-g` to have a very noticeable delay when pressed. This commit changes the default shortcut for git blame to `alt-g b` Release Notes: - N/A
Aleksei Gusev created
ba28827
Add support for numpad keys on linux (#14018)
Fixes https://github.com/zed-industries/zed/issues/12117 Partial application of the changes in https://github.com/zed-industries/zed/pull/13396 Release Notes: - N/A
Mikayla Maki created
c22dbbe
windows: Fix `tailwindcss-language-server` (#13891)
We should run this server with `powershell`, or we will get some runtime errors.  Release Notes: - Fixed `tailwindcss-language-server` on Windows.
张小白 created
8f29ff8
windows: Fix font clipping issue (#13854)
Closes #12737 . Left before this PR, right after.  Release Notes: - Fixed font rendering clipping issue on Windows.(#12737 )
张小白 created
ae414e2
gpui: Fix hide titlebar on Windows, with `titlebar: None` option (#13975)
Release Notes: - N/A Ref the macOS Window: When the `titlebar` is none, the titlebar should be hidden. https://github.com/zed-industries/zed/blob/adaa4831766cde63b408909cf65cdeb1641e5888/crates/gpui/src/platform/mac/window.rs#L516-L528 ``` cargo run -p gpui --example window_positioning ``` ## Before  ## After <img width="466" alt="image" src="https://github.com/zed-industries/zed/assets/5518/176ce4ea-14e9-44c8-8f2d-01e20ff3e543">
Jason Lee created
2dd4867
Reveal in files instead of Finder (#13432)
fixes: #12776 Release Notes: - Renamed `editor::RevealInFinder` to `editor::RevealInFileManager` --------- Co-authored-by: Mikayla Maki <mikayla@zed.dev>
francesco-gaglione and Mikayla Maki created
f44e81b
Add more package managers to docs (#14015)
Release Notes: - N/A
Mikayla Maki created
c093bc8
Fix search/replace start of line anchor (#13920)
This is related to #9428 I noticed that doing a search and replace for the beginning of a line `^` results in the trailing line being included in the search. This seems to be because of the way the range is generated for generating matches being the up to the start of the trailing line rather than up to the end of the last line. I added a test and took a stab at fixing it but it is a bit yolo as this is the first time I've seen this codebase.
Andy Weiss created
09e7b48
lsp: Add support for ShowMessage notification (#14012)
When "one newer language" sends these messages, "one newer editor" will display a pop-up for users to see. :) Related to https://github.com/gleam-lang/gleam/issues/3274  Release Notes: - A certain popular language recently had to work around a missing LSP notification. This has been fixed
Piotr Osiewicz created
8cfa690
Fix transparency (#14010)
Release Notes: - (preview only) Fix transparent themes
Conrad Irwin created
3cdd465
gpui: Make style macros more composable (#14007)
This PR begins the process of breaking up the `style_helpers!` macro
into smaller macros that can be used to generate methods for a related
subset of styles.
The style method macros also now accept an optional `visibility`
parameter to control the visibility of the generated methods. This
allows for adding these methods to a struct instead of a just a trait.
For example, to expose just the padding styles on a `Facepile` we can do
this:
```rs
impl Facepile {
fn style(&mut self) -> &mut StyleRefinement {
self.base.style()
}
gpui::padding_style_methods!({
visibility: pub
});
}
```
Release Notes:
- N/A
Marshall Bowers created
8203b68
windows: Remove more `todo`s (#13818)
Release Notes: - N/A
张小白 created
ce7074c
Fix panic when opening the same context twice (#14004)
Release Notes: - Fixed a crash that occurred when opening the same context twice in the assistant panel (preview-only).
Antonio Scandurra created
6cc8412
Prevent dumping of temporary files in config_dir (#14002)
Move telemetry temp files from `config_dir` to `log_dir`. Fixes #7155 - On MacOS: from `~/.config/zed` to `~/Library/Logs/Zed` - On Linux: from `~/.config/zed` to `.local/share/zed/logs` (or `$FLATPAK_XDG_DATA_HOME/zed/logs`). Release Notes: - Fixed telemetry putting temporary files in config_dir ([#7155](https://github.com/zed-industries/zed/issues/7155)).
Peter Tripp created
2a97aad
Fix scrolling sticking to top (#13874)
The problem seemingly was that scrolling only started after autoscroll has finished. I have added a function to forcefully stop it, which I call when scroll event happens Release Notes: - Fixed delay when changing scrolling direction (#13720) --------- Co-authored-by: Piotr <piotr@zed.dev>
Stanislav Alekseev and Piotr created
275dd3f
Remove extraneous `Cargo.lock` files (#14001)
This PR removes some extraneous `Cargo.lock` files for the `storybook` and `sqlez` crates. These lockfiles were not used, as everything uses the workspace's `Cargo.lock`. Release Notes: - N/A
Marshall Bowers created
3cb2a14
gpui_macros: Refactor style helpers (#13999)
This PR refactors the style definitions in the `gpui_macros` style helpers to use structs instead of tuples for additional clarity. Release Notes: - N/A
Marshall Bowers created
dd9b2e2
PR template: Make issue numbers double clickable (no brackets) (#13989)
Release Notes: - N/A
Peter Tripp created
b691d1b
Improve experience when themes provide transparent status colors (#13996)
We shouldn't assume all themes will give us solid status color backgrounds. This change makes it so the status color renders on top of a normal elevated surface background. #### Before | After (Transparent status background color – Fixed)   --- #### Before | After (Solid status background color – No change)   Release Notes: - Improved support for transparent status colors in themes.
Nate Butler created
bc0359a
gpui: Input example log keystrokes (#13963)
Release Notes: - N/A
Conrad Irwin created
23c84f8
linux: Treat fullscreen as tiled on X11 and prevent resizing while maximized (#13990)
Two quick fixes for issues I noticed: 1. Fullscreening an unmaximized X11 window still showed rounded window corners and allowed resizing 2. Maximized windows still allowed for resizing on corners due to missing checks  Release Notes: - N/A
apricotbucket28 created
2922617
docs: Add tiny tweaks to the Linux page (#13994)
Release Notes: - N/A
Danilo Leal created
9a523ef
Fix keybind conflicts (atom mac/linux default) (#13988)
- atom(mac): Cmd+j conflicts with `workspace: ToggleBottomDock` in default map. Revert. - default(linux): `ctrl-shift-t` conflict. Move `project_symbols::Toggle` to `ctrl-t` to match vscode linux. Leave `pane::ReopenClosedItem` at `ctrl-shift-t` to match vscode/chrome on linux. - Fixes #13973
Peter Tripp created
9b68865
Add a way to filter items in the outline panel (#13984)
https://github.com/zed-industries/zed/assets/2690773/145a7cf2-332c-46c9-ab2f-42a77504f54f Adds a way to filter entries in the outline panel, by showing all entries (even if their parents were collapsed) that fuzzy match a given query. Release Notes: - Added a way to filter items in the outline panel
Kirill Bulatov created
9a6f30f
Snippets: Move snippets into the core of editor (#13937)
Release Notes: - Move snippet support into core editor experience, marking the official extension as deprecated. Snippets now show up in any buffer (including plain text buffers).
Piotr Osiewicz created
b3dad0b
Revert "x11: Differentiate between mouse and keyboard focus #13943" (#13974)
This reverts #13943 and reopens #13897 since the fix in #13943 comes with a regression: Sometimes Zed loses keyboard focus and can't be restored. I haven't figured out yet exactly when and how this happens and can't reliably reproduce it yet, but there's something off with focus handling. One reliable way to reproduce _one_ of the problems: 1. Open two zed windows 2. Focus one Zed window 3. Hover with the mouse over the other 4. Try to type in the window that should still be focused So, to be careful, I'm going to revert the PR first, since I couldn't find an obvious fix yet. If we do find a fix, we can unrevert. Release Notes: - N/A
Thorsten Ball created
18d6be2
Add keyboard shortcuts for the prompts on Linux (#13915)
This change adds ability to choose any action from prompts, not just the default one and cancel as Zed has right now. For example, when a user tries to close a file with edits in it the prompt offers "Don't save" option that can be selected only with mouse. Now you can use arrows, tab/shift-tab to pick action and enter/space to confirm it. Fixes [#13906](https://github.com/zed-industries/zed/issues/13906) Release Notes: - Added keyboard navigation in the prompts on Linux ([#13906](https://github.com/zed-industries/zed/issues/13906)). Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
Aleksei Gusev and Thorsten Ball created
5e1c690
Add Nix/NixOS dev-shell (#13407)
This PR adds a Nix/NixOS development-shell (`shell.nix`), which is based on the upstream [nixpkgs](https://github.com/NixOS/nixpkgs/blob/c5d4d458115263ec3ee0efd974e6aeb2f787a0ed/pkgs/by-name/ze/zed-editor/package.nix), as well as its corresponding `flake.nix` file. To use it, run either the `nix-shell` command (uses the `shell.nix` file), or the newer but experimental `nix develop` command (uses `flake.nix`) ~~This has not been tested on macOS, tho preliminary code is there to try and support it, feel free to report any issues.~~ Zed unfortunately doesn't build on nix-darwin (see https://github.com/NixOS/nixpkgs/issues/320084), so this PR doesn't aim to add darwin support. --- Release Notes: - N/A --------- Signed-off-by: xtrm <oss@xtrm.me> Co-authored-by: Niklas Korz <niklas@niklaskorz.de>
killian and Niklas Korz created
034d905
Allow vim counts with undo and redo (#13950)
These were previously passed directly to the editor module, which knows nothing about vim counts. Instead, implement new actions in the vim module which take the count and use it to invoke the corresponding action in the editor module, properly repeated. Release Notes: - Fixed vim undo and redo commands not taking counts.
Matt Fellenz created
0d7bd0c
vim: Disable default ctrl-x/ctrl-w on linux (#13966)
Release Notes: - N/A
Conrad Irwin created
ed50dea
Only clear selections when right click was performed outside of selection (#13701)
Release Notes: - Fixed selections being cleared when right-click was performed outside of a selection ([#4267](https://github.com/zed-industries/zed/pull/13701)). <img width="1136" alt="Screenshot 2024-07-01 at 16 53 58" src="https://github.com/zed-industries/zed/assets/43210583/082bfb0a-c679-4e87-a4e8-7dd751d8f4a2">
Stanislav Alekseev created
5c95d28
Ensure people who hit /linux directly have the right instructions (#13959)
Release Notes: - N/A
Conrad Irwin created
05e2e4d
Send IME-supported key downs (#13964)
Release Notes: - N/A
Conrad Irwin created
30479bf
Improve window decorations: check for compositor support (#13822)
Adds the `compositor_support` to the `X11WindowState` struct so that correct window decorations are selected Release notes: - N/A --------- Co-authored-by: Thorsten Ball <mrnugget@gmail.com> Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Sebastijan Kelnerič , Thorsten Ball , and Conrad Irwin created
a40a16a
zsh instructions too (#13944)
Release Notes: - N/A
Conrad Irwin created