Commit log

9ce9b73 Generate edits for inlay hints

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

f5f4958 Add inlay hints randomized test, fix the errors

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

2e730d8 Implement initial changes reporting for inlay hints

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

4d76162 Report the edits per transform summary generated

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

2ba3262 Add line_len snapshot method

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

ab7dd80 Add more InlaySnapshot text summary impls

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

568a67c Implement more InlaySnapshot methods

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

daa2ebb Calculate anchors for new hints

Kirill Bulatov created

5fadbf7 Implement InlayHint sync method and fix the bugs

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

5ad85b4 Implement chunks of the InlayMap

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

3028767 Improve on inlya locations

Kirill Bulatov created

b193d62 Initial InlayMap tests and splice fn impl

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

7397b80 Simplify inlay hint version handling

Kirill Bulatov created

d506522 Correctly pass inlay hints

Kirill Bulatov created

b5233b3 Rename the new map

Kirill Bulatov created

9287634 Prepare to find diffs between inlay hint generations

Kirill Bulatov created

78b3c9b Store hints in the new map only

Kirill Bulatov created

83f4320 Replace todo!s with stub calls to make Zed work

Kirill Bulatov created

4c3c0eb Draft the hint render data flow

Kirill Bulatov created

2ead3de Add basic infrastructure for inlay hints map

Kirill Bulatov created

6e3d1b9 Draft the initial protobuf changes

Kirill Bulatov created

387415e Request hints for all buffers in editor

Kirill Bulatov created

f83cfda React on message-less LSP requests properly

Click to expand commit body
Co-Authored-By: Julia Risley <julia@zed.dev>

Kirill Bulatov and Julia Risley created

7a268b1 Improve obvious faults

Kirill Bulatov created

79b97f9 Stub initial hint requests

Kirill Bulatov created

8a3b515 Initial protocol check commit

Kirill Bulatov created

1ae5261 Avoid redundant FS scans when LSPs changed watched files (#2663)

Click to expand commit body
Release Notes:

- Fixed a performance problem that could occur when a language server
requested to watch a set of files (preview only).

Max Brunsfeld created

922d8f3 Tweak debug log message when ignoring fs events

Max Brunsfeld created

8609ccd Add test coverage for FS events happening inside unloaded dirs

Max Brunsfeld created

ae9eb7c Re-add missing active state (#2664)

Click to expand commit body
[[PR Description]]

Release Notes:

- Fixes project panel active state that was incorrectly removed.

Nate Butler created

764968e Re-add missing active state

Nate Butler created

ba80c53 Avoid redundant FS scans when LSPs changed watched files

Click to expand commit body
* Don't scan directories if they were already loaded.
* Do less work when FS events occur inside unloaded directories.

Max Brunsfeld created

c7c38c7 snake_case theme (#2661)

Click to expand commit body
This PR moves the theme / `/styles` typescript app to use snake_case to
better align with the rust app and make it easier to reference things
across both apps.

It also configures ESLint in the styles app and fixes many ESLint
errors.

Going forward from this PR we will use `snake_case` throughout the
theme.

Release Notes:

- N/A (No public facing changes)

Nate Butler created

5211328 Delete snake_case.ts

Nate Butler created

d285d56 Update package-lock.json

Nate Butler created

8bff641 Organize and update dotfiles

Nate Butler created

a6f7e31 Update & format

Nate Butler created

97dc7b7 WIP snake_case 5/?

Nate Butler created

0627c19 WIP snake_case 4/?

Nate Butler created

17f2fed WIP snake_case 3/?

Nate Butler created

ba17fae WIP snake_case 2/?

Nate Butler created

b015f50 WIP snake_case 1/?

Click to expand commit body
through `contact_notification`

Nate Butler created

14ff411 Detect and fix broken lsp installations (#2646)

Click to expand commit body
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Closes
https://linear.app/zed-industries/issue/Z-665/add-a-mechanism-for-detecting-and-fixing-broken-language-server
Fixes https://github.com/zed-industries/community/issues/1671
Fixes https://github.com/zed-industries/community/issues/1691
Fixes https://github.com/zed-industries/community/issues/1524
Fixes https://github.com/zed-industries/community/issues/1352
Fixes https://github.com/zed-industries/community/issues/1109
Fixes https://github.com/zed-industries/community/issues/996
Fixes https://github.com/zed-industries/community/issues/782

Things this PR does:
 - Updates our elixir-ls fetching to use new release name format
 - Detect when a server fails to launch
   - If the adapter claims to be reinstallable, get a test binary
   - If the test binary fails to launch or returns a failure error code
   - Clear container dir and reinstall
 - Detect/fix broken Node
 
Things it does not do:
- Restart server on failure, I have most of the stuff for this already
so it should be a fast follow up
 - Detect/fix broken Copilot

Node and Copilot shouldn't be too bad, they are handled via different
mechanisms. Originally I put effort into detecting failure of the server
during normal operation post launch, but that's not really needed. If
the server gets borked while running then we'll catch that on next
startup. Realizing that allowed for pruning a bunch of the work I did
and made the overall system a lot nicer

Copilot is nominally a language server but does not have an adapter and
does not run through the same mechanism in the project.

We're going to have an issue with multiple language server instances in
different projects once we add a "Reinstall Language Server" action,
which is why it's not in this PR. Each project has its own list of
server instances and is currently vaguely responsible for managing the
installations which means they can step on each others toes. This should
change, probably

Release Notes:
- Added a mechanism to detect and reinstall broken language servers
([#1691](https://github.com/zed-industries/community/issues/1691))
([#1524](https://github.com/zed-industries/community/issues/1524))
([#1352](https://github.com/zed-industries/community/issues/1352))
([#1109](https://github.com/zed-industries/community/issues/1109))
([#996](https://github.com/zed-industries/community/issues/996))
([#782](https://github.com/zed-industries/community/issues/782)).

Julia created

6ffa6af fmt

Mikayla Maki created

e0d6188 Add click out handler

Click to expand commit body
Make all context menus on button click toggles instead of re-shows

Mikayla Maki created

2e162f8 WIP convert to `snake_case`

Nate Butler created

bfdd082 Resolve TS errors and warnings

Click to expand commit body
TODO: Use StyleTree types to remove `any`s from styleTrees.

Nate Butler created

2ed0284 Stub out for language plugin

Julia created

48bed2e Merge branch 'main' into fix-broken-lsp-installations

Julia created

1177980 Fix basic eslint errors

Nate Butler created