* Fix broken language service (#394) * Fix indexes not expanding (#396) * Fix broken language service * fix index not expanding * Dev/daeunyim/fix broken language service (#397) * Fix broken language service * fix index not expanding * fix style issue * Fix common.py
This commit is contained in:
Родитель
22fcaadd9d
Коммит
ddae8cbc0b
|
@ -94,6 +94,10 @@ class TextDocumentPosition(Serializable):
|
|||
self.text_document: TextDocumentIdentifier = None
|
||||
self.position: Position = None
|
||||
|
||||
@classmethod
|
||||
def ignore_extra_attributes(cls):
|
||||
return True
|
||||
|
||||
|
||||
class Location(Serializable):
|
||||
"""
|
||||
|
|
|
@ -344,3 +344,7 @@ class NodeCollection(Generic[TNC]):
|
|||
def reset(self) -> None:
|
||||
# Empty the items so that next iteration will reload the collection
|
||||
self._items_impl = None
|
||||
|
||||
def refresh(self) -> None:
|
||||
"""Refreshes and lazily loaded data"""
|
||||
self.reset()
|
||||
|
|
Загрузка…
Ссылка в новой задаче