0
2

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 5 years have passed since last update.

Sublime Text3で一括置換したファイルをすべて保存する

Last updated at Posted at 2017-02-22

大量の一括置換案件が降ってきて、アホみたいにcommand + sしていたら隣の席の人に不審者を見る目で見られました。:eye:

静的htmlのコーディングでは一括置換作業が度々発生するので、この機会に一気に保存できる方法を調べました。:eyes:

File > Save All ですべて保存

ここを押すとすべてのファイルを保存できます。
スクリーンショット 2017-02-22 12.52.38.png

常に自動保存する設定

sublimeは軽くて落ちることが少ないので自動保存はあまり使う機会がないかもしれませんが、設定することもできます。

常に自動保存してくれるように設定するには、
preference → settings → Preferences.sublime-settings - User"save_on_focus_lost": true
を追記します。
最終行の場合末尾に,は入りませんが、続けて設定を記述する際は末尾を,でつなぎます。

再起動すると自動保存設定が有効になります。
スクリーンショット 2017-02-22 12.53.00.png

スクリーンショット 2017-02-22 13.08.35.png
0
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?