Closed charlespwd closed 1 week ago
Hello, @charlespwd
I added "block" and "blocks" completion inside the content_for tag. I hope the attached video is the desired feature or output. Hope you can check it out :)
I had to use the branch feature/content_for_tag to be able to use the NodeTypes.ContentForMarkup
because I couldn't find it on the main branch 😅
https://github.com/user-attachments/assets/9f5aec3d-f6ed-467b-906e-c35f73856bc8
That's exactly what we want :o
Also, #568 is merged on main if you want to make a PR :) :pray:
Fixed by #577 and #582. Thank you @Smintfy :pray:
We want "block" or "blocks" completion in the LiquidString node.
Steps:
ContentForCompletionProvider
in theme-language-server-common/src/completions/providersnode
from params.completionContext is not of typeNodeTypes.String
and theparentNode
isn't aContentForMarkup
(check out the RenderSnippetCompletionProvider for inspiration)block
orblocks