Antonio Scandurra
|
ee78d6f17b
|
Express multi-cursor edits using the new coordinate space
The language server expects that ranges further in the list of edits
account for the impact of prior changes in the edit list.
|
2021-10-28 13:40:55 +02:00 |
|
Antonio Scandurra
|
7091e0c567
|
Add a unit test for disk-based diagnostics
|
2021-10-28 11:37:24 +02:00 |
|
Antonio Scandurra
|
ac76706aa7
|
Sort LSP diagnostics by (start, end)
|
2021-10-28 11:36:33 +02:00 |
|
Nathan Sobo
|
9977248926
|
Adjust disk-based diagnostics based on edits since the last save
Still need to add tests... not sure if this is right yet.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
|
2021-10-27 18:58:07 -06:00 |
|
Antonio Scandurra
|
bc076c1cc1
|
Update display map snapshots when diagnostics are updated
This is similar to what we do when we receive new parse trees from
tree-sitter.
|
2021-10-27 12:42:16 +02:00 |
|
Antonio Scandurra
|
a7a73a5b0b
|
Fix bug in to_full_offset when Anchor::version != Content::version
|
2021-10-27 11:56:04 +02:00 |
|
Max Brunsfeld
|
c539069cbb
|
Include diagnostic info in HighlightedChunks iterator
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2021-10-26 17:57:50 -07:00 |
|
Max Brunsfeld
|
ef4fc42d93
|
Allow retrieving a buffer's diagnostics
|
2021-10-26 15:46:08 -07:00 |
|
Max Brunsfeld
|
5bfbeb55c0
|
Simplify buffer constructor methods
Don't expose the `buffer::History` to callers of `language::Buffer`
|
2021-10-26 14:26:47 -07:00 |
|
Max Brunsfeld
|
7d5425e142
|
Move lsp configuration into language crate
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2021-10-26 12:17:51 -07:00 |
|
Max Brunsfeld
|
de8218314c
|
Notify language server when saving a buffer
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2021-10-26 11:45:59 -07:00 |
|
Antonio Scandurra
|
0674e76864
|
WIP
|
2021-10-26 19:42:40 +02:00 |
|
Nathan Sobo
|
ab4f90a20a
|
Get language and project compiling
|
2021-10-25 09:26:36 -06:00 |
|
Max Brunsfeld
|
282195b13e
|
Assign new file handles on buffers when their files change on disk
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2021-10-21 13:08:54 +02:00 |
|
Max Brunsfeld
|
eb9d7c8660
|
Update buffer's saved mtime when file is reloaded after on-disk change
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2021-10-21 12:05:44 +02:00 |
|
Max Brunsfeld
|
eea0f35d38
|
Rename TextBuffer back to Buffer
|
2021-10-21 11:12:19 +02:00 |
|
Max Brunsfeld
|
37eae2ba67
|
Remove unnecessary dependencies in buffer and language crates
|
2021-10-21 09:40:50 +02:00 |
|
Max Brunsfeld
|
81a85e9c79
|
Extract a language crate
|
2021-10-20 22:51:40 +02:00 |
|