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?

【VSCODE】Prettierの自動改行される一行の長さを変える

Posted at

手順

1. PrettierのSettingsを開く。

2. Print Widthを検索フォームに入力

3. デフォルトが80になっているので任意の数値に変更(360とか)

image.png

ショートカット手順

1. cmd + ,ショートカット起動

2. @ext:esbenp.prettier-vscode Prettier: Print Widthを検索フォームに入力

config.jsで設定

共有設定にする際に利用

prettier.config.js
module.exports = {
    printWidth: 360,
};
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?