Fall back to FindAllReferences if GoToDefinition have not navigated (#16512)

Follow-up of https://github.com/zed-industries/zed/pull/9243 

Release Notes:

- N/A

---------

Co-authored-by: Alex Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
Kirill Bulatov
2024-08-20 14:56:19 +03:00
committed by GitHub
co-authored by Alex Kladov
parent f185269d03
commit e482fcde5b
4 changed files with 237 additions and 90 deletions
+1
View File
@@ -232,6 +232,7 @@ pub struct Project {
cached_shell_environments: HashMap<WorktreeId, HashMap<String, String>>,
}
#[derive(Debug)]
pub enum LanguageServerToQuery {
Primary,
Other(LanguageServerId),