mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-15 10:15:35 +00:00
Merge pull request #3 from eltociear/patch-1
This commit is contained in:
1 file changed
+2
-2
@@ -907,7 +907,7 @@ class LanguageServer:
|
|||||||
async def request_document_overview(self, relative_file_path: str) -> list[tuple[str, multilspy_types.SymbolKind, int, int]]:
|
async def request_document_overview(self, relative_file_path: str) -> list[tuple[str, multilspy_types.SymbolKind, int, int]]:
|
||||||
"""
|
"""
|
||||||
An overview of the given file.
|
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)
|
_, document_roots = await self.request_document_symbols(relative_file_path)
|
||||||
return [
|
return [
|
||||||
@@ -1617,7 +1617,7 @@ class SyncLanguageServer:
|
|||||||
"""
|
"""
|
||||||
An overview of the given file.
|
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
|
assert self.loop
|
||||||
result = asyncio.run_coroutine_threadsafe(
|
result = asyncio.run_coroutine_threadsafe(
|
||||||
|
|||||||
Reference in new issue
Block a user