Commit log

521972e Update Status Colors

Nate Butler created

031d841 Make inlay hint cache tests pass (#3310)

Click to expand commit body
Release Notes:

- N/A

Kirill Bulatov created

dbd26ac Make inlay hint cache tests pass

Click to expand commit body
Co-Authored-By: Conrad  <conrad.irwin@gmail.com>

Kirill Bulatov and Conrad created

71790b3 Add `Sized` bound to `StyledExt` trait (#3309)

Click to expand commit body
This PR moves the `Sized` bound to the `StyledExt` trait so we don't
have to repeat it on each of the methods.

Release Notes:

- N/A

Marshall Bowers created

3654dd8 Remove unnecessary `map`

Marshall Bowers created

5b254b0 Move `Sized` bound to `StyledExt` trait

Marshall Bowers created

be8bd43 Update jetbrains keymap to match community repo

Joseph T. Lyons created

45fef27 Clear all the state when clearing KeyDispatcher

Antonio Scandurra created

44534b9 Register actions on the right div

Antonio Scandurra created

c8fb8e2 :lipstick:

Antonio Scandurra created

d0b5c65 Clear pending keystrokes when finding action

Antonio Scandurra created

827b16b Capture node in dispatch tree even if it's not focusable

Antonio Scandurra created

26d26fa Fix focus story

Antonio Scandurra created

7a454be Uncomment inlay hints logic and tests (#3307)

Click to expand commit body
Tests compile, but do not pass due to todo!s in the platform code, hence
ignored for now.

Release Notes:

- N/A

Kirill Bulatov created

e257f7d Ignore tests for now

Kirill Bulatov created

c3461d2 chore: Bump cc to 1.0.84 (#3304)

Click to expand commit body
This resolves a minor issue where build scripts could've acquired more
job server tokens from Cargo than allowed by `-j` parameter. I've filled
a PR at https://github.com/rust-lang/cc-rs/pull/878 and we've iterated
on the design over there since.

TL;DR: some build scripts may complete a tad bit quicker, potentially
shaving off a few seconds off of debug/release builds. Full description
of the issue is available in
https://github.com/rust-lang/cc-rs/issues/858

Release Notes:

- N/A

Piotr Osiewicz created

a9c17e7 Uncomment all inlay hint cache code and tests

Kirill Bulatov created

81cc6e8 pane: When opening a buffer, actually scroll to the selected tab. (#3306)

Click to expand commit body
Previously it might've reused a shared state.

Deals with https://github.com/zed-industries/community/issues/2262 also
fixes influencer's feedback.

No gpui2 port, due to 0 scrollable functionality in it yet.

Release Notes:

- Fixed tabs not being scrolled to on buffer (re)open
(https://github.com/zed-industries/community/issues/2262)

Kirill Bulatov created

f0f0b47 pane: When opening a buffer, actually scroll to the selected tab. Previously it might've reused a shared state.

Click to expand commit body
Deals with https://github.com/zed-industries/community/issues/2262 also fixes influencer's feedback.

Co-Authored-By: Piotr <piotr@zed.dev>

Kirill Bulatov and Piotr created

9c18253 Register key and action listeners using `Interactive::initialize`

Click to expand commit body
Co-Authored-By: Thorsten <mrnugget@gmail.com>

Antonio Scandurra and Thorsten created

318cb78 Fix panic when calling `with_key_dispatch` recursively

Click to expand commit body
Co-Authored-By: Thorsten <mrnugget@gmail.com>

Antonio Scandurra and Thorsten created

13255ef Poke at getting the project panel showing up

Mikayla created

6c6fb99 Theme elevation + Palette Style (#3305)

Click to expand commit body
[[PR Description]]

Release Notes:

- N/A

Nate Butler created

800ad1d Update command palette style

Nate Butler created

cdd347c chore: Bump cc to 1.0.84

Click to expand commit body
This resolves a minor issue where build scripts could've acquired more job server tokens from Cargo than allowed by `-j` parameter. I've filled a PR at https://github.com/rust-lang/cc-rs/pull/878 and we've iterated on the design over there since.

TL;DR: some build scripts may complete a tad bit quicker, potentially shaving off a few seconds off of debug/release builds.

Piotr Osiewicz created

7eaba8f WIP

Nathan Sobo created

6bdb6e4 Refactor command palette, picker and code action styles.

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

3d66ba3 Add ui::Divider component

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

5dca5ca Add elevation to StyledExt

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

74a0d93 Add a DispatchTree which will replace the existing key dispatch strategy

Click to expand commit body
Instead of freezing a stack, we will record the entire dispatch tree so we can
change focus.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

1c02690 Wire up code actions in `editor2` (#3302)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

c2c6921 :fire:

Antonio Scandurra created

198a854 Fix bad import

Antonio Scandurra created

468a014 Allow measuring arbitrary items in UniformList

Antonio Scandurra created

c44db3b Confirm code action on mouse down

Antonio Scandurra created

fb450e3 Wire up keyboard interaction in code actions menu

Antonio Scandurra created

bf576d4 Make code actions menu prettier

Antonio Scandurra created

c76fd93 Use padded bounds to draw uniform list items

Antonio Scandurra created

1d37191 Ensure UniformList style is painted beneath its items

Antonio Scandurra created

6929a71 Ceil measured width for Text element

Antonio Scandurra created

3cd4eef Do not add diagnostics for any selection in the diagnostics panel (#3300)

Click to expand commit body
Make the panel less jumpy by deferring diagnostics updates until cmd-s
is pressed, if any caret is placed inside the diagnostics panel.

Release Notes:

- N/A

Kirill Bulatov created

d38a2b7 Do not add diagnostics for any selection in the diagnostics panel

Kirill Bulatov created

a30b47a Show a very basic code actions menu

Antonio Scandurra created

23fd1e1 Ignore element offset when manually drawing `AnyElement`

Antonio Scandurra created

a0987f1 Merge remote-tracking branch 'origin/main' into code-actions-2

Antonio Scandurra created

2f3044a command palette2 (#3296)

Click to expand commit body
Still to do:
- [ ] Figure out why `ctrl-g` `ctrl-g` doesn't dismiss GoToLine (but
`cmd-shift-p` `cmd-shift-p` does dismiss Command). Likely to do with the
"Editor" context in the keymap, but this did used to work in gpui1.
- [ ] Fix first render with incorrect matches immediately flashes.
- [ ] Show keybindings
- [x] Figure out why `cmd-shift-p "go to line" enter` panics
- [ ] Fix the selected visuals
- [ ] Party hard
- [ ] Uncomment the tests

Conrad Irwin created

cc9fb9d Fix panic caused by focusing the same thing twice

Conrad Irwin created

5a71188 Refactor to make ModalLayer a View

Conrad Irwin created

d4b1d1b Move from register_modals to register_workspace_action

Conrad Irwin created

e6d6806 Tidy up some more modal behaviour

Conrad Irwin created