-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments only being added with opening tags #102
Comments
Thanks for all the help and discussions to get it/us here! I've actually never used this command. I will need to have a look and see what might be causing it. I am about to publish a patch, tell me it works. I was using a matching prefix in snippets, but I am not sure if they are related to this? |
@davidwarrington can you see if the patch release #103 fixes this? |
That update doesn't seem to do it. I've had a quick scan of the project files and stumbled across this in {
"comments": {
"lineComment": "{% #",
"blockComment": [
"{%- comment -%}",
"{%- endcomment -%}",
"{% comment %}",
"{% endcomment %}"
]
},
// ...
} I know very little about VSCode extensions so I'm hoping I'm wrong, or that there is a workaround, but from a very quick scan it looks like I've tried modifying my install of this extension by removing {
"comments": {
"blockComment": [
"{%- comment -%}",
"{%- endcomment -%}",
]
},
} Also just on a personal level I'd really love to default to the inline comments but it's more hassle than it's usually worth if my editor isn't automating writing it for me for multiline comments. Having a quick Google I also see there's this issue microsoft/vscode#64659 I can see there is some demand for more flexibility here, but no responses. |
That's the one. I'll PR |
Co-Authored-By: David Warrington <[email protected]>
🚢 v3.0.2 |
First off - congratulations on getting this over the line!
Onto the issue:
Using the shortcut
cmd + /
to create a liquid comment, only the opening tag is added to the beginning of each the area.Screen.Recording.2022-09-28.at.19.41.23.mov
It's happening in every file I try, but in case it helps, here's the code I'm testing in the video
The text was updated successfully, but these errors were encountered: