My Eclipse常用设置和操作方法
2015-05-15 14:38
260 查看
MyEclipse 常用设置和操作方法
设置 myeclipse 中.properties 文件的编码方式
打开 Window ->Perferences ->General ->Editors ->Context Types
或者:
Window ->Perferences ->General ->Context Types 展开右边的 Text 节点,选中 Java Properties File。
把下面的 Default Character Set 的值:ISO-8859-1 改成 UTF-8 或者你希望的字符编码类型,然后点击 update 按钮.最后确定.
实用操作之屏蔽对文件的错误校验 myeclipse Project Capabilites(如 Hibernate,Spring 中自带包冲突时要去掉 如 Hibernate 下的 xerces.jar)
Window-->Preferences-->MyEclipse-->Project Capabilities-->下面对应的 Libraries 下面对应的 要屏蔽的文件——(右键)——MyEclipse——Exclude From Validation
实用操作之管理 User Libraries Window——Preferences——Java——Build Path——User Libraries
实用操作之设置提示间隔 Window——Preferences——Java——Editor——Content Assist——Auto-Activation
实用操作之设置 JSP 默认的 charset Window——Preferences——MyEclipse——Files and Editors——JSP——Creating files——Encoding
实用操作之重命名 Web 项目 F2——修改项目名
修改上下文路径 项目——(右键)——Properties——MyEclipse——Web——Context Root
实用操作之切换工作区 File——SwitchWorkspace——Other
实用操作之代码格式化 选中要格式化的代码——右键——(Source——)Format
选中要格式化的代码——Ctrl+Shift+F
实用操作之块注释 选中要注释的代码块——Ctrl+/
实用操作之提示标签、属性 实用操作之提示标签、 Ctrl+Shift+<
实用操作之转到定义 F3
实用操作之切换工作空间 File——Switch Workspace——Other
实用操作之设置 JSP 字符集 Window——Preferences——MyEclipse Enterprise Workbench——Files and Editors——JSP——Creating files——Encoding
实用操作之重写 在要重写的方法所在的类体中,右键——Source——Override/Implement Methods
实用操作之关闭 derby Window——Preferences——General——Startup and shutdown
实用操作之设置 doc 路径 选中.jar——右键——Properties——Javadoc Location——Javadoc in archive——External file 或 Javadoc URL
实用操作之拼写检查设置 Window——Perferences——General——Editors——Text Editors——Spelling——Enable spell checking Project——Clean
实用操作之代码片段管理 选中一段代码——右键——Add to Snippets
自动生成注释 通过菜单 Window->Preference 打开参数设置面板,然后选择:
1.Java -> Code Style -> Code Templates
2.在右侧选择 Comments,将其中的 Types 项,然后选右边的"Edit",进入编辑模式,将 @author ${user} 中的${user}改成你自己的名字即可。
设置 myeclipse 中.properties 文件的编码方式
打开 Window ->Perferences ->General ->Editors ->Context Types
或者:
Window ->Perferences ->General ->Context Types 展开右边的 Text 节点,选中 Java Properties File。
把下面的 Default Character Set 的值:ISO-8859-1 改成 UTF-8 或者你希望的字符编码类型,然后点击 update 按钮.最后确定.
实用操作之屏蔽对文件的错误校验 myeclipse Project Capabilites(如 Hibernate,Spring 中自带包冲突时要去掉 如 Hibernate 下的 xerces.jar)
Window-->Preferences-->MyEclipse-->Project Capabilities-->下面对应的 Libraries 下面对应的 要屏蔽的文件——(右键)——MyEclipse——Exclude From Validation
实用操作之管理 User Libraries Window——Preferences——Java——Build Path——User Libraries
实用操作之设置提示间隔 Window——Preferences——Java——Editor——Content Assist——Auto-Activation
实用操作之设置 JSP 默认的 charset Window——Preferences——MyEclipse——Files and Editors——JSP——Creating files——Encoding
实用操作之重命名 Web 项目 F2——修改项目名
修改上下文路径 项目——(右键)——Properties——MyEclipse——Web——Context Root
实用操作之切换工作区 File——SwitchWorkspace——Other
实用操作之代码格式化 选中要格式化的代码——右键——(Source——)Format
选中要格式化的代码——Ctrl+Shift+F
实用操作之块注释 选中要注释的代码块——Ctrl+/
实用操作之提示标签、属性 实用操作之提示标签、 Ctrl+Shift+<
实用操作之转到定义 F3
实用操作之切换工作空间 File——Switch Workspace——Other
实用操作之设置 JSP 字符集 Window——Preferences——MyEclipse Enterprise Workbench——Files and Editors——JSP——Creating files——Encoding
实用操作之重写 在要重写的方法所在的类体中,右键——Source——Override/Implement Methods
实用操作之关闭 derby Window——Preferences——General——Startup and shutdown
实用操作之设置 doc 路径 选中.jar——右键——Properties——Javadoc Location——Javadoc in archive——External file 或 Javadoc URL
实用操作之拼写检查设置 Window——Perferences——General——Editors——Text Editors——Spelling——Enable spell checking Project——Clean
实用操作之代码片段管理 选中一段代码——右键——Add to Snippets
自动生成注释 通过菜单 Window->Preference 打开参数设置面板,然后选择:
1.Java -> Code Style -> Code Templates
2.在右侧选择 Comments,将其中的 Types 项,然后选右边的"Edit",进入编辑模式,将 @author ${user} 中的${user}改成你自己的名字即可。
相关文章推荐
- MyEclipse 常用设置和操作方法
- TextView常用设置操作方法
- TextView常用设置操作方法(续)
- MyEclipse 常用设置和操作方法
- MyEclipse 常用设置和操作方法
- MyEclipse 常用设置和操作方法
- MyEclipse 常用设置和操作方法
- MySQL常用设置
- 转载_Android Studio常用快捷键设置
- 谷歌浏览器设置及常用快捷键
- Eclipse常用设置
- Eclipse常用设置
- Java 多线程的常用操作方法(命名和取得)
- python3.4学习笔记(十八) pycharm 安装使用、注册码、显示行号和字体大小等常用设置
- eclipse常用快捷键及其他设置
- myeclipse优化配置指南、myeclipse常用功能设置、 myeclipse快捷键
- VS常用设置及操作
- 使用代码构建布局及设置常用属性
- Eclipse常用设置
- UITextField - 常用属性及设置