getWorkspaceSymbols method
Searches for symbols across the entire workspace.
Used for global symbol search (e.g., Ctrl+T).
Implementation
Future<List<dynamic>> getWorkspaceSymbols(String query) async {
final response = await _sendRequest(
method: 'workspace/symbol',
params: {'query': query},
);
final result = response['result'];
if (result is! List) return [];
return result;
}