Eclipse插件

简介:
 
eclipse中,文件设置默认打开方式: Window -> Preferences -> General -> Editors -> File Associations 
 
1. 插件安装方式
 Eclipse插件的安装方式常用的两种,一是将插件的jar包拷贝到eclipse的plugin里面,二是在线安装,help -> install new software
推荐一个插件汇总的地方: http://www.open-open.com/04.htm

2. 插件地址

  findbugs:http://findbugs.cs.umd.edu/eclipse
  svn:http://subclipse.tigris.org/update_1.8.x   or
           http://subclipse.tigris.org/update_1.4.x
 
 
  测试盒覆盖率emma插件: http://update.eclemma.org, 具体参考: http://www.eclemma.org/
 
【注意】选项之间存在互斥,需要对某一组进行选择才行,否则报冲突问题
jetty所有版本下载: http://dist.codehaus.org/jetty/
 
 
 
eclipse javascript插件: 1、选择Help -> Software Updates -> Find and Install...-> Search for new features to install ->New remote site... Name: "Spket", Url: "http://www.spket.com/update/"下载完毕重启 Eclipse。更多信息参考: http://hi.baidu.com/236633818/blog/item/7d7438972840bf6454fb9665.html
配置 Window -> Preferences -> Spket -> JavaScript Profiles -> New ; 输入“ExtJS”点击OK; 选择“ExtJS” 并点击“Add Library”然后在下拉条中选取“ExtJS”; 选择 “ExtJS”并点击“Add File”,然后在你的./ext-3.4.0目录中选取ext.jsb2” 文件,在点击“default”设置为默认。打开:html或js文件,使用Spket javascript editor打开文件。
 
 
 
eclipse css插件
 
 
  1. 1。下载地址(见附件):http://sourceforge.net/projects/csseditor/  
  2. 2。解压缩复制到Eclipse > plugins  
  3. 3。打开Eclipse。window > Perferences > General > Editors > File Associations  
  4. 找到File types: *.css  
  5. 选择Associated editors: CSS Editor 为Default。  
  6. 完成 
 
==========================================
ubuntu:在windows平台一直用EasyExplorer,感觉良好。但最近发现在Ubuntu中不行了,于是寻觅一番找到了OpenExplorer, 经过部署到eclipse-jee-helios-SR1中使用,发现既能在工具条中打开,也可一通过右键菜单打开,比EasyExplorer方便很多。
 
eclipse中使用正则表达式的插件:
http://www.bastian-bergerhoff.com/eclipse/features
    // #require  "js/5v/lib/aelite/aelite.js"           
