Prettier resolution broken?
See original GitHub issueI am aware that as of #39, prettier-vscode should resolve to the locally installed version of prettier, but in my configuration that does not seem to be the case. I have prettier 1.13.2
installed in my project, with the new rules for parentheses in math expressions, but when I use the editor.formatOnSave
feature of VSCode, these get replaced with the way prettier was handling them in 1.12.1
and below. It looks like prettier-vscode is using the internal prettier module, despite #39? And due to #470, prettier-vscode’s prettier is still at 1.12.1
.
I was trying to find some debugging information to provide better information for this issue, but wasn’t able to find any. What can I do to understand / log what’s going on with my configuration?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:9 (3 by maintainers)
Top Results From Across the Web
How can I solve the prettier/prettier problem - Stack Overflow
Try running npx prettier --write . on your project's directory. This command will tell prettier to fix simple errors (such as this one)...
Read more >Prettier 1.19: Long awaited Vue option, TypeScript 3.7 and ...
This is still broken if the key is a complex expression, but it has been fixed in these cases: // Input class Foo...
Read more >Vue.js | WebStorm Documentation - JetBrains
That means project is initialized, project's plugins are resolved, dependencies are added, and all WebStorm features are available.
Read more >Proposal: Changes to JavaScript Coding Standards for Full ...
The good news is that switching to the original Prettier will resolve all of the above! It quickly became noticeable that the automatic...
Read more >How I solved and debugged my Webpack issue through trial ...
src/index.js' }, output: { path: path.resolve(__dirname, 'dist'), filename: '[name]. ... The only problem here: why does his setup work?
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
If the formatter is not called, try disabling other extensions 😃
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.