Antonio Scandurra
96291408bd
Display a rudimentary project diagnostic view on alt-shift-d
2021-12-14 11:32:05 +01:00
Max Brunsfeld
4dc84c6dca
WIP
2021-12-13 17:44:20 -08:00
Max Brunsfeld
b1a1f84dea
Handle buffer deduping in the worktree instead of in workspace
...
Previously, buffers were only deduped by file if they were opened
through Workspace::open_entry
2021-12-13 16:35:46 -08:00
Antonio Scandurra and Nathan Sobo
e3bf3af3f5
WIP
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-12-13 16:46:35 +01:00
Nathan Sobo
d3dc0ca59a
Get selections rendering again when local selections are owned by Editor
2021-12-11 13:42:46 -07:00
Nathan Sobo
271b092ec1
Move multi_buffer to editor crate
2021-12-10 17:37:53 -07:00
Antonio Scandurra
fdb34185e8
Merge branch 'fragment-locators' into project-diagnostics
2021-12-10 14:01:17 +01:00
Antonio Scandurra
e6277205e3
Optimize anchor comparison and take full advantage of fragment IDs
2021-12-10 09:16:58 +01:00
Antonio Scandurra and Nathan Sobo
a29758b389
Remove anchor collections
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-12-09 17:28:27 +01:00
Antonio Scandurra
45198f646b
Start on a simple randomized test for FragmentList
2021-12-06 16:08:17 +01:00
Antonio Scandurra
141325d792
Start on maintaining edits in FragmentList
2021-12-06 12:10:25 +01:00
Antonio Scandurra
7827aeff58
Merge branch 'main' into project-diagnostics
2021-12-06 09:39:03 +01:00
Max Brunsfeld
df4e452e28
Add tree-sitter-markdown, set up simple markdown higlighting
2021-12-05 21:37:31 -08:00
Max Brunsfeld
f831277317
Upgrade tree-sitter to 0.20.1
2021-12-05 21:37:08 -08:00
Nathan Sobo
43e8162eb2
Start on a new FragmentList
...
Here I'm exploring a new approach to the project-wide diagnostics view that can exactly mirror the contents of cargo check. The `FragmentList` composes an arbitrary list of fragments from other buffers and presents them as if they were a single buffer.
2021-12-04 06:57:56 -07:00
Antonio Scandurra and Nathan Sobo
137a1969bd
Introduce text::Buffer::subscribe
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-12-01 15:55:05 +01:00
Nathan Sobo and Max Brunsfeld
811689d234
Rename buffer crate to text and name its entrypoint after the crate
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2021-11-30 12:26:12 -07:00
Nathan Sobo
71a08ab719
Bump versions in preparation for release
2021-11-30 09:43:51 -07:00
Max Brunsfeld and Nathan Sobo
9ddae3c4d4
Introduce a collections crate w/ deterministic hashmap, hashset in tests
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-11-29 15:22:45 -08:00
Nathan Sobo and Antonio Scandurra
ff11bcf0aa
Rename PeoplePanel to ContactsPanel
...
Yeah, it's true they're people, but this is a more specific way in which they're people.
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
2021-11-26 11:13:05 -07:00
Antonio Scandurra and Nathan Sobo
5dca1085a8
Implement SelectNext
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-11-25 15:44:06 +01:00
Antonio Scandurra
ee817d5518
WIP: Start on go to line
2021-11-24 18:45:36 +01:00
Antonio Scandurra and Nathan Sobo
69531cd8bf
Invert dependency between editor and workspace
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-11-24 17:07:16 +01:00
Antonio Scandurra
a11408997a
Introduce "entry openers" but still register editors in workspace
2021-11-24 15:18:15 +01:00
Max Brunsfeld
c90e6b3a8e
Remove cargo-bundle from dev-dependencies
...
The cargo-bundle crate is installed separately in the
'bundle' script via 'cargo install'.
2021-11-23 09:25:22 -08:00
Max Brunsfeld
3ac29749ed
0.8.0
2021-11-22 13:33:54 -08:00
Max Brunsfeld and Nathan Sobo
0fa00589cb
Impose a timeout on writing RPC messages
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-11-22 13:23:55 -08:00
Antonio Scandurra
0dab92d2f6
Init env_logger in the editor crate for tests only
2021-11-12 17:01:57 +01:00
Max Brunsfeld and Nathan Sobo
837244e938
Start language servers based on buffers' languages
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-11-02 17:41:01 -07:00
Max Brunsfeld
174efb1a04
Add an integration test for replicating buffer's diagnostics
2021-11-02 14:57:24 -07:00
Max Brunsfeld and Nathan Sobo
7270358c7c
Move protobuf logic from buffer crate to language crate
...
This will enable us to add operations that only pertain to the language crate.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-11-01 14:05:19 -07:00
Max Brunsfeld and Antonio Scandurra
9cc3433d20
Add a facility for delaying quit until critical tasks finish
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
2021-11-01 11:57:31 -07:00
Antonio Scandurra
a6d95b9652
WIP
2021-10-26 19:42:40 +02:00
Max Brunsfeld
2be859951b
Start work on a test for worktree handling LSP diagnostics
2021-10-25 21:42:55 -07:00
Max Brunsfeld
5a0b7ea21f
Merge remote-tracking branch 'origin/main' into lsp
2021-10-25 16:24:08 -07:00
Max Brunsfeld and Nathan Sobo
952567f533
Add a fake lsp server
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-10-25 15:28:40 -07:00
abc8cbbeb4
Get a basic end-to-end test for rust-analyzer integration working
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2021-10-25 18:11:52 +02:00
Antonio Scandurra
a24f3a2676
Don't send notifications or requests until LSP is initialized
2021-10-25 12:29:28 +02:00
f6b1cc5830
Start on integrating rust-analyzer
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2021-10-21 16:26:37 +02:00
6d8aa9f7d8
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
3f96f0aa6f
Remove unnecessary dependencies in buffer and language crates
2021-10-21 09:40:50 +02:00
Max Brunsfeld
34cda9fe9b
Extract a language crate
2021-10-20 22:51:40 +02:00
Max Brunsfeld and Nathan Sobo
71ed81bc93
Ensure that autoindent task yields frequently to respect cancellation
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-10-11 11:25:15 -07:00
14e9b03c52
Flip the dependency between editor and theme
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2021-10-05 19:21:13 +02:00
Antonio Scandurra
43bb8d28aa
Extract theme_selector into its own crate
2021-10-05 15:38:25 +02:00
Antonio Scandurra
ce077ebc8e
Extract people_panel into its own crate
2021-10-05 14:36:38 +02:00
Antonio Scandurra
ac46768302
Extract file_finder into its own crate
2021-10-05 14:30:56 +02:00
Antonio Scandurra
436c408433
Extract chat_panel into its own crate
2021-10-05 14:23:45 +02:00
Antonio Scandurra
2db30f40ba
Extract project_panel into its own crate
2021-10-05 14:19:57 +02:00
Antonio Scandurra
3dc173cf40
Move workspace module into its own crate
2021-10-05 13:49:10 +02:00