^[\s]*/[/*]+[\s]#require[\s]+[\"<]([\w/.-]+)[\">]+[\s]*$
 
 
统计工程或文件的代码行数插件
使用Eclipse可以方便的统计工程或文件的代码行数。
方法如下:
1.在菜单栏点击Search,然后点击File...
2.选中正则表达式(Regular expression),并在搜索文本框输入\n
3.在文件名中输入*或*.java
4.在范围里选中Enclosing projects
5.在Search窗口就会显示出项目或文件的代码行数 
或者使用小插件: http://zhwj184.iteye.com/blog/687296
或者linux下:find ./ -name *.java | xargs  grep "\n" | wc -l

【1】Implementors 提供跳转到一个方法的实现类,而不是接口的功能(实用!)
http://eclipse-tools.sourceforge.net/updates/
 
 

3. eclipse快捷键失效

  常见解决及解决方案:
 (1)恢复默认设置 Window-> Preferences->General->Key-> Restore Command
  (2) 注意与金山词霸软件的快捷键冲突,如 ctrl+l, SecurtCRT与金山词霸冲突
  (3) 注意与搜狗输入法的快捷键冲突,如 ctrl+shift+f

4. Build Path
当在Build Path中对其他工程有依赖时, 如果关闭依赖工程,会出现工程上有红叉,但是该工程代码有没有提示那里出现了错误的现象。 
方案:
Window -> Show View -> Problems,则在Problems视图中会显示时哪个依赖工程没打开等问题。此时再通过点击:右键点击工程名 ->Build Path ->Config Build path -> Projects中Remove掉就可以了, 此时哪些内容上的问题就暴露出来了。
 
 
5、在Eclipse中运行junit单元测试的时候,需要点击到class文件,而不是点击到.java文件来执行,否则会报错。
3
 
6、MyEclipse插件 
1.LICENSEE=LauCheng   
2.LICENSE_KEY=YLR8ZC-855550-6765665204902409 

7、Eclipse软件套餐

8、eclipse在spring配置文件applicationContext.xml文件中添加自动提示功能

spring的xml配置文件的文档路径: spring-framework-2.5.6\dist\resources
Window -> Preferences -> XML -> XML Catalog -> Add ->Location -> File System -> 
Location: D:\Java帮助文挡\spring-framework-2.5.6\ spring-framework-2.5.6\dist\resources\spring-context-2.5.xsd -> Key Type: Schema Location -> http://www.springframework.org/schema/context/ spring-context-2.5.xsd
同时: 在spring的配置文件中加入相应的xml配置:
xmlns:context="http://www.springframework.org/schema/context" 
http://www.springframework.org/schema/context 
http://www.springframework.org/schema/context/spring-context-2.5.xsd"> 
【注意】不能将spring-context-2.5.xsd">放在不同的行, 否则没有自动提示功能。  具体配置如下
 
 
  1. <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"    
  2.     xsi:schemaLocation="http://www.springframework.org/schema/beans     
  3.     http://www.springframework.org/schema/beans/spring-beans-2.5.xsd     
  4.     http://www.springframework.org/schema/context     
  5.     http://www.springframework.org/schema/context/spring-context-2.5.xsd">     
  6.     <context:annotation-config />     
  7. </beans>    

9、Mylin插件
Mylyn是一款Eclipse下非常优秀的任务管理软件,提供了新建任务功能,并能在繁多的Java工程的视角的切换中,只关注自己任务开发时所需要用到的文件,方便了开发者的切换

参考:http://blog.csdn.net/michaellufhl/archive/2010/03/17/5390778.aspx
 
 Eclipse3.5下的Mylyn与Jira的结合: http://www.renren.it/a/ITxinwen/google/2010/1120/48648.html
 10、打开 cmd/folder插件
11、Eclipse反编译插件 
Eclipse反编译插件: Jodeclipse与JadClipse   
Jodeclipse:
(1)从如下地址下载:  
http://sourceforge.net/projects/jodeeclipse  

(2)plugin到eclipse: http://www.technoetic.com/eclipse/update
JadClipse:
http://www.kpdus.com/jad.html#download
12、ASM字节码插件
 
 
13、Propertieseditor插件,Properties文件中出现中文可以自动转码
http://propedit.sourceforge.jp/eclipse/updates/

Usage

To see the bytecode of the current .java or .class file:
  • Window -> Show View -> Other -> Java -> Bytecode
To compare the bytecode of two .java or .class files:
  • select two *.class or *.java files -> right click -> Compare with -> Each Other Bytecode
or
  • select one *.class or *.java file -> right click -> Compare with -> Another Class Bytecode
Compare also works for *.class files included in any referenced *.jar library. Additional details can be found on author home page at  http://andrei.gmxhome.de/bytecode/index.html
 
 13、让开发自动化: 用 Eclipse 插件提高代码质量
 14、深入剖析 Eclipse 类装入器
 
 15、在eclipse为svn设置快捷方式

菜单Window>Preferences

在打开对话框中过滤输入中输入keys

在列表中将title为category的列点一下做个排序

找到svn大类

看到了吧,svn很多command,比如更新锁定提交等等,binding这一栏都是空的,也就是说需要你来设置快捷键

在Binding输入栏中按下你希望的快捷键,比如ctrl+`

When这一拦选择java编辑器

 

好了打完收工,你可以在编辑器中写完代码后,直接按ctrl+`来向svn提交代码

 
16、eclipse快捷键导入导出
导出: 打开 Eclipse的 File -> Export,在窗口中展开 General -> Perferences–>Export

all然后点击 NEXT。然后点击”Browse”选择任意的一个路径,保存配置文件,然后点击”Finish”。

导入:打 开Eclipse的 File -> Import 然后在打开的窗口里展开 General ->Perferences,点击NEXT,选中刚才修改过的配置文件,Finish。

 

可参考:http://www.javagg.com/archives/838

17、加快eclipse启动速度

设置插件不启动: Window->preferences->general->startup and shutdown

18、eclipse svn密码修改

经常出现因SVN密码更改,但Eclipse中SVN密码修改又很是复杂,网上一般都是删除硬盘内的document的文件,经在Eclipse中反复查找,发现在Eclipse中同样可以修改SVN密码:

1.点击 windows>show view>other>SVN>SVN repositories

2.在编辑器下部可以看到 SVN repositories 的view,选择要修改的SVN地址 右键>location properties 修改密码即可

 

19、在eclipse中远程编辑文件的eclipse插件

插件:http://mirrors.bevc.net/eclipse/download/drops/S-3.1M4-200412162000/eclipse-FTP-WebDAV-3.1M4.zip

参考:http://blog.csdn.net/zhangyunbo1116/article/details/1601122 

20、eclipse中的js debug插件:Eclipse debugger for V8

 安装:http://chromedevtools.googlecode.com/svn/update/dev/

源代码:http://code.google.com/p/chromedevtools/

参考文档:http://club.cnodejs.org/topic/4f16442ccae1f4aa27001105

21、javascript的eclipse插件:jseclipse

在eclipse中的install:http://download.macromedia.com/pub/labs/jseclipse/autoinstall/

 

 本文转自 tianya23 51CTO博客,原文链接:http://blog.51cto.com/tianya23/245397,如需转载请自行联系原作者

相关文章
|
3月前
|
Java Maven Android开发
在Eclipse里配置Maven插件
Maven是一款比较常用的Java开发拓展包,它相当于一个全自动jar包管理器,会导入用户开发时需要使用的相应jar包。使用Maven开发Java程序,可以极大提升开发者的开发效率。下面我就跟大家介绍一下如何在Eclipse里安装和配置Maven插件。
48 0
|
4月前
|
Java Android开发
eclipse安装SpringBoot插件的无敌办法
eclipse安装SpringBoot插件的无敌办法
57 0
|
4月前
|
Java Android开发 Spring
在 Eclipse 中安装 SpringTools 插件
在 Eclipse 中安装 SpringTools 插件
64 0
|
5月前
|
XML Java 应用服务中间件
Eclipse插件下载地址汇总
Eclipse插件下载地址汇总
46 0
|
6月前
|
存储 Android开发
Eclipse安装Flowable Eclipse Designer插件实现图形建模BPMN 2.0流程图
Eclipse安装Flowable Eclipse Designer插件实现图形建模BPMN 2.0流程图
170 0
|
6月前
|
IDE Java Apache
Eclipse 安装了 Groovy 开发插件之后,双击打不开 .java 文件了
Eclipse 安装了 Groovy 开发插件之后,双击打不开 .java 文件了
44 0
|
7月前
|
数据采集 IDE Java
|
7月前
|
Android开发
Eclipse 里一个 SAP Hybris Commerce 的开发插件
Eclipse 里一个 SAP Hybris Commerce 的开发插件
44 0
|
9月前
|
IDE NoSQL Java
Eclipse下载安装和JDK下载安装(环境配置)及下载C++插件CDT
Eclipse下载安装和JDK下载安装(环境配置)及下载C++插件CDT
296 0
|
IDE Java Apache
Eclipse 安装了 Groovy 开发插件之后,双击打不开 .java 文件了
Eclipse 安装了 Groovy 开发插件之后,双击打不开 .java 文件了
115 0