Prettier continues to format my code incorrectly. I desire 4 spaces for tabs (second picture) but it ignores the editor settings and does 2 (first picture).
I know it is prettier causing this because when I disable it vs code correctly indents for me. Unfortunately the other functionality of prettier is lost. I have already tried uninstalling and reinstalling.
So, what settings changes am I missing? I must be missing something. Any suggestions would be grand. Thanks.
Here are are all of prettier's settings I have changed.
"prettier.singleQuote": true,
"prettier.eslintIntegration": true,
"prettier.tabWidth": 4,
"prettier.useTabs": true
Are you using .editorconfig? You might have to change (or set) to
"editor.tabSize" : 4
as well.