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

またファイル末尾の改行挿入を忘れてしまった…

Posted at

しょうがないね

じゃあ済まないので、エディターさんに「保存時に自動的に改行を挿入する」設定を追加して頑張ってもらうことにしました。

今回は私が普段使っている「VSCode」と「Eclipse」に設定してみました。

VSCode

「設定」→「insertFinalNewlineで検索」→チェックをつける
VSCodeの末尾改行挿入設定.gif

Eclipse

「設定」→「一般」→「エディタ」→「AnyEditツール」→「自動変換」タブの「ファイルの末尾に改行を作成」にチェックをつける→「適用して閉じる」で閉じる
Eclipseの末尾改行挿入設定.gif

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?