0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

HTML,JavaScript編

Posted at

vscode

まず拡張機能をダウンロードします。

ESLint Prettier - Code formatter Auto Rename Tag

この3つをHTML,JavaScriptようにダウンロードしてください。

次にsettings.jsonの編集です。

setings.json
  "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }

このコードを追記してください。

おまけ

jsonのフォーマッターの設定。

setings.json
  "[json][jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }

setings.jsonを見やすくできます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?