Commit log
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
580bad2
Get a basic end-to-end test for rust-analyzer integration working
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
9759f9e
Uncomment script/bundle lines
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
ab4f90a
Get language and project compiling
Nathan Sobo
created
4 years ago
7105589
Don't send notifications or requests until LSP is initialized
Antonio Scandurra
created
4 years ago
59ed535
Implement a more robust way of locating rust-analyzer
Click to expand commit body
When bundled, we will retrieve it out of the `Resources` folder.
Locally, we're expected to run `script/download-rust-analyzer` and
put `vendor/bin` in our $PATH.
Antonio Scandurra
created
4 years ago
60a8e74
Get buffer compiling with new SelectionSets based on AnchorRangeMap
Click to expand commit body
One test is failing however.
Nathan Sobo
created
4 years ago
6ba4af3
WIP: Start converting SelectionSet to use AnchorRangeMap
Nathan Sobo
created
4 years ago
3ae5ba0
Implement TryFrom<proto::SelectionSet> on SelectionSet
Click to expand commit body
More prep work for changing the selection set representation.
Nathan Sobo
created
4 years ago
401bdf0
Simplify protocol messages related to selection sets
Click to expand commit body
This prepares the way to switch to using AnchorRangeMaps to store and transmit selection sets.
Nathan Sobo
created
4 years ago
087ff28
Move SelectionSet and Into impl to selection module
Nathan Sobo
created
4 years ago
Antonio Scandurra
created
4 years ago
2c6aeae
Start on integrating rust-analyzer
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
559774d
Merge pull request #213 from zed-industries/language-buffer
Click to expand commit body
Extract Buffer's language-aware behavior into a new `language` crate
Max Brunsfeld
created
4 years ago
282195b
Assign new file handles on buffers when their files change on disk
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
4 years ago
eb9d7c8
Update buffer's saved mtime when file is reloaded after on-disk change
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
4 years ago
eea0f35
Rename TextBuffer back to Buffer
Max Brunsfeld
created
4 years ago
37eae2b
Remove unnecessary dependencies in buffer and language crates
Max Brunsfeld
created
4 years ago
81a85e9
Extract a language crate
Max Brunsfeld
created
4 years ago
cdb268e
Re-enable randomized concurrent edits test
Max Brunsfeld
created
4 years ago
30e2e20
Extract a TextBuffer from Buffer, which has no tree or file
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
4 years ago
76774d6
Merge pull request #205 from zed-industries/autoindent
Click to expand commit body
Autoindent
Nathan Sobo
created
4 years ago
Page 7 of 42