LoginSignup
0

More than 1 year has passed since last update.

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

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にチェックを入れる

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