Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mkanenobu/f2b1987bf078d12325c0945b81ebefad to your computer and use it in GitHub Desktop.
Save mkanenobu/f2b1987bf078d12325c0945b81ebefad to your computer and use it in GitHub Desktop.

手順

  1. File Watchersプラグインを入れる
  2. File WatchersにBiomeの設定を追加
  3. Actions on SaveでBiomeのFile Wathcers設定を有効化
  4. Actions on SaveのActivated on設定をAny saveに変更
  • 元の設定だと保存時ではなく変更時に走る

File WatcherのBiome設定

例としてbunを使って biome check --apply を走らせる設定

Program: bunx
Arguments: biome check --apply $FileName$
Output paths to refresh: 設定なし
Working directory: $FileDir$

スクリーンショット 2024-02-22 13 27 24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment