Eclipse: associate an editor with a content type

前端 未结 2 563
野性不改
野性不改 2021-02-15 21:36

Can I change editor associations based on the content type rather than individual file types?

If I go to Window -> Preferences -> General -> Editors ->

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-15 22:25

    The only way I found to do that is by installing a plugin into your install that has the editor-to-content-type binding. In this example, I make Gedit available for the text content type:

    
       
          
       
    
    

    See http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_editors.html for more details.

提交回复
热议问题