Answer the question
In order to leave comments, you need to log in
Why doesn't Prettier format even though the settings are set?
Actually does not want to format, in the pretier logs this is
["INFO" - 12:48:23 PM] Using bundled version of prettier.
["INFO" - 12:48:23 PM] File Info:
{
"ignored": true,
"inferredParser": null
}
["INFO" - 12:48:23 PM] File is ignored, skipping.
{
"editor.fontSize": 14,
"editor.lineHeight": 26,
"editor.minimap.enabled": false,
"editor.fontFamily": "Fira code",
"editor.fontLigatures": true,
"editor.fontWeight": "500",
"workbench.colorTheme": "Cobalt2",
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"jspm_packages": true,
"node_modules": true
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true
},
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true
},
"editor.formatOnSave": true,
// "editor.renderWhitespace": "all",
"editor.tabSize": 4,
"editor.multiCursorModifier": "alt",
"editor.insertSpaces": true,
"files.encoding": "utf8",
"files.associations": {
"*.jsx": "JavaScript React",
"*.js": "javascriptreact"
},
"window.zoomLevel": 0,
"workbench.iconTheme": "vscode-icons",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue"
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question