Move change to ide-db
This commit is contained in:
parent
ee76e6141e
commit
1bfb111cf9
@ -13,9 +13,9 @@ use ra_syntax::SourceFile;
|
||||
use rayon::prelude::*;
|
||||
use rustc_hash::FxHashMap;
|
||||
|
||||
use crate::{
|
||||
db::{DebugData, RootDatabase},
|
||||
ide_db::symbol_index::{SymbolIndex, SymbolsDatabase},
|
||||
use crate::ide_db::{
|
||||
symbol_index::{SymbolIndex, SymbolsDatabase},
|
||||
DebugData, RootDatabase,
|
||||
};
|
||||
|
||||
#[derive(Default)]
|
@ -4,6 +4,7 @@ pub mod line_index;
|
||||
pub mod line_index_utils;
|
||||
pub mod feature_flags;
|
||||
pub mod symbol_index;
|
||||
pub mod change;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
|
@ -14,7 +14,6 @@ mod ide_db;
|
||||
|
||||
mod db;
|
||||
pub mod mock_analysis;
|
||||
mod change;
|
||||
mod source_change;
|
||||
|
||||
mod status;
|
||||
@ -67,7 +66,6 @@ use crate::{
|
||||
pub use crate::{
|
||||
assists::{Assist, AssistId},
|
||||
call_hierarchy::CallItem,
|
||||
change::{AnalysisChange, LibraryData},
|
||||
completion::{CompletionItem, CompletionItemKind, InsertTextFormat},
|
||||
diagnostics::Severity,
|
||||
display::{file_structure, FunctionSignature, NavigationTarget, StructureNode},
|
||||
@ -75,6 +73,7 @@ pub use crate::{
|
||||
folding_ranges::{Fold, FoldKind},
|
||||
hover::HoverResult,
|
||||
ide_db::{
|
||||
change::{AnalysisChange, LibraryData},
|
||||
feature_flags::FeatureFlags,
|
||||
line_index::{LineCol, LineIndex},
|
||||
line_index_utils::translate_offset_with_edit,
|
||||
|
Loading…
x
Reference in New Issue
Block a user