mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-21 15:52:19 +00:00
LSP: Move code around
No behavior should change in this patch! Move all the code directly related to the LSP into a `language` module, with `server_loop.rs` becoming `language.rs`, managing that module. All the preview related code is moved into `preview`, with `preview.rs` basically forwarding to `native.rs` and `wasm.rs`. Code accessed from both `language` and `preview` stayed where it was.
This commit is contained in:
parent
65f9e6f1eb
commit
4dda627d14
12 changed files with 456 additions and 454 deletions
|
@ -1,7 +1,7 @@
|
|||
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
||||
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
|
||||
|
||||
use crate::server_loop::DocumentCache;
|
||||
use super::DocumentCache;
|
||||
|
||||
use i_slint_compiler::diagnostics::{DiagnosticLevel, SourceFile, Spanned};
|
||||
use i_slint_compiler::langtype::{ElementType, Type};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue