Does not work with pug templates via VS Code Prettier plugin
See original GitHub issueNow #78 is solved and prettier --write .
works… But when I run format on save via VSCode it is the same behavior as before #78 got fixed 🤔
But now I’m not sure if this has something todo with your plugin or if esbenp.prettier-vscode has a bug.
I highly assume it has still something todo with the vueCompilerOptions
not forwarded correctly.
/ping @johnsoncodehk
Issue Analytics
- State:
- Created 10 months ago
- Comments:27 (14 by maintainers)
Top Results From Across the Web
Prettier Pug Plugin: Not formatting as expected. #2347 - GitHub
Problem. Pug templates don't use @prettier/plugin-pug specific settings. According the developer over on @prettier/plugin-pug I think this ...
Read more >@prettier/plugin-pug - npm
Plugin for Prettier to format pug code. You can disable code formatting for a particular code block by adding <!
Read more >Plugins - Prettier
Plugins are ways of adding new languages or formatting rules to Prettier. Prettier's own implementations of all languages are expressed using the plugin...
Read more >Vue.js | IntelliJ IDEA Documentation - JetBrains
JavaScript and TypeScript , Vue.js - The plugins are available only in ... Don't Open: in this case IntelliJ IDEA doesn't open the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, might be that I can test it first on monday
Update: yeah ok this seems to make it work:
@johnsoncodehk would be nice if you could confirm that it’s a good fix? (I’d only add this to the Vue language service host)