Skip to content

Commit a9810b0

Browse files
committed
running codelens resolve in threaded mode
1 parent eea0801 commit a9810b0

File tree

1 file changed

+2
-0
lines changed
  • robotcode/language_server/robotframework/parts

1 file changed

+2
-0
lines changed

robotcode/language_server/robotframework/parts/codelens.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ async def visit_KeywordName(self, node: ast.AST) -> None: # noqa: N802
8080

8181
return await Visitor.find_from(await self.parent.documents_cache.get_model(document), self)
8282

83+
@language_id("robotframework")
84+
@threaded()
8385
async def resolve(self, sender: Any, code_lens: CodeLens) -> Optional[CodeLens]:
8486
if code_lens.data is None:
8587
return code_lens

0 commit comments

Comments
 (0)