From df3dcbb3eb51a477e43e3ec23196d605c978a727 Mon Sep 17 00:00:00 2001 From: azerr Date: Wed, 10 Jul 2024 08:52:04 +0200 Subject: [PATCH] fix: separate user tag parameters inlay hint Signed-off-by: azerr --- .../com/redhat/qute/services/inlayhint/InlayHintASTVistor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/qute.ls/com.redhat.qute.ls/src/main/java/com/redhat/qute/services/inlayhint/InlayHintASTVistor.java b/qute.ls/com.redhat.qute.ls/src/main/java/com/redhat/qute/services/inlayhint/InlayHintASTVistor.java index 0c68cf96b..72a26be74 100644 --- a/qute.ls/com.redhat.qute.ls/src/main/java/com/redhat/qute/services/inlayhint/InlayHintASTVistor.java +++ b/qute.ls/com.redhat.qute.ls/src/main/java/com/redhat/qute/services/inlayhint/InlayHintASTVistor.java @@ -302,6 +302,7 @@ private void createInlayHint(Section node, Template template, String name, Strin InlayHint hint = new InlayHint(); hint.setKind(InlayHintKind.Parameter); hint.setLabel(Either.forLeft(name + "=" + defaultValue)); + hint.setPaddingRight(Boolean.TRUE); int end = node.getEndParametersOffset(); Position position = template.positionAt(end); hint.setPosition(position);