知识点
相关文章
更多最近更新
更多eclipse的默认(打开)编辑器的更改
2019-03-02 00:54|来源: 网路
eclipse / MyEclipse JSP默认打开方式是
MyEclipse Visual JSP Designer
它包含了Preview界面所以很慢,而我们如果只需要看代码的话就可以在打开JSP文件时
右键JSP文件 --> Open With --> MyEclipse JSP Editor
但是这样很繁琐,所以要修改eclipse的默认打开(双击)方式
window --> preferences --> General --> Editors --> File Associations
选择相应的文件后缀名后下面会出现可选打开方式.
选择自己想要的点击右边"Default" --> OK
以后双击就是你想要的编辑器了!
山东科技大学校友论坛 http://www.skdxy.com/
物流配货网 http://www.wlphw.com/
相爱(淘宝店) http://xiangai.taobao.com/
加微信号: WebsiteBuilder
微信二维码
转自:http://www.cnblogs.com/suizhikuo/archive/2013/04/18/3029378
相关问答
更多-
Eclipse怎样设置文件默认的编辑器[2022-09-20]
方法/步骤 1 打开eclipse,一次点击:Window -> Preferences -> General -> Editors -> File Associations。 2 下图右侧上方显示的是不同类型的文件,下面显示的是关联的编辑器。 3 点击文件类型的add可以添加关联的文件类型。 4 点击Associate editor的add按钮可以添加新的关联的编辑器。 -
eclipse bpmn用什么编辑器打开[2021-12-07]
直接打开eclipse,help-> install new software: 单击add: Name: Activiti BPMN 2.0 designer Location: http://activiti.org/designer/update/ -
Eclipse CDT - 无法打开编辑器:编辑器无法初始化?(Eclipse CDT - Could not open Editor: Editor could not be initialized?)[2022-09-16]
好吧,似乎项目配置搞砸了。 我删除了项目文件并重新制作它,现在它很好(删除了.cproject,删除了对.project中的cdt的引用,删除了/.settings中的cdt文件) Well, it seems that the project configuration was messed up. I deleted the project files and re-made it, and now it is fine (deleted .cproject, removed references to ... -
在命令行上,将P4EDITOR设置为环境变量或P4CONFIG文件。 On the command line, set P4EDITOR either as an environment variable or in the P4CONFIG file.
-
看起来不使用内部类就可以更改或添加文件关联。 您可以通过以下方式获取现有文件关联: IEditorRegistry editorRegistry = PlatformUI.getWorkbench().getEditorRegistry(); IFileEditorMapping [] mappings = editorRegistry.getFileEditorMappings(); 但更新列表需要使用EditorRegistry实现,这是一个内部类。 IFileEditorMapping的实现也是内 ...
-
是的,不是。 一旦资源(文件)发生更改, IResourceChangedListener将触发。 在大多数编辑器中,这对应于用户保存文件。 要接近实时监控类型,一种方法是使用MonoReconciler在用户空闲(例如0.5秒)后捕获缓冲区更改。 这就是JDT的工作原理。 现在,如果您是EditorPart的创建者,这一切都很简单。 根据您希望监视的编辑器,您需要获取其IDocument并根据需要添加侦听器。 请参阅文档 。 对于它的价值,IIRC的Java编辑使用ProjectionDocument 。 ...
-
您可以为'* .str'添加文件关联,并将关联编辑器设置为'文本编辑器'。 Eclipse将使用它来处理尚未打开的文件。 对于您已经打开的文件,Eclipse将记住您上次使用的编辑器,因此右键单击该文件并使用“打开方式>文本编辑器”。 你应该只需要这样做一次。 You can add a a File Associations for '*.str' and set the Associated Editor to 'Text Editor'. Eclipse will use this for files ...
-
如何以编程方式更改Eclipse编辑器的字体(大小)?(How to change font (size) for an Eclipse editor programmatically?)[2022-05-25]
您可以使用'symbolicFontName'属性在编辑器的org.eclipse.ui.editors扩展点声明中指定'符号字体名称'。 例如,这是Java编辑器:右键单击>打开> Java编辑器怎么样? 如果没有Java编辑器,那么你的eclipse安装就搞砸了 - 从eclipse.org获得一个新的 What about right click > Open with > Java editor? If there is no Java editor, then your eclipse installation is messed up - get a new one from eclipse.org右键单击并Open with ...应该在eclipse中打开行为。 此外,您可以在Preferences -> General -> Editors -> File Associations设置行为。 Right click and Open with ... should the opening behaviour in eclipse. Furthermore you can set the behaviour in Preferences -> General -> Editors -> File ...