简体   繁体   中英

Prettier Code formatter not working on Vs Code on javscript language or any other even on format on save or any other form

I am trying to use Prettier on VS Code for Linux(Ubuntu) when formatting ReactJs Code which is Javascript but there is a problem or an error that keeps on occurring without any explanation or reason the output it shows is: Vs代码给出的解释图我看不懂

**["INFO" - 9:25:54 am] Enabling prettier for range supported languages
[
  "graphql",
  "javascript",
  "javascriptreact",
  "json",
  "typescript",
  "typescriptreact"
]
["INFO" - 9:25:57 am] Loaded module 'prettier@1.19.1' from '/media/chetan/New Volume1/Pdhai/Projects/MUltiLevel Oauth/node_modules/prettier/index.js'
["INFO" - 9:25:58 am] Formatting /media/chetan/New Volume1/Pdhai/Projects/MUltiLevel Oauth/models/User.js
["INFO" - 9:25:58 am] Loaded module 'prettier@1.19.1' from '/media/chetan/New Volume1/Pdhai/Projects/MUltiLevel Oauth/node_modules/prettier/index.js'
["INFO" - 9:25:58 am] Using ignore file (if present) at /media/chetan/New Volume1/Pdhai/Projects/MUltiLevel Oauth/.prettierignore
["INFO" - 9:25:59 am] File Info:
{
  "ignored": false,
  "inferredParser": "babel"
}
["INFO" - 9:26:04 am] Require config set to true and no config present. Skipping file.**

Go to extension settings and find this one. Uncheck the box. Should help; enter image description here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM