Rename ra_ide_db -> ide_db

This commit is contained in:
Aleksey Kladov
2020-08-13 16:39:16 +02:00
parent ae71a631fd
commit bb5c189b7d
59 changed files with 93 additions and 99 deletions

View File

@@ -27,7 +27,7 @@ pub fn apply_ssr_rules(rules: Vec<SsrRule>) -> Result<()> {
/// for much else.
pub fn search_for_patterns(patterns: Vec<SsrPattern>, debug_snippet: Option<String>) -> Result<()> {
use base_db::SourceDatabaseExt;
use ra_ide_db::symbol_index::SymbolsDatabase;
use ide_db::symbol_index::SymbolsDatabase;
let (host, _vfs) = load_cargo(&std::env::current_dir()?, true, true)?;
let db = host.raw_database();
let mut match_finder = MatchFinder::at_first_file(db)?;