新建eclispe workspace要重新设置的地方

描述

新建一个wordspace时,根据个人习惯或者说行业规范要重新设置几个地方。

原因

全世界这么多开发人员不可能都使用eclipse的默认设置,根据个人要求进行修改。

解决方法

1.编码设置

Window - Preferences - General - Workspace - Text file encoding - UTF-8

        2.显示行号

Window - Preferences - General - Editors - Text Editors - Show line numbers

3.取消拼写检查

Window - Preferences - General - Editors - Text Editors - Spelling - Enable spell checking

4.设置快捷键(Easy Explore)

Window - Preferences - General - Keys

5.设置类的统一注释 

5.1 右击项目 - Properties - Java Code Style - Code Templates - Enable project specific settings - Comments - Files

5.2 右击项目 - Properties - Java Code Style - Code Templates - Enable project specific settings - Comments - Types

6.在工具栏显示新建Class, Interface等快捷图标

右击工具栏 - Customize Perspective - Command Groups Availability - Java Element Creation

7.修改格式化默认长度

Java Windows - Preferences - Java - Code Style - Formatter - Edit - Line Wrapping - Maximum line width

Css   Windows - Preferences - Web - CSS Files - Editor - Line width

Html Windows - Preferences - Web - HTML Files - Editor - Line width

XML  Windows - Preferences - XML - XML Files - Editor - Line width

Jsp    Html + XML

猜你喜欢

转载自chinahnzhou.iteye.com/blog/1344531