-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
In many tools, including FindSymbol we iterate over LS to retrieve the symbols. This relies on a wrong LS not retrieving anything, but a wrong LS will log an error.
The problematic code:
# in symbol.py
for lang_server in self._ls_manager.iter_language_servers():
symbol_roots = lang_server.request_full_symbol_tree(within_relative_path=within_relative_path)
for root in symbol_roots:
symbols.extend(
LanguageServerSymbol(root).find(
name_path_pattern, include_kinds=include_kinds, exclude_kinds=exclude_kinds, substring_matching=substring_matching
)
)and in solidlsp in request_full_symbol_tree
if self.is_ignored_path(within_relative_path):
log.error("You passed a file explicitly, but it is ignored. This is probably an error. File: %s", within_relative_path)Reactions are currently unavailable