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?

More than 3 years have passed since last update.

JetBrainsのTypeScriptのコードスタイル設定(随時更新)

0
Last updated at Posted at 2021-11-22

新しく追加するimport文の読み込みでシングルクォーテーションを使う

以下の順番で設定を修正する

  1. Preferences
  2. Editor
  3. Code Style
  4. TypeScript
  5. Punctuation
  6. Use single quotes in new code

prettierでフォーマットする

  1. プラグインPrettierをインストールする
  2. Preferences
  3. Languages & Frameworks
  4. Prettier
  5. Prettier packageを選択(npmでインストールしたnodemodules/prettier
  6. On Reformat Code action や On Saveにチェックを入れる
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?