mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
workspace symbols
This commit is contained in:
parent
133d001d82
commit
d19f3ac834
9 changed files with 75 additions and 43 deletions
|
@ -27,8 +27,6 @@ mod conv;
|
|||
mod main_loop;
|
||||
mod vfs;
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
use threadpool::ThreadPool;
|
||||
use crossbeam_channel::bounded;
|
||||
use flexi_logger::{Logger, Duplicate};
|
||||
|
@ -120,7 +118,7 @@ fn initialized(io: &mut Io) -> Result<()> {
|
|||
let mut pool = ThreadPool::new(4);
|
||||
let (task_sender, task_receiver) = bounded::<Task>(16);
|
||||
let (fs_events_receiver, watcher) = vfs::watch(vec![
|
||||
PathBuf::from("./")
|
||||
::std::env::current_dir()?,
|
||||
]);
|
||||
info!("lifecycle: handshake finished, server ready to serve requests");
|
||||
let res = main_loop::main_loop(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue