mirror of
https://github.com/tiennm99/serena.git
synced 2026-07-15 10:21:08 +00:00
Merge pull request #3 from eltociear/patch-1
This commit is contained in:
@@ -907,7 +907,7 @@ class LanguageServer:
|
||||
async def request_document_overview(self, relative_file_path: str) -> list[tuple[str, multilspy_types.SymbolKind, int, int]]:
|
||||
"""
|
||||
An overview of the given file.
|
||||
Returns the the list of tuples (name, kind, line, column) of all top-level symbols in the file.
|
||||
Returns the list of tuples (name, kind, line, column) of all top-level symbols in the file.
|
||||
"""
|
||||
_, document_roots = await self.request_document_symbols(relative_file_path)
|
||||
return [
|
||||
@@ -1617,7 +1617,7 @@ class SyncLanguageServer:
|
||||
"""
|
||||
An overview of the given file.
|
||||
|
||||
Returns the the list of tuples (name, kind, line, column) of all top-level symbols in the file.
|
||||
Returns the list of tuples (name, kind, line, column) of all top-level symbols in the file.
|
||||
"""
|
||||
assert self.loop
|
||||
result = asyncio.run_coroutine_threadsafe(
|
||||
|
||||
Reference in New Issue
Block a user