Replies: 1 comment 13 replies
-
Thank you too!
Also works in Neovim and Sublime
This could work: https://github.com/zackad/prettier-plugin-twig-melody The main discussion about formatting is here: #4 |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, just stumbled over twiggy. I code with Craft CMS, great effort to maintain something new! Thanks! 👏
As far as I understand twiggy is VS Code only, right?
Is there any chance the language server could be somehow used for a prettier plugin?
It's still a big painpoint for me that there is no way to auto-format in PhpStorm / WebStorm and other IDEs consistently - in addition to VS code.
I'm not experienced with language servers - just read about Astro switchting to Volar als language server tooling. https://astro.build/blog/astro-and-volar/
And I heard that a language server is the first step to get a prettier plugin up and running. Therefore I'm trying to figure out how much effort is needed to get this done for twig.
Thanks very much for any hints!
Regards, Matthias
Beta Was this translation helpful? Give feedback.
All reactions