vscode-liquid icon indicating copy to clipboard operation
vscode-liquid copied to clipboard

Extension should only affect liquid tags

Open thecouchcoder opened this issue 4 years ago • 2 comments

I had to uninstall this plugin because it was causing syntax errors in my other projects which are written with Angular.

When I saved a .html file in Angular this extension was auto "correcting" syntax from routerLink to routerlink. This broke all links in my Angular project. This is just one example.

This extension should only be affecting liquid syntax, not all HTML syntax.

thecouchcoder avatar Jul 11 '20 18:07 thecouchcoder

Hey @aes421 – This version leverages Grammar injections which causes this issue. This has been addressed in the next release.

panoply avatar Jul 11 '20 20:07 panoply

I had to uninstall this plugin because it was causing syntax errors in my other projects which are written with Angular.

When I saved a .html file in Angular this extension was auto "correcting" syntax from routerLink to routerlink. This broke all links in my Angular project. This is just one example.

This extension should only be affecting liquid syntax, not all HTML syntax.

This extension also cause me lots of troubles, would you tell me your other way ?

duterte avatar Jan 03 '21 07:01 duterte

🚢 Shipped v3.0.0

Grammar injections are no longer applied in HTML. The language is now recognized as Liquid.

panoply avatar Sep 28 '22 08:09 panoply