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
parent f185269d03
commit e482fcde5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 237 additions and 90 deletions

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),