Commit log

c2b4453 Fix path to templates that's used when minifying tailwind CSS

Nathan Sobo created

f33d30c Upgrade builder image to Rust 1.56

Nathan Sobo created

61b9179 Merge pull request #222 from zed-industries/fix-hover-beachball

Click to expand commit body
Give the MouseEventHandlers for each tab bar their own id

Max Brunsfeld created

a72bdac Fix paths to server crate in scripts and gitignore

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

Max Brunsfeld and Nathan Sobo created

0ff87e6 Give the MouseEventHandlers for each tab bar their own id

Click to expand commit body
This fixes a beachball where we oscillate back and forth between hovered and unhovered due to confusing two different tab bars as the same tab bar.

Nathan Sobo created

44e0a00 Only show the first line of diagnostic messages in the status bar

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

Nathan Sobo and Max Brunsfeld created

595dbd4 Merge pull request #221 from zed-industries/status-bar-errors

Click to expand commit body
Add a status bar that shows the cursor position and the error under the cursor

Nathan Sobo created

1ec3173 Improve styling of diagnostic status bar item

Max Brunsfeld created

baf636a Extend empty diagnostic ranges at the ends of lines

Max Brunsfeld created

9384823 Remove logging in worktree tests

Max Brunsfeld created

8b5089c In the status bar, show the diagnostic under the cursor

Max Brunsfeld created

941d935 End pending selection when starting a transaction

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

Antonio Scandurra , Max Brunsfeld , and Nathan Sobo created

c07d794 Avoid ending the pending selection until updating selections

Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra and Max Brunsfeld created

9dc3c74 Make resolving selections generic

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

Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created

a26b066 Introduce a status bar and add the cursor position to it

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

Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created

306ebb2 Merge pull request #218 from zed-industries/lsp

Click to expand commit body
Integrate rust-analyzer and highlight diagnostics

Antonio Scandurra created

258b89b Request autoscroll when undoing/redoing

Antonio Scandurra created

20a77f4 Fix test for disk-based diagnostics

Antonio Scandurra created

9a7ecfb Use status colors for diagnostic underlines

Max Brunsfeld created

8d3f42d Start language servers based on buffers' languages

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

Max Brunsfeld and Nathan Sobo created

a66b81d Add an integration test for replicating buffer's diagnostics

Max Brunsfeld created

89392cd Avoid using worktree handle in File's path methods

Click to expand commit body
This avoids a circular model update that was happening
when trying to retrieve the absolute path from a buffer's
file while applying remote operations.

Max Brunsfeld created

1995bd8 Deserialize buffer's diagnostics

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

Max Brunsfeld and Nathan Sobo created

2c57703 Explicitly shut down language servers when quitting the app

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

Nathan Sobo , Max Brunsfeld , and Antonio Scandurra created

882c8ce Avoid error during deserialization if the `result` field isn't there

Antonio Scandurra created

f5aa07a Remove all windows before quitting

Click to expand commit body
This gives all entities a chance of running `Drop::drop` which,
in turn, could cause them to spawn a critical task. For example,
we use this capability when a language server is dropped and we
need to asynchronously send a shutdown message.

Antonio Scandurra created

61e0648 Avoid circular model update when sending diagnostics operations

Max Brunsfeld created

f0353d6 Add note in README about rustc bug on macOS monterey

Max Brunsfeld created

0e62ddb Replicate diagnostics to remote buffers

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

Max Brunsfeld and Nathan Sobo created

40c861c Move protobuf logic from buffer crate to language crate

Click to expand commit body
This will enable us to add operations that only pertain to the language crate.

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

Max Brunsfeld and Nathan Sobo created

78d97a3 Use Diagnostic struct in buffer's diagnostics multimap

Max Brunsfeld created

1aee7bd Delay quit until language servers are gracefully shut down

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

Max Brunsfeld , Antonio Scandurra , and Nathan Sobo created

b8994c2 Add a facility for delaying quit until critical tasks finish

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

Max Brunsfeld and Antonio Scandurra created

6e5ec2a Take a `&clock::Global` instead of cloning in `edits_since`

Antonio Scandurra created

2919cbe Try signing rust-analyzer in order to embed it in the app bundle

Antonio Scandurra created

f59be5f Always notify when receiving buffer operations

Click to expand commit body
We had changed it to only emit a notification when the buffer was
actually edited, but we also want to notify when we receive non-edit
operations, such as a selection update.

Antonio Scandurra created

3228a55 Fix test-support feature propagation for editor and workspace

Nathan Sobo created

b571eae Extend empty diagnostic ranges by one character

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

Antonio Scandurra and Nathan Sobo created

6212eba Communicate with language servers in terms of UTF-16 coordinates

Click to expand commit body
This required indexing UTF-16 positions in `Rope`. We tried opting
into the UTF-8 experimental support but it didn't seem to work
correctly and the standard is UTF-16 anyway.

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

Antonio Scandurra and Nathan Sobo created

9c1b015 Avoid unnecessary conversion to offsets in `diagnostics_in_range`

Antonio Scandurra created

78c158e Support only UTF-8 for now when communicating with language server

Antonio Scandurra created

a82a12f Bundle fat-binary for rust-analyzer

Antonio Scandurra created

2cbb313 Avoid panic when rust language isn't present (project unit tests)

Max Brunsfeld created

e155689 Merge branch 'anchor-map-selections' into lsp

Max Brunsfeld created

9271187 Merge pull request #216 from zed-industries/anchor-map-selections

Click to expand commit body
Represent selection sets as anchor range maps

Max Brunsfeld created

2952f2c :art: anchor.rs

Max Brunsfeld created

acb29eb Ignore vendor/bin folder

Max Brunsfeld created

a1e5763 Rename AnchorRangeSet::to_point_ranges -> point_ranges

Max Brunsfeld created

9bc08e4 Fix unit test for on-disk-changes to not rely on selection bias

Max Brunsfeld created

f3cd710 Create valid disjoint selection sets in selections_in_ranges

Max Brunsfeld created