开发者

Eclipse is opening all files in another text editor

I installed Eclipse and successfully imported my project. The problem is now when I click on any file, it opens in Geany (the default editor of my Ubuntu). I tried to chan开发者_运维技巧ge the Open with option but get the same result. How do I fix this?


You can change the associated editor for given file type by navigating to

Preferences -> General -> Editors -> File Associations


I set my File Associations and that was not enough to make double clicking open the correct editor. I also had to add *.jsp as a Text mapping under Content Types. I also had to select each file that had a previous mapping and select Open With... => Default Editor.

After setting 1) the File Association; 2) Content Type and 3) Default Editor for each file, double click opens it in the editor I want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