0
サブライムテキスト3は、ファイルをファイル単位でUnixの行末に変更するのに、View
>Line Endings
という非常に便利な機能があります。プロジェクトやディレクトリ全体に対してこれを一度に行うことは可能ですか?SublimeText:プロジェクト内のすべてのファイルの行末を変更する
おかげ
サブライムテキスト3は、ファイルをファイル単位でUnixの行末に変更するのに、View
>Line Endings
という非常に便利な機能があります。プロジェクトやディレクトリ全体に対してこれを一度に行うことは可能ですか?SublimeText:プロジェクト内のすべてのファイルの行末を変更する
おかげ
はLineEndings plugin/packageは小さいですが、魔法のように動作しますが、そのパッケージのコントロールページに記載がないので、それは、いくつかの詳細を取得するにはGitHubのリポジトリの訪問します。
これは機能するだけでなく、行末の変更だけでなく、開いているすべてのファイルのインデント方法をワンステップで変更することもできます。インストール後
:
1-Open all files, in which you want to convert/change line endings and/or indentation method.
2-Press Ctrl+Shift+P, to bring Command Pallete and start typing lin to locate Line Ending to all views: Windows (for example).
3-Select it, hit Enter, and... you're done!
4-Repeat step 2, but type spaces to locate Indentation: Convert to all views to Spaces or tabs to locate Indentation: Convert to all views to Tabs to change indentation method of all open files.
はどうもありがとうございました。 Macでは 'Command + Shift + P 'です。 – antix