Eclipse 常用设置
来源:互联网 发布:tensorflow的tpuapi 编辑:程序博客网 时间:2024/05/01 05:35
1,设置默认的全局JRE:
Window->Preferences-> Java -> Installed JREs ,这样每次新建项目时,默认的JRE库即为选中的项。
2,设置工作空间全局编码:
设置UTF-8 Window->Preferences->General->Workspace 中Text file encoding 选择other并选UTF-8
3,修改文件默认编码:
Window -> Preferences -> General -> Content Types
【注意是修改最下面的Default encoding】,在这里可以将html、properties和jsp文件的编码都改成UTF-8的。
这样修改后,以后每次新建properties并保存时,就不会跳出一个对话框说你现在的编码是ISO-8859-1的提示了。
4,修改特定文件的编码:
Window -> Preferences -> MyEclipse -> Files and Editors -> JSP
比如这里修改JSP的页面显示编码为UTF-8,那么每次新建一个jsp文件后,第一行的编码设置内容就会像这样所示:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
5,设置字体:
Window -> Preferences -> General -> Appearance -> Colors and Fonts -> Basic -> Text font
6,设置文件默认编辑器:
Window -> Preferences -> General -> Editors -> File Associations
7,设置当鼠标移到文字上时的事件:这里选择快速显示注释。
Window -> Preferences -> General -> Editors -> Text Editors -> When mouse moved into hover.
8,设置快捷键:
Window -> Preferences -> General -> Keys
输入要设置的动作的名称,比如这里输入“run java”进行过滤,然后在Binding选项中设置快捷键。
这样以后每次要运行java程序时,只需要按 Alt+X 快捷键就可以了。
9,禁用启动时不需要的插件:
Window -> Preferences -> General -> StartUp and Shutdown
比如Myeclipse Derby,老是在Server控制台占着茅坑不拉屎,看着蛋疼,先把它给治了。
10,设置注册码:
Window -> Preferences -> MyEclipse -> Subscription
11,关闭自动更新:
Myeclipse有时一打开就在Progress中无休止地更新,必须把它给做了。
1. window --> preferences --> General --> Startup and Shutdown,
去掉 "Automatic Updates Scheduler " 项前面的勾。
2. Window --> Preferences --> Myeclipse Enterprise Workbench --> Maven4Myeclipse --> Maven --> "Download repository index updates on startup", 去掉前面的勾。
Window->Preferences-> Java -> Installed JREs ,这样每次新建项目时,默认的JRE库即为选中的项。
2,设置工作空间全局编码:
设置UTF-8 Window->Preferences->General->Workspace 中Text file encoding 选择other并选UTF-8
3,修改文件默认编码:
Window -> Preferences -> General -> Content Types
【注意是修改最下面的Default encoding】,在这里可以将html、properties和jsp文件的编码都改成UTF-8的。
这样修改后,以后每次新建properties并保存时,就不会跳出一个对话框说你现在的编码是ISO-8859-1的提示了。
4,修改特定文件的编码:
Window -> Preferences -> MyEclipse -> Files and Editors -> JSP
比如这里修改JSP的页面显示编码为UTF-8,那么每次新建一个jsp文件后,第一行的编码设置内容就会像这样所示:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
5,设置字体:
Window -> Preferences -> General -> Appearance -> Colors and Fonts -> Basic -> Text font
6,设置文件默认编辑器:
Window -> Preferences -> General -> Editors -> File Associations
7,设置当鼠标移到文字上时的事件:这里选择快速显示注释。
Window -> Preferences -> General -> Editors -> Text Editors -> When mouse moved into hover.
8,设置快捷键:
Window -> Preferences -> General -> Keys
输入要设置的动作的名称,比如这里输入“run java”进行过滤,然后在Binding选项中设置快捷键。
这样以后每次要运行java程序时,只需要按 Alt+X 快捷键就可以了。
9,禁用启动时不需要的插件:
Window -> Preferences -> General -> StartUp and Shutdown
比如Myeclipse Derby,老是在Server控制台占着茅坑不拉屎,看着蛋疼,先把它给治了。
10,设置注册码:
Window -> Preferences -> MyEclipse -> Subscription
11,关闭自动更新:
Myeclipse有时一打开就在Progress中无休止地更新,必须把它给做了。
1. window --> preferences --> General --> Startup and Shutdown,
去掉 "Automatic Updates Scheduler " 项前面的勾。
2. Window --> Preferences --> Myeclipse Enterprise Workbench --> Maven4Myeclipse --> Maven --> "Download repository index updates on startup", 去掉前面的勾。
- eclipse常用设置
- eclipse常用设置
- Eclipse常用设置
- Eclipse常用设置
- Eclipse 常用设置
- Eclipse的常用设置
- Eclipse 常用设置
- eclipse 常用 设置
- eclipse常用设置
- Eclipse 常用设置
- Eclipse常用设置
- eclipse常用设置
- Eclipse常用设置
- Eclipse 常用设置
- Eclipse中的常用设置
- eclipse常用字体设置
- Eclipse常用设置
- Eclipse 常用设置
- struts2的namespace
- 15位和18位身份证的正则表达式及其验证
- java 字节流与字符流的区别
- 玩转Eclipse — 自动代码规范检查工具Checkstyle
- vim学习(一)
- Eclipse 常用设置
- 谷歌增加新的搜索外观弹出视窗功能
- 《税务登记管理办法》
- C++ 虚函数表解析(转载)
- D85029048435
- js中的eval详解
- Android之Handler笔记
- vs2008每次 F5 build都会重新编译链接 特别浪费时间
- 8篇MongoDB教程快速学会入门 第3篇 细说高级操作