We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3856da2 commit 45d983eCopy full SHA for 45d983e
dora-language-server/src/main.rs
@@ -59,8 +59,15 @@ fn main() -> Result<(), Box<dyn Error + Sync + Send>> {
59
});
60
61
let projects = find_projects(&workspace_folders);
62
- for project in &projects {
63
- eprintln!("project {} -> {}", project.name, project.main.display());
+
+ if projects.is_empty() {
64
+ eprintln!("no project found");
65
+ } else {
66
+ eprintln!("found {} projects.", projects.len());
67
68
+ for project in &projects {
69
+ eprintln!("project {} -> {}", project.name, project.main.display());
70
+ }
71
}
72
73
connection.initialize_finish(id, initialize_data)?;
0 commit comments