Skip to main content

open_project

Function open_project 

Source
pub fn open_project(
    project_root: &Path,
    current_project_root: Option<&Path>,
    lsp_analyzer: &Mutex<Option<Box<dyn Analyzer + Send>>>,
) -> Result<OpenProjectOutput, String>
Expand description

Opens project_root and initializes its detected language server.

ยงErrors

Returns an error if the shared analyzer lock is poisoned.