Skip to content

Commit c82b60b

Browse files
committed
feat(robotlangserver): show keyword tags in keyword documentation
1 parent 470723b commit c82b60b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

robotcode/language_server/robotframework/diagnostics/library_doc.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,13 @@ def _get_signature(self, header_level: int, add_type: bool = True) -> str:
448448
f"| {' or '.join(f'`<{s}>`' for s in a.types) if a.types is not None else ''} |"
449449
)
450450

451+
if self.tags:
452+
if result:
453+
result += "\n\n"
454+
455+
result += "**Tags**: \n- "
456+
result += "\n- ".join(self.tags)
457+
451458
return result
452459

453460
@property

0 commit comments

Comments
 (0)