Commit log

747d9e8 Add files to project diagnostics view in order

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

c7eb6a6 Tweak color of share icon in titlebar

Max Brunsfeld created

7244fe9 Merge pull request #315 from zed-industries/fix-outdent-column-0

Click to expand commit body
Fix outdent not working when cursor is at column 0

Max Brunsfeld created

8ee106e Merge pull request #316 from zed-industries/fix-subscription-panic

Click to expand commit body
Fix `rpc::Client` subscription panics

Max Brunsfeld created

4992a8a :art:

Antonio Scandurra created

b44ae46 Fix panic if subscribing after dropping a subscription for the same message

Antonio Scandurra created

dff812b Don't panic when dropping a subscription in a subscription handler

Antonio Scandurra created

9f6c53b Fix dev dependencies in client/Cargo.toml

Antonio Scandurra created

b1de9a9 Fix outdent not working when cursor is at column 0

Antonio Scandurra created

e8bbd37 Auto-connect to server on startup if credentials are on the keychain

Antonio Scandurra created

8d7bb8b Merge pull request #313 from zed-industries/polish-project-diagnostics

Click to expand commit body
Polish project diagnostics UX

Antonio Scandurra created

5c3ae88 Fix diagnostic unit test assertions

Antonio Scandurra created

eb35364 :art:

Antonio Scandurra created

a159757 Compare singleton buffers in `test_open_and_save_new_file`

Antonio Scandurra created

0742640 Correctly report line boundaries when a map contains both folds and wraps

Click to expand commit body
This fixes the randomized test failures that were occurring on main.

Antonio Scandurra created

1a53d5b Use a new `Workspace::activate_item` API in project diagnostics

Click to expand commit body
Previously, we would only activate the pane without switching the
pane's *active item*.

Antonio Scandurra created

f933d54 When selections lose their excerpts, move them to the next primary diagnostic

Max Brunsfeld created

ce6f3d7 Reuse views when moving between diagnostic view and editors

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

ea26382 Finish implementing ProjectDiagnostics::open_excerpts

Click to expand commit body
* Build workspace item views with a reference to the workspace
* Add randomized test for MultiBuffer::excerpted_buffers and fix a small bug

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

e5c520a Use `Buffer` handles instead of `MultiBuffer` as editor workspace items

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

794d214 Refactor opening workspace items

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

3cab32d WIP: Add keybinding to open buffers under cursors

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

cf62d26 Display a "Checking..." message when running disk-based diagnostics

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

e39be35 Show status bar item for project diagnostic summary

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

56496c2 Move back `diagnostic_summaries` into `Worktree`

Click to expand commit body
This fixes an issue where updating the snapshot's entries would
override the diagnostic summaries received on the remote side.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

089542c Avoid removing diagnostics from `Worktree` after opening a buffer

Click to expand commit body
This allows re-opening the same buffer and supplying the previous
diagnostics.

Antonio Scandurra created

67f672d Clear selections on other excerpted buffers when setting active selections

Antonio Scandurra created

94e9c7f Give a full-width background to the diagnostic headers

Max Brunsfeld created

2b36ab0 Introduce Expanded element

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

1f762e4 Unify Flexible and Expanded elements

Click to expand commit body
We'll use the name Expanded for something else now.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

b19d92e Keep selections at the top of the project diagnostics view when it is first populated

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

9bbe67f Don't clobber diagnostics when getting new snapshot from background scanner

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

7357b3f Revert "Remove special handling of multi-line primary diagnostic messages and fix tests"

Click to expand commit body
This reverts commit ce4142eab39118a2ecd43a0473a3e7035087191e.

Max Brunsfeld created

10548c2 Always group diagnostics the way they're grouped in the LSP message

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

943571a Report backtraces of pending conditions when deterministic executor illegally parks

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

2dbee1d Send diagnostic summaries to guests when they join the project

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

d7a78e1 Allow disk-based diagnostic progress begin/end events to interleave

Click to expand commit body
When multiple saves occur, we can have multiple start events followed by multiple end events. We don't want to update our project diagnostics view until all pending progress is finished.

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

Nathan Sobo and Antonio Scandurra created

571d038 Re-focus diagnostics editor when transitioning from an empty to a populated state

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

1875a0e Polish rendering of inline errors

Click to expand commit body
- Don't soft-wrap
- Render multiple lines

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

d0f7e5f Maintain excerpt ordering correctly when some errors don't change

Antonio Scandurra created

f37f839 Wire up `refresh_anchors` in `Editor::refresh_selections` and call it

Antonio Scandurra created

7340e83 WIP - MultiBuffer::refresh_anchors

Max Brunsfeld created

fee7657 Merge branch 'main' into polish-project-diagnostics

Max Brunsfeld created

b10f06d Merge pull request #308 from zed-industries/fix-collaboration-regressions

Click to expand commit body
Fix collaboration regressions

Nathan Sobo created

f9f75e9 Fix Locator::from_index

Click to expand commit body
Enhance language::tests::test_random_collaborators so that it checks buffer invariants.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

e5faaeb Fix `Global::gt` and rename it to `changed_since`

Click to expand commit body
A false negative return value of `gt` was preventing guests' multibuffers from
syncing correctly.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

5a53eee Don't scroll editors away from the top of their buffer when content changes

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

85a13fa Fix panic when resolving anchors after an excerpt id has been recycled

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

8728d32 Merge branch 'main' into polish-project-diagnostics

Click to expand commit body
Also fix false failure in ModelHandle::condition when parking is not forbidden.

Max Brunsfeld created

29b63ae Remove invalid excerpts as opposed to styling them differently

Antonio Scandurra created