Commit log
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
4 years ago
6e5ec2a
Take a `&clock::Global` instead of cloning in `edits_since`
Antonio Scandurra
created
4 years ago
2919cbe
Try signing rust-analyzer in order to embed it in the app bundle
Antonio Scandurra
created
4 years ago
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
4 years ago
3228a55
Fix test-support feature propagation for editor and workspace
Nathan Sobo
created
4 years ago
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
4 years ago
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
4 years ago
9c1b015
Avoid unnecessary conversion to offsets in `diagnostics_in_range`
Antonio Scandurra
created
4 years ago
78c158e
Support only UTF-8 for now when communicating with language server
Antonio Scandurra
created
4 years ago
a82a12f
Bundle fat-binary for rust-analyzer
Antonio Scandurra
created
4 years ago
2cbb313
Avoid panic when rust language isn't present (project unit tests)
Max Brunsfeld
created
4 years ago
e155689
Merge branch 'anchor-map-selections' into lsp
Max Brunsfeld
created
4 years ago
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
4 years ago
2952f2c
:art: anchor.rs
Max Brunsfeld
created
4 years ago
acb29eb
Ignore vendor/bin folder
Max Brunsfeld
created
4 years ago
a1e5763
Rename AnchorRangeSet::to_point_ranges -> point_ranges
Max Brunsfeld
created
4 years ago
9bc08e4
Fix unit test for on-disk-changes to not rely on selection bias
Max Brunsfeld
created
4 years ago
f3cd710
Create valid disjoint selection sets in selections_in_ranges
Max Brunsfeld
created
4 years ago
efc85d1
Get the Editor crate compiling
Max Brunsfeld
created
4 years ago
9c74be3
Start fixing compilation errors on `Editor`
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
and
Max Brunsfeld
created
4 years ago
ce87419
Clip points coming from language server
Click to expand commit body
This avoids panicking in Zed if the points they give us are invalid.
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
and
Max Brunsfeld
created
4 years ago
d12387b
Ensure start endpoints always come before end endpoints
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
and
Max Brunsfeld
created
4 years ago
50afb2d
Remove stray println! statements in the LSP I/O code
Antonio Scandurra
created
4 years ago
ee78d6f
Express multi-cursor edits using the new coordinate space
Click to expand commit body
The language server expects that ranges further in the list of edits
account for the impact of prior changes in the edit list.
Antonio Scandurra
created
4 years ago
7091e0c
Add a unit test for disk-based diagnostics
Antonio Scandurra
created
4 years ago
ac76706
Sort LSP diagnostics by (start, end)
Antonio Scandurra
created
4 years ago
fcb217b
Report `new_lines` extent correctly when coalescing edits
Antonio Scandurra
created
4 years ago
9977248
Adjust disk-based diagnostics based on edits since the last save
Click to expand commit body
Still need to add tests... not sure if this is right yet.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
0c10d6c
Introduce FullOffset type
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
,
Nathan Sobo
, and
Antonio Scandurra
created
4 years ago
bc076c1
Update display map snapshots when diagnostics are updated
Click to expand commit body
This is similar to what we do when we receive new parse trees from
tree-sitter.
Antonio Scandurra
created
4 years ago
a7a73a5
Fix bug in `to_full_offset` when `Anchor::version` != `Content::version`
Antonio Scandurra
created
4 years ago
c539069
Include diagnostic info in HighlightedChunks iterator
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
f1db618
Generalize AnchorRangeMultimap's 'intersecting ranges' API
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
79ba217
Fix routing of diagnostics to buffers in worktree
Max Brunsfeld
created
4 years ago
ef4fc42
Allow retrieving a buffer's diagnostics
Max Brunsfeld
created
4 years ago
5bfbeb5
Simplify buffer constructor methods
Click to expand commit body
Don't expose the `buffer::History` to callers of `language::Buffer`
Max Brunsfeld
created
4 years ago
4069db4
Allow underlines to have different color than the text
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
7d5425e
Move lsp configuration into language crate
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
de82183
Notify language server when saving a buffer
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
1a92a19
Remove Anchor from protocol
Nathan Sobo
created
4 years ago
Antonio Scandurra
created
4 years ago
60abc5f
Take `ToOffset` instead of anchors in `intersecting_point_ranges`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
e8a2885
Introduce `Content::anchor_range_multimap`
Antonio Scandurra
created
4 years ago
5dc47c6
Fix compilation errors
Antonio Scandurra
created
4 years ago
64445c7
Start work on AnchorRangeMultimap
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
50c77da
Start work on a test for worktree handling LSP diagnostics
Max Brunsfeld
created
4 years ago
c3ff489
Handle initialize request internally in fake lsp server
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
6384950
Merge remote-tracking branch 'origin/main' into lsp
Max Brunsfeld
created
4 years ago
b49a268
Add a fake lsp server
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
2d6d10f
Log unhandled notifications in `LanguageServer`
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
4 years ago
Page 4 of 39