Add find_def_locations in IDE Service
This commit is contained in:
parent
26d2a91192
commit
77dead7745
@ -91,3 +91,7 @@ class IDEService:
|
||||
@rpc_method
|
||||
def find_type_def_locations(self, abspath: str, line: int, character: int) -> List[Location]:
|
||||
return [Location.parse_obj(loc) for loc in self._result]
|
||||
|
||||
@rpc_method
|
||||
def find_def_locations(self, abspath: str, line: int, character: int) -> List[Location]:
|
||||
return [Location.parse_obj(loc) for loc in self._result]
|
||||
|
Loading…
x
Reference in New Issue
Block a user