LoginSignup
0
0

More than 5 years have passed since last update.

eclipseで独自の拡張子を任意のエディタで編集する方法

Last updated at Posted at 2018-07-27

概要

eclipse上で独自の拡張子のファイルを編集する際に、使用するエディタを変更する手順についてまとめました。
eclipseを使っていて下記のような問題があったので、同じような事象が発生している場合には参考になるかもしれません。

  • ファイル名をダブルクリックすると別のエディタで開かれてしまう。
  • エディタの色設定が特定のファイルだけ反映されない。

※本記事はeclipse 4.4 Lunaで検証を行いました。

方法

  1. Window>Prefernces>General>Content Typeを選択
  2. 「Content types:」からTextのプルダウンを開き、編集したいエディタを選択
  3. 「File associations:」で「Add...」を選択し、編集したいファイルの拡張子を「*.etc」みたいな感じで入力してOKを選択

参考

eclipse上でのエディタ関連づけ
https://fiahfy.blogspot.com/2013/02/eclipse.html
  

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