Questions tagged [prettier-vscode]

121 questions
4
votes
1 answer

prettier-vscode is ignoring my tabs setting

I'm using Visual Studio Code and the prettier plugin for it, version 5.8.0. In the extension settings of prettier I configured a tab width of 12. I also configured a tab width of 12 in a .prettierrc.json file: { "useTabs": true, "tabWidth":…
3
votes
1 answer

VSCode Prettier on save - for Vue.js

I had these settings for my VSCode settings.json { "workbench.sideBar.location": "left", "window.zoomLevel": 1, "workbench.colorTheme": "Monokai Pro", "workbench.iconTheme": "Monokai Pro Icons", "editor.formatOnSave": true, …
code-8
  • 54,650
  • 106
  • 352
  • 604
3
votes
2 answers

VS Code: Prettier splits paragraph text to multiple lines

I have a long text in p tag and Prettier splits the text in this tag to multiple lines. I have 'word wrap' enabled. How can I stop this from happening? Before Save: After Save:
3
votes
0 answers

VS Code can't format code in