Eclipse配置

来源:互联网 发布:ntfs for mac免费 编辑:程序博客网 时间:2024/05/16 09:15

1.显示JVM内存使用情况

Window -> Preferences -> General -> Show heap status











2.设置字体大小

Window -> Preferences -> General -> Appearance -> Colors and Fonts -> Basic -> Text Font 。 Edit 设置为“小四”

3.设置UTF8编码格式

Window -> Preferences ->  General -> Editors -> Text Editors -> Spelling。  Encoding设置为UTF-8

Window -> Preferences -> General -> Workspace。Text file encoding 设置为UTF-8

Window -> Preferences -> Web -> JSP Files。 Encoding设置为UTF-8

4.安装resin插件

Window -> Preferences -> Server -> Runtime Environment。Add -> Show additional server adapters 找到Resin

5.配置resin或Apache Tomcat服务器

Window -> Preferences -> Server -> Runtime Environment。Add  选择Resin 或 Apache

6.配置maven

Window -> Preferences -> Maven -> Installations。add 添加maven 安装目录

Window -> Preferences -> Maven -> User Interface。在Open XML page in the POM editor by default 前面打勾

Window -> Perferences -> Maven。在 Download Artifact Sources,Download Artifact JavaDoc和Update Maven projects on statup前面打勾

7.配置git

Window -> Preferences -> Team -> Git -> Configuration。Add Entry :Key填email,Value填写Git邮箱地址,Key填Name,Value填写GitHub用户名

8.安装SVN插件

Help -> Eclipse Marketplace。Find输入Subversion,选择Subversionr安装,这种方式不推荐,网络总是连接超时

Luna:版本的http://download.eclipse.org/releases/luna/

Mars:版本的http://download.eclipse.org/releases/mars/

下面以Mars版本的为例子,说明安装方法:

To install:

  1. On main menu, choose Help > Install New Software. The available Software dialog appears.
  2. In the Work with list, select Mars - http://download.eclipse.org/releases/mars/. A list of software packages appears.
  3. Expand the Collaboration node, scroll the list and select Subversive features
  4. Check other options in the dialog as desired and click the Next button. The Install Details screen appears in the dialog.
  5. Click the Next button, accept the license and click Finish. Subversive will download and install.
  6. It is recommended to accept the option to restart Eclipse.
SVN安装完成重启后,点击Window -> Preferences -> Team -> SVN弹出svn connector,选择一个版本安装


9.安装Gradle插件

在 Eclipse Marketplace中安装Gradle Integeration for Eclopse 3.7.1.RELEASE失败,在Mar.1 Release(4.5.1)和Luna版本第一次尝试均失败,第二次于2015/12/5周六,公司网络还可以的情况下成功!

在Help -> Install New Software中add的Name输入gradle,Location输入http://dist.springsource.com/release/TOOLS/gradle,会出现一个错误,忽略后安装成功。

10.Project Facets

在项目上右键点击properties可以看到Project Facets,可以在里面配置编译的版本号。

11.svn connector地址

https://www.polarion.com/products/svn/subversive/download

12.创建Maven web 项目,Java Resources资源文件下只有src/man/resources 资源文件夹,没有另外三个

在项目上右键选择properties,然后点击 java build path,在Libraries下,编辑 JRE System Library,选择jre就可以了。

13.TestNG

Help -> Eclipse Marketplace。Find输入TestNG,找到TestNG for Eclipse

14.MarkDown

Help -> Eclipse Marketplace。Find输入markdown,找到 Markdown Text Editor

Window -> Show View -> Markdown View

File -> new -> File 以.md为扩展名创建markdown文件

保存文件后,右键WikiText可以转换为其他格式文件

Markdown Editor作为txt的默认编辑器Preferences -> General -> Editors  -> File Associations,找到*.txt,在下面Associated editors选择Markdown Editor 点击Default。

15.latex

Help -> Eclipse Marketplace。Find输入latex,找到Texlipse

16.UML Designer

Help -> Eclipse Marketplace。Find输入UML Designer,找到UML Designer5.0

17.GitHub Flavored MarkDown Viewer Plugin

Help -> Eclipse Marketplace。Find输入GFM

0 0