Tobias Hunger
56697f27ea
lsp: Improve test to rename components
2025-01-07 16:18:46 +01:00
Tobias Hunger
0713a91b87
lsp: Make DocumentCache constructible from a TypeLoader
...
... while making sure we have all the extra information around that
we need to keep the DocumentCache snap-shottable.
2024-08-21 16:55:13 +02:00
Tobias Hunger
08f92bbe88
lsp: Use a custom CompilerConfiguration in DocumentCache
...
This is so that we have all the information necessary to
have a snop-shottable DocumentCache later.
2024-08-21 16:55:13 +02:00
Olivier Goffart
cf88676a18
LSP: fix renning the tests without the preview feature
2024-07-25 22:40:30 +02:00
Olivier Goffart
5dfa8d56dc
API review of the slint interpreter Compiler api
...
Closes #5466
2024-07-05 17:20:08 +02:00
Tobias Hunger
1f0262c7a7
Update tools/lsp/preview/drop_location.rs
...
Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
2024-06-19 11:45:37 +02:00
Tobias Hunger
49d4fc5d0f
live-preview: Handle add_new_component
2024-06-19 11:45:37 +02:00
Tobias Hunger
6c034372a1
lsp: Encapsulate DocumentCache better
...
The Document cache is a specialized typeloader now, make it provide the
necessary APIs directly, so that we can be sure nobody will do anything
that breaks the data:-)
2024-06-12 10:15:29 +02:00
Tobias Hunger
704cfff41f
lsp: Rename components
...
Only handle rename requests when on the component name in the component
definition.
Handle exports/imports in the entire project as needed.
2024-06-03 16:12:31 +02:00