Skip to content

Commit f9c4c22

Browse files
authoredMar 5, 2025
Merge pull request #839 from Shopify/jm/add_completions_trigger
[LiquidDoc] Show annotation completion suggestions when `@` is typed
2 parents 85579bc + 1dc0317 commit f9c4c22

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎.changeset/funny-experts-vanish.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/theme-language-server-common': minor
3+
---
4+
5+
Display completion suggestions while typing for liquiddoc annotations

‎packages/theme-language-server-common/src/server/startServer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export function startServer(
320320
codeActionKinds: [...CodeActionKinds],
321321
},
322322
completionProvider: {
323-
triggerCharacters: ['.', '{{ ', '{% ', '<', '/', '[', '"', "'", ':'],
323+
triggerCharacters: ['.', '{{ ', '{% ', '<', '/', '[', '"', "'", ':', '@'],
324324
},
325325
documentOnTypeFormattingProvider: {
326326
firstTriggerCharacter: ' ',

0 commit comments

Comments
 (0)
Failed to load comments.