We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b41e43 commit 57c90b6Copy full SHA for 57c90b6
robotcode/language_server/robotframework/parts/completion.py
@@ -715,6 +715,14 @@ async def complete_SettingSection( # noqa: N802
715
) -> Union[List[CompletionItem], CompletionList, None]:
716
from robot.parsing.model.statements import SectionHeader, Statement
717
718
+ # TODO should this be configurable?
719
+ if (
720
+ context is not None
721
+ and context.trigger_kind == CompletionTriggerKind.TRIGGERCHARACTER
722
+ and context.trigger_character in [" ", "\t"]
723
+ ):
724
+ return None
725
+
726
if nodes_at_position.index(node) > 0 and not isinstance(nodes_at_position[0], SectionHeader):
727
statement_node = cast(Statement, nodes_at_position[0])
728
if len(statement_node.tokens) > 0:
0 commit comments