We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9ccb4a commit 93d06ecCopy full SHA for 93d06ec
client/src/services/hover.ts
@@ -15,7 +15,7 @@ export function registerHover() {
15
16
const variable = getHoveredVariable(document, position);
17
if (variable && variable.mainRefinement && variable.mainRefinement !== 'true')
18
- hoverContent.appendCodeblock(`@Refinement(${JSON.stringify(variable.mainRefinement)})`, 'java');
+ hoverContent.appendCodeblock(`@Refinement("${variable.mainRefinement}")`, 'java');
19
20
const diagnostics = vscode.languages.getDiagnostics(document.uri);
21
const containsDiagnostic = !!diagnostics.find(d => d.range.contains(position) && d.source === 'liquidjava');
0 commit comments