﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-alexprefect-文章分类-ecllipse使用</title><link>http://www.blogjava.net/alexprefect/category/51246.html</link><description /><language>zh-cn</language><lastBuildDate>Wed, 28 Mar 2012 09:38:23 GMT</lastBuildDate><pubDate>Wed, 28 Mar 2012 09:38:23 GMT</pubDate><ttl>60</ttl><item><title>eclipse 注释模板</title><link>http://www.blogjava.net/alexprefect/articles/306414.html</link><dc:creator>alexprefect</dc:creator><author>alexprefect</author><pubDate>Thu, 17 Dec 2009 11:21:00 GMT</pubDate><guid>http://www.blogjava.net/alexprefect/articles/306414.html</guid><wfw:comment>http://www.blogjava.net/alexprefect/comments/306414.html</wfw:comment><comments>http://www.blogjava.net/alexprefect/articles/306414.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/alexprefect/comments/commentRss/306414.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/alexprefect/services/trackbacks/306414.html</trackback:ping><description><![CDATA[&nbsp;选择 window--&gt;Preferences--&gt;JAVA--&gt;Code--&gt;Code Templates <br />
<br />
选择 Comments --&gt; Files --&gt; Edit<br />
<br />
添加<br />
<br />
<span style="color: #000000">/**&nbsp;&nbsp;<br />
&nbsp;*&nbsp;Filename:&nbsp;&nbsp;&nbsp;&nbsp;${file_name}&nbsp;&nbsp;<br />
&nbsp;*&nbsp;Description:&nbsp;&nbsp;&nbsp;<br />
&nbsp;*&nbsp;Copyright:&nbsp;&nbsp;&nbsp;Copyright&nbsp;(c)2009&nbsp;&nbsp;<br />
&nbsp;*&nbsp;Company:&nbsp;&nbsp;&nbsp;&nbsp;company&nbsp;<br />
&nbsp;*&nbsp;@author:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alex&nbsp;&nbsp;<br />
&nbsp;*&nbsp;@version:&nbsp;&nbsp;&nbsp;&nbsp;1.0&nbsp;&nbsp;<br />
&nbsp;*&nbsp;Create&nbsp;at:&nbsp;&nbsp;&nbsp;${date}&nbsp;${time}&nbsp;&nbsp;<br />
&nbsp;*&nbsp;&nbsp;<br />
&nbsp;*&nbsp;Modification&nbsp;History:&nbsp;&nbsp;<br />
&nbsp;*&nbsp;Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Author&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description&nbsp;&nbsp;<br />
&nbsp;*&nbsp;------------------------------------------------------------------&nbsp;&nbsp;<br />
&nbsp;*&nbsp;${date}&nbsp;&nbsp;&nbsp; alex&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.0&nbsp;Version&nbsp;&nbsp;<br />
&nbsp;*/&nbsp;&nbsp;</span><br />
<br />
Modification&nbsp;History:&nbsp;每次修改版本，需要添加修改记录和说明<br />
<br />
将下面的 Automatically add comments for new methods and types 选中<br />
<br />
<br />
选择 Comments --&gt;&nbsp;Methods --&gt; Edit<br />
<br />
添加<br />
<br />
/**<br />
&nbsp;* {方法的功能/动作描述}<br />
&nbsp;* @param&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {引入参数名}&nbsp;&nbsp; {引入参数说明}<br />
&nbsp;* @return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {返回参数名}&nbsp;&nbsp; {返回参数说明}<br />
&nbsp;* @exception&nbsp;&nbsp; {说明在某情况下,将发生什么异常}<br />
&nbsp;*/<br />
<br />
这样在新增java类文件时，可以自动加载注释模板，生成后需要稍微调整一下注释的位置。<br />
对于方法注释的添加，可以在要添加的注释处，单击右键 选择 Source--&gt;Generate Element Comment 即可生成方法注释，填充注释内容<br />
 <img src ="http://www.blogjava.net/alexprefect/aggbug/306414.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/alexprefect/" target="_blank">alexprefect</a> 2009-12-17 19:21 <a href="http://www.blogjava.net/alexprefect/articles/306414.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>myeclipse优化（转载）</title><link>http://www.blogjava.net/alexprefect/articles/304671.html</link><dc:creator>alexprefect</dc:creator><author>alexprefect</author><pubDate>Thu, 03 Dec 2009 09:18:00 GMT</pubDate><guid>http://www.blogjava.net/alexprefect/articles/304671.html</guid><wfw:comment>http://www.blogjava.net/alexprefect/comments/304671.html</wfw:comment><comments>http://www.blogjava.net/alexprefect/articles/304671.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/alexprefect/comments/commentRss/304671.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/alexprefect/services/trackbacks/304671.html</trackback:ping><description><![CDATA[<div class="blog_content">
<p>前言：MyEclipse5.5 大小 139M；MyEclipse6.5 大小 451M；MyEclipse7.0 大小 649M；MyEclipse8.0 大小 772.3MB（速度方面比7.1和7.5都快了许多单还是很费内存）<br />
下 载服务器又是国外的，下载速度累人也就罢了，只要你工作性能一流。不幸的是，MyEclipse 属于狂吃内存的主，特别是 MyEclipse7.0 运行起来，基本上不用干其他工作了，它是一会Quick update，一会 updating indexes ，你耐着性子等它 update 完，它老人家又开始自动 validation 了！</p>
<p>实在忍无可忍，收集了一些关于解决 MyEclipse 的耗内存的办法，经测试非常有效，整理出来，希望可以方便更多的朋友。</p>
<p>1、老是弹出Quick update error 、关闭myeclipse的Quick Update自动更新功能<br />
这个问题的解决办法是关闭自动更新<br />
Windows &gt; Preferences &gt; MyEclipse Enterprise Workbench &gt; Community Essentials, <br />
把选项 &#8221;Search for new features on startup&#8221;的前勾去掉即可。</p>
<p>2 、关闭updating indexes<br />
Window &gt; Preferences &gt; Myeclipse Enterprise Workbench &gt; Maven4Myeclipse &gt; Maven&gt;<br />
禁用Download repository index updates on startup 。</p>
<p>3 、关闭MyEclipse的自动validation<br />
validation有一堆，什么xml、jsp、jsf、js等等，我们没有必要全部都去自动校验一下，<br />
只是需要的时候才会手工校验一 下，速度立马提升好几个档次<br />
windows &gt; perferences &gt; myeclipse &gt; validation <br />
将Build下全部勾取消<br />
如果你需要验证某个文件的时候，我们可以单独去验证它。方法是：<br />
在需要验证的文件上( 右键 -&gt; MyEclipse -&gt; Run Validation 。</p>
<p>4、 启动优化，关闭不需要使用的模块<br />
一个系统20%的功能往往能够满足80%的需求，MyEclipse也不例外，我们在大多数时候只需要20%的系统功能，<br />
所以可以将一些不使用的模块禁止 加载启动。<br />
Window &gt; Preferences &gt; General &gt; Startup andy Shutdown 在这里列出的是MyEclipse启动时加载的模块 <br />
我这里只让它加载tomcat5 勾选 MyEclipse EASIE Tomcat 5 。<br />
怎样才能知道哪些启动项有用呢？我现在把我知道的启动项用处说一下，还有很多不懂的，<br />
希望大家懂的回复在下面 啊： <br />
WTP ：一个跟myeclipse差不多的东西，主要差别是 WTP 是免费的，如果使用myeclipse，这个可以取消 <br />
Mylyn：组队任务管理工具，类似于 CVS ，以任务为单位管理项目进度，没用到的可以取消 <br />
Derby：一种保存成 jar 形式的数据库，我没用到，取消 <br />
一大排以 MyEclipse EASIE 打头的启动项：myeclipse 支持的服务器，只选自己用的，其他取消，<br />
比如我只选了 tomcat 。</p>
<p>5 、去掉MyEclipse的拼写检查（如果你觉的有用可以不去）<br />
拼写检查会给我们带来不少的麻烦，我们的方法命名都会是单词的缩写，他也会提示有错，<br />
所以最好去掉，没有多大的用处<br />
Window &gt; perferences &gt; General &gt; Editors &gt; Text Editors &gt; Spelling &gt; 将Enable spell checking复选框的勾选去掉。</p>
<p>6 、去掉MyEclipse繁杂的自带插件自动加载项<br />
Window &gt; perferences &gt; General &gt; Startup and Shutdown &gt; 将Plug-ins activated on startup <br />
中的复选框有选择性的勾 选去掉。</p>
<p>7 、修改MyEclipse编辑JSP页面时的编辑工具 <br />
Window &gt; perferences &gt; General &gt; Editors &gt; File Associations &gt; <br />
在File types 中选择 *.jsp &gt; 在Associated editors 中将&#8221;MyEclipse JSP Editor&#8221;设置为默认。</p>
<p>8 、修改MyEclipse安装目录的eclipse.ini文件，加大JVM的非堆内存<br />
具体内容如下：<br />
-clean<br />
-showsplash<br />
com.genuitec.myeclipse.product.ide<br />
--launcher.XXMaxPermSize<br />
256m<br />
-vmargs<br />
-Xms128m<br />
-Xmx512m<br />
-Duser.language=en <br />
-XX:PermSize=128M <br />
-XX:MaxPermSize=256M<br />
把下面的那个 -XX:MaxPermSize 调大，比如 -XX:MaxPermSize=512M，再把 -XX:PermSize 调成跟 <br />
-XX:MaxPermSize一样大</p>
</div>
 <img src ="http://www.blogjava.net/alexprefect/aggbug/304671.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/alexprefect/" target="_blank">alexprefect</a> 2009-12-03 17:18 <a href="http://www.blogjava.net/alexprefect/articles/304671.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>myeclipse 各个版本含义</title><link>http://www.blogjava.net/alexprefect/articles/304575.html</link><dc:creator>alexprefect</dc:creator><author>alexprefect</author><pubDate>Thu, 03 Dec 2009 01:31:00 GMT</pubDate><guid>http://www.blogjava.net/alexprefect/articles/304575.html</guid><wfw:comment>http://www.blogjava.net/alexprefect/comments/304575.html</wfw:comment><comments>http://www.blogjava.net/alexprefect/articles/304575.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/alexprefect/comments/commentRss/304575.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/alexprefect/services/trackbacks/304575.html</trackback:ping><description><![CDATA[blue版本是专为IBM开发的<br />
<br />
M版 即 Milestone版本 是比beta版 还要早的版本 可以看作是下一代正式版本的一个试探性改进测试<br />
<br />
RC就是Release Candidate（候选版本）的简称<br />
&nbsp;<br />
GA:General Availability,正式发布的版本，在国外都是用GA来说明release版本的 <br />
 <img src ="http://www.blogjava.net/alexprefect/aggbug/304575.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/alexprefect/" target="_blank">alexprefect</a> 2009-12-03 09:31 <a href="http://www.blogjava.net/alexprefect/articles/304575.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>eclipse快捷键</title><link>http://www.blogjava.net/alexprefect/articles/302110.html</link><dc:creator>alexprefect</dc:creator><author>alexprefect</author><pubDate>Thu, 12 Nov 2009 07:29:00 GMT</pubDate><guid>http://www.blogjava.net/alexprefect/articles/302110.html</guid><wfw:comment>http://www.blogjava.net/alexprefect/comments/302110.html</wfw:comment><comments>http://www.blogjava.net/alexprefect/articles/302110.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/alexprefect/comments/commentRss/302110.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/alexprefect/services/trackbacks/302110.html</trackback:ping><description><![CDATA[ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;g：查看引用 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;n：重命名 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;o：导入类 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;r：启动上次运行 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;f：格式化代码 &nbsp;<br />
ctrl &nbsp;+ &nbsp;c：复制 &nbsp;<br />
ctrl &nbsp;+ &nbsp;v：粘贴 &nbsp;<br />
ctrl &nbsp;+ &nbsp;x：切剪 &nbsp;<br />
ctrl &nbsp;+ &nbsp;a：全选 &nbsp;<br />
ctrl &nbsp;+ &nbsp;f：查找 &nbsp;<br />
ctrl &nbsp;+ &nbsp;z：撤销 &nbsp;<br />
ctrl &nbsp;+ &nbsp;y：重做 &nbsp;<br />
ctrl &nbsp;+ &nbsp;s：保存 &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
用的最多的应该就是CTRL+SHIFT+S &nbsp;<br />
还有格式化用的也挺多。 &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;f &nbsp;格式化代码 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;o &nbsp;组织导入 &nbsp;<br />
F3 &nbsp; &nbsp;打开声明 &nbsp;<br />
Alt &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;r &nbsp; &nbsp;重命名变量 &nbsp;<br />
&nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
up &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
Alt+/ &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
alt &nbsp;+ &nbsp;left &nbsp;<br />
alt &nbsp;+ &nbsp;right &nbsp;<br />
ctrl &nbsp;+ &nbsp;q &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;g：查看引用 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;n：重命名 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;f：格式化代码 &nbsp;<br />
ctrl &nbsp;+ &nbsp;c：复制 &nbsp;<br />
ctrl &nbsp;+ &nbsp;v：粘贴 &nbsp;<br />
ctrl &nbsp;+ &nbsp;a：全选 &nbsp;<br />
ctrl &nbsp;+ &nbsp;f：查找 &nbsp;<br />
ctrl &nbsp;+ &nbsp;z：撤销 &nbsp;<br />
ctrl &nbsp;+ &nbsp;s：保存 &nbsp;<br />
Alt &nbsp; &nbsp;+ &nbsp;/ &nbsp;智能提示 &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;g：查看引用 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;n：重命名 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;o：导入类 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;r：启动上次运行 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;f：格式化代码 &nbsp;<br />
ctrl &nbsp;+ &nbsp;c：复制 &nbsp;<br />
ctrl &nbsp;+ &nbsp;v：粘贴 &nbsp;<br />
ctrl &nbsp;+ &nbsp;x：切剪 &nbsp;<br />
ctrl &nbsp;+ &nbsp;a：全选 &nbsp;<br />
ctrl &nbsp;+ &nbsp;f：查找 &nbsp;<br />
ctrl &nbsp;+ &nbsp;z：撤销 &nbsp;<br />
ctrl &nbsp;+ &nbsp;y：重做 &nbsp;<br />
ctrl &nbsp;+ &nbsp;s：保存 &nbsp;<br />
Alt &nbsp; &nbsp;+ &nbsp;/ &nbsp;智能提示 &nbsp;<br />
F3 &nbsp; &nbsp;打开声明 &nbsp;<br />
Alt &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;r &nbsp; &nbsp;重命名变量 &nbsp;<br />
其实最常用的就是下面几个： &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;o：导入类 &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;f：格式化代码 &nbsp;<br />
ctrl &nbsp;+ &nbsp;c：复制 &nbsp;<br />
ctrl &nbsp;+ &nbsp;v：粘贴 &nbsp;<br />
ctrl &nbsp;+ &nbsp;x：切剪 &nbsp;<br />
ctrl &nbsp;+ &nbsp;z：撤销 &nbsp;<br />
ctrl &nbsp;+ &nbsp;s：保存 &nbsp;<br />
Alt &nbsp; &nbsp;+ &nbsp;/ &nbsp;智能提示 &nbsp;<br />
&nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
Ctrl+M: &nbsp;工作区最大化/最小化 &nbsp;<br />
Alt+/: &nbsp; &nbsp;智能提示 &nbsp;<br />
F3: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;察看声明 &nbsp;<br />
Crtl+1: &nbsp;修正错误 &nbsp;<br />
&nbsp;<br />
Shift+Alt+T: &nbsp;重构 &nbsp;<br />
Shift+Alt+M: &nbsp;提取函数 &nbsp;<br />
Shift+Alt+R: &nbsp;重命名 &nbsp;<br />
Shift+Alt+C: &nbsp;更改函数标记 &nbsp;<br />
&nbsp;<br />
Ctrl+Shitf+F: &nbsp;格式化代码 &nbsp;<br />
&nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;o：导入类 &nbsp;<br />
atl &nbsp;+ &nbsp;/：提示 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;t：查找相关信息 &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
Eclipse快捷键指南 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<br />
编辑 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;查找并替换 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;查找上一个 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+K &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;查找下一个 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+K &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;撤销 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Z &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;复制 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+C &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;恢复上一个选择 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+&#8595; &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;剪切 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+X &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快速修正 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl1+1 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;内容辅助 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+/ &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;全部选中 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+A &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;删除 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Delete &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上下文信息 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+？ &nbsp;<br />
Alt+Shift+? &nbsp;<br />
Ctrl+Shift+Space &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示工具提示描述 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F2 &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;选择封装元素 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+&#8593; &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;选择上一个元素 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+&#8592; &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;选择下一个元素 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+&#8594; &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;增量查找 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+J &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;增量逆向查找 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+J &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;粘贴 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+V &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;重做 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Y &nbsp;<br />
&nbsp; &nbsp;<br />
查看 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;放大 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+= &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;缩小 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+- &nbsp;<br />
&nbsp; &nbsp;<br />
窗口 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;激活编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F12 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;切换编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+W &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上一个编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+F6 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上一个视图 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+F7 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上一个透视图 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+F8 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;下一个编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F6 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;下一个视图 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F7 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;下一个透视图 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F8 &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示标尺上下文菜单 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+W &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示视图菜单 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F10 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示系统菜单 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+- &nbsp;<br />
&nbsp; &nbsp;<br />
导航 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开结构 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F3 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开类型 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+T &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开类型层次结构 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F4 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开声明 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F3 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开外部javadoc &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Shift+F2 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开资源 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+R &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;后退历史记录 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+&#8592; &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;前进历史记录 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+&#8594; &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上一个 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+, &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;下一个 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+. &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示大纲 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+O &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;在层次结构中打开类型 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+H &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;转至匹配的括号 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+P &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;转至上一个编辑位置 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Q &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;转至上一个成员 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+&#8593; &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;转至下一个成员 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+&#8595; &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;转至行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+L &nbsp;<br />
&nbsp; &nbsp;<br />
搜索 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;出现在文件中 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+U &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开搜索对话框 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+H &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;工作区中的声明 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+G &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;工作区中的引用 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+G &nbsp;<br />
&nbsp; &nbsp;<br />
文本编辑 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;改写切换 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Insert &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上滚行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+&#8593; &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;下滚行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+&#8595; &nbsp;<br />
&nbsp; &nbsp;<br />
文件 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;保存 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+X &nbsp; &nbsp;<br />
Ctrl+S &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打印 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+P &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;关闭 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F4 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;全部保存 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+S &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;全部关闭 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+F4 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;属性 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Enter &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;新建 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+N &nbsp;<br />
&nbsp; &nbsp;<br />
项目 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;全部构建 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+B &nbsp;<br />
&nbsp; &nbsp;<br />
源代码 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;格式化 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+F &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;取消注释 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+ &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;注释 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+/ &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;添加导入 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+M &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;组织导入 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+O &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;使用try/catch块来包围 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;未设置，太常用了，所以在这里列出,建议自己设置。 &nbsp;<br />
也可以使用Ctrl+1自动修正。 &nbsp;<br />
&nbsp; &nbsp;<br />
运行 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;单步返回 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F7 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;单步跳过 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F6 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;单步跳入 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F5 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;单步跳入选择 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F5 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;调试上次启动 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F11 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;继续 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F8 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;使用过滤器单步执行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Shift+F5 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;添加/去除断点 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+B &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+D &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;运行上次启动 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F11 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;运行至行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+R &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;执行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+U &nbsp;<br />
&nbsp; &nbsp;<br />
重构 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;撤销重构 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+Z &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;抽取方法 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+M &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;抽取局部变量 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+L &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;内联 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+I &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;移动 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+V &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;重命名 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+R &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;重做 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+Y&nbsp;&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;g：查看引用 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;n：重命名 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;o：导入类 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;r：启动上次运行 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;f：格式化代码 &nbsp;<br />
ctrl &nbsp;+ &nbsp;c：复制 &nbsp;<br />
ctrl &nbsp;+ &nbsp;v：粘贴 &nbsp;<br />
ctrl &nbsp;+ &nbsp;x：切剪 &nbsp;<br />
ctrl &nbsp;+ &nbsp;a：全选 &nbsp;<br />
ctrl &nbsp;+ &nbsp;f：查找 &nbsp;<br />
ctrl &nbsp;+ &nbsp;z：撤销 &nbsp;<br />
ctrl &nbsp;+ &nbsp;y：重做 &nbsp;<br />
ctrl &nbsp;+ &nbsp;s：保存 &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
用的最多的应该就是CTRL+SHIFT+S &nbsp;<br />
还有格式化用的也挺多。 &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;f &nbsp;格式化代码 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;o &nbsp;组织导入 &nbsp;<br />
F3 &nbsp; &nbsp;打开声明 &nbsp;<br />
Alt &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;r &nbsp; &nbsp;重命名变量 &nbsp;<br />
&nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
up &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
Alt+/ &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
alt &nbsp;+ &nbsp;left &nbsp;<br />
alt &nbsp;+ &nbsp;right &nbsp;<br />
ctrl &nbsp;+ &nbsp;q &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;g：查看引用 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;n：重命名 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;f：格式化代码 &nbsp;<br />
ctrl &nbsp;+ &nbsp;c：复制 &nbsp;<br />
ctrl &nbsp;+ &nbsp;v：粘贴 &nbsp;<br />
ctrl &nbsp;+ &nbsp;a：全选 &nbsp;<br />
ctrl &nbsp;+ &nbsp;f：查找 &nbsp;<br />
ctrl &nbsp;+ &nbsp;z：撤销 &nbsp;<br />
ctrl &nbsp;+ &nbsp;s：保存 &nbsp;<br />
Alt &nbsp; &nbsp;+ &nbsp;/ &nbsp;智能提示 &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;g：查看引用 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;n：重命名 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;o：导入类 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;r：启动上次运行 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;f：格式化代码 &nbsp;<br />
ctrl &nbsp;+ &nbsp;c：复制 &nbsp;<br />
ctrl &nbsp;+ &nbsp;v：粘贴 &nbsp;<br />
ctrl &nbsp;+ &nbsp;x：切剪 &nbsp;<br />
ctrl &nbsp;+ &nbsp;a：全选 &nbsp;<br />
ctrl &nbsp;+ &nbsp;f：查找 &nbsp;<br />
ctrl &nbsp;+ &nbsp;z：撤销 &nbsp;<br />
ctrl &nbsp;+ &nbsp;y：重做 &nbsp;<br />
ctrl &nbsp;+ &nbsp;s：保存 &nbsp;<br />
Alt &nbsp; &nbsp;+ &nbsp;/ &nbsp;智能提示 &nbsp;<br />
F3 &nbsp; &nbsp;打开声明 &nbsp;<br />
Alt &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;r &nbsp; &nbsp;重命名变量 &nbsp;<br />
其实最常用的就是下面几个： &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;o：导入类 &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;f：格式化代码 &nbsp;<br />
ctrl &nbsp;+ &nbsp;c：复制 &nbsp;<br />
ctrl &nbsp;+ &nbsp;v：粘贴 &nbsp;<br />
ctrl &nbsp;+ &nbsp;x：切剪 &nbsp;<br />
ctrl &nbsp;+ &nbsp;z：撤销 &nbsp;<br />
ctrl &nbsp;+ &nbsp;s：保存 &nbsp;<br />
Alt &nbsp; &nbsp;+ &nbsp;/ &nbsp;智能提示 &nbsp;<br />
&nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
Ctrl+M: &nbsp;工作区最大化/最小化 &nbsp;<br />
Alt+/: &nbsp; &nbsp;智能提示 &nbsp;<br />
F3: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;察看声明 &nbsp;<br />
Crtl+1: &nbsp;修正错误 &nbsp;<br />
&nbsp;<br />
Shift+Alt+T: &nbsp;重构 &nbsp;<br />
Shift+Alt+M: &nbsp;提取函数 &nbsp;<br />
Shift+Alt+R: &nbsp;重命名 &nbsp;<br />
Shift+Alt+C: &nbsp;更改函数标记 &nbsp;<br />
&nbsp;<br />
Ctrl+Shitf+F: &nbsp;格式化代码 &nbsp;<br />
&nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;o：导入类 &nbsp;<br />
atl &nbsp;+ &nbsp;/：提示 &nbsp;<br />
ctrl &nbsp;+ &nbsp;shift &nbsp;+ &nbsp;t：查找相关信息 &nbsp;<br />
--------------------------------------------------------------- &nbsp;<br />
&nbsp;<br />
Eclipse快捷键指南 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<br />
编辑 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;查找并替换 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;查找上一个 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+K &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;查找下一个 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+K &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;撤销 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Z &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;复制 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+C &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;恢复上一个选择 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+&#8595; &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;剪切 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+X &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快速修正 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl1+1 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;内容辅助 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+/ &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;全部选中 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+A &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;删除 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Delete &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上下文信息 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+？ &nbsp;<br />
Alt+Shift+? &nbsp;<br />
Ctrl+Shift+Space &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示工具提示描述 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F2 &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;选择封装元素 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+&#8593; &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;选择上一个元素 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+&#8592; &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;选择下一个元素 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+&#8594; &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;增量查找 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+J &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;增量逆向查找 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+J &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;粘贴 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+V &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;重做 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Y &nbsp;<br />
&nbsp; &nbsp;<br />
查看 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;放大 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+= &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;缩小 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+- &nbsp;<br />
&nbsp; &nbsp;<br />
窗口 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;激活编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F12 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;切换编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+W &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上一个编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+F6 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上一个视图 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+F7 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上一个透视图 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+F8 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;下一个编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F6 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;下一个视图 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F7 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;下一个透视图 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F8 &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示标尺上下文菜单 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+W &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示视图菜单 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F10 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示系统菜单 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+- &nbsp;<br />
&nbsp; &nbsp;<br />
导航 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开结构 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F3 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开类型 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+T &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开类型层次结构 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F4 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开声明 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F3 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开外部javadoc &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Shift+F2 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开资源 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+R &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;后退历史记录 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+&#8592; &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;前进历史记录 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+&#8594; &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上一个 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+, &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;下一个 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+. &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示大纲 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+O &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;在层次结构中打开类型 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+H &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;转至匹配的括号 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+P &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;转至上一个编辑位置 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Q &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;转至上一个成员 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+&#8593; &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;转至下一个成员 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+&#8595; &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;转至行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+L &nbsp;<br />
&nbsp; &nbsp;<br />
搜索 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;出现在文件中 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+U &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打开搜索对话框 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+H &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;工作区中的声明 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+G &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;工作区中的引用 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+G &nbsp;<br />
&nbsp; &nbsp;<br />
文本编辑 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;改写切换 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Insert &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;上滚行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+&#8593; &nbsp;<br />
文本编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;下滚行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+&#8595; &nbsp;<br />
&nbsp; &nbsp;<br />
文件 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;保存 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+X &nbsp; &nbsp;<br />
Ctrl+S &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;打印 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+P &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;关闭 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F4 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;全部保存 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+S &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;全部关闭 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+F4 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;属性 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Enter &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;新建 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+N &nbsp;<br />
&nbsp; &nbsp;<br />
项目 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;全部构建 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+B &nbsp;<br />
&nbsp; &nbsp;<br />
源代码 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;格式化 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+F &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;取消注释 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+ &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;注释 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+/ &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;添加导入 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+M &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;组织导入 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+O &nbsp;<br />
Java编辑器 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;使用try/catch块来包围 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;未设置，太常用了，所以在这里列出,建议自己设置。 &nbsp;<br />
也可以使用Ctrl+1自动修正。 &nbsp;<br />
&nbsp; &nbsp;<br />
运行 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;单步返回 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F7 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;单步跳过 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F6 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;单步跳入 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F5 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;单步跳入选择 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F5 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;调试上次启动 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F11 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;继续 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;F8 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;使用过滤器单步执行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Shift+F5 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;添加/去除断点 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+Shift+B &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;显示 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+D &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;运行上次启动 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+F11 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;运行至行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+R &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;执行 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Ctrl+U &nbsp;<br />
&nbsp; &nbsp;<br />
重构 &nbsp;<br />
作用域 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;功能 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;快捷键 &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;撤销重构 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+Z &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;抽取方法 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+M &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;抽取局部变量 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+L &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;内联 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+I &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;移动 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+V &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;重命名 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+R &nbsp;<br />
全局 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;重做 &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Alt+Shift+Y&nbsp;&nbsp;<br />
 <img src ="http://www.blogjava.net/alexprefect/aggbug/302110.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/alexprefect/" target="_blank">alexprefect</a> 2009-11-12 15:29 <a href="http://www.blogjava.net/alexprefect/articles/302110.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>修改eclipse默认的工作空间</title><link>http://www.blogjava.net/alexprefect/articles/296170.html</link><dc:creator>alexprefect</dc:creator><author>alexprefect</author><pubDate>Wed, 23 Sep 2009 07:14:00 GMT</pubDate><guid>http://www.blogjava.net/alexprefect/articles/296170.html</guid><wfw:comment>http://www.blogjava.net/alexprefect/comments/296170.html</wfw:comment><comments>http://www.blogjava.net/alexprefect/articles/296170.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/alexprefect/comments/commentRss/296170.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/alexprefect/services/trackbacks/296170.html</trackback:ping><description><![CDATA[eclipse启动了之后实际上就不能更改Workspace了，因为当然打开的eclipse会显示所有workspace里面的工程，如果能够修改不就乱了套了吗？ <br />
那么可以在启动eclipse的时候修改这个路径。 <br />
window-&gt;preferences-&gt;workbench-&gt;Startup&nbsp;and&nbsp;Shutdown-&gt;上面第一个选项可以选择是否在启动的时候设置workspace 
 <img src ="http://www.blogjava.net/alexprefect/aggbug/296170.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/alexprefect/" target="_blank">alexprefect</a> 2009-09-23 15:14 <a href="http://www.blogjava.net/alexprefect/articles/296170.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Eclipse中设置编码的方式(转载) </title><link>http://www.blogjava.net/alexprefect/articles/270152.html</link><dc:creator>alexprefect</dc:creator><author>alexprefect</author><pubDate>Tue, 12 May 2009 02:14:00 GMT</pubDate><guid>http://www.blogjava.net/alexprefect/articles/270152.html</guid><wfw:comment>http://www.blogjava.net/alexprefect/comments/270152.html</wfw:comment><comments>http://www.blogjava.net/alexprefect/articles/270152.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/alexprefect/comments/commentRss/270152.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/alexprefect/services/trackbacks/270152.html</trackback:ping><description><![CDATA[如果要使插件开发应用能有更好的国际化支持，能够最大程度的支持中文输出，则最好使 Java文件使用UTF-8编码。然而，Eclipse工作空间(workspace)的缺省字符编码是操作系统缺省的编码，简体中文操作系统 (Windows XP、Windows 2000简体中文)的缺省编码是GB18030，在此工作空间中建立的工程编码是GB18030，工程中建立的java文件也是GB18030。如果要使新建立工程、java文件直接使UTF-8则需要做以下工作： <br />
1、windows-&gt;Preferences...打开"首选项"对话框，左侧导航树，导航到general-&gt;Workspace，右侧Text file encoding，选择Other，改变为UTF-8，以后新建立工程其属性对话框中的Text file encoding即为UTF-8。 <br />
2、windows-&gt;Preferences...打开"首选项"对话框，左侧导航树，导航到general-&gt;Content Types，右侧Context Types树，点开Text，选择Java Source File，在下面的Default encoding输入框中输入UTF-8，点Update，则设置Java文件编码为UTF-8。其他java应用开发相关的文件如：properties、XML等已经由Eclipse缺省指定，分别为ISO8859-1，UTF-8，如开发中确需改变编码格式则可以在此指定。 <br />
3、经过上述两步，新建java文件即为UTF-8编码，Eclipse编译、运行、调试都没问题，但是做RCP应用的Product输出时、或者插件输出时，则总是出错，要么不能编译通过(输出时要重新compile)、要么输出的插件运行时中文显示乱码。此时需要再RCP应用、或插件Plugin工程的build.properties中增加一行，javacDefaultEncoding.. = UTF-8。让输出时编译知道java源文件时UTF-8编码。这个设置需要保证所有的java源文件时UTF-8编码格式，如果不全是，可以参考 Eclipse帮中(Plug-in Development Environment Guide &gt; Reference &gt; Feature and Plug-in Build configuration)，建议全部java源文件是UTF-8编码。 <br />
<br />
如果插件开发、RCP应用开发原来基于其他编码，如GB18030，想转换为UTF-8，则首先，做以上工作；然后通过查找编码转换工具，如基于 iconv的批量转换工具，将原编码转换为UTF-8编码，注意只转换java源文件，其他类型文件可能已经是比较合适的编码了；将原工程属性中的 Text file encoding，从原编码改为UTF-8即可。
 <img src ="http://www.blogjava.net/alexprefect/aggbug/270152.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/alexprefect/" target="_blank">alexprefect</a> 2009-05-12 10:14 <a href="http://www.blogjava.net/alexprefect/articles/270152.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>myeclipse连接Oracle（转载）</title><link>http://www.blogjava.net/alexprefect/articles/269665.html</link><dc:creator>alexprefect</dc:creator><author>alexprefect</author><pubDate>Fri, 08 May 2009 09:38:00 GMT</pubDate><guid>http://www.blogjava.net/alexprefect/articles/269665.html</guid><wfw:comment>http://www.blogjava.net/alexprefect/comments/269665.html</wfw:comment><comments>http://www.blogjava.net/alexprefect/articles/269665.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/alexprefect/comments/commentRss/269665.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/alexprefect/services/trackbacks/269665.html</trackback:ping><description><![CDATA[<font style="line-height: 1.5em" face="" size="2">通过几天得研究终于 myeclipse可以在db browser视图连接oracle了，我把过程中遇到的问题，和解决方法记录下来，自己也是在百度上找了很多资料。但是始终没有系统的描述过程，希望可以给大家一些帮助，共同学习。</font><wbr> <br />
<br />
<font style="line-height: 1.5em" face="" size="2">首先应该保证数据库的服务启动</font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2"><br />
<wbr><a href="http://s13.photo.store.qq.com/http_imgload.cgi?/rurl4_b=bb121b502ce5656e12eca66159bdf040cd6f10c30829f0fb1f14b79b6b5cbc24cc44a1fa558eee7aad8d6a36011c948137bad1dd72cc668321454131a961e7e5d727903ff011dfa4e082209860ae2f0c2c21b832" target="_blank"><img height="53" src="http://s13.photo.store.qq.com/http_imgload.cgi?/rurl4_b=bb121b502ce5656e12eca66159bdf040cd6f10c30829f0fb1f14b79b6b5cbc24cc44a1fa558eee7aad8d6a36011c948137bad1dd72cc668321454131a961e7e5d727903ff011dfa4e082209860ae2f0c2c21b832" width="262"  alt="" /></a><wbr></font><wbr> <br />
<br />
<font style="line-height: 1.5em" face="" size="2">在myeclipse的数据库视图中点<font style="line-height: 1.5em" face="" color="#cc0000" size="3"> 右键-&gt;new</font><wbr> 弹出database driver的窗口，</font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2"><font style="line-height: 1.5em" face="" color="#cc0000" size="3">Driver template</font><wbr>选择<font style="line-height: 1.5em" face="" color="#cc0000" size="3">oracle（thin driver），</font><wbr></font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2"><font style="line-height: 1.5em" face="" color="#cc0000" size="3">Driver name </font><wbr><font style="line-height: 1.5em" face="" color="#000000" size="3">输入<font style="line-height: 1.5em" face="" color="#cc0000" size="3">oracle</font><wbr>&nbsp;&nbsp;</font><wbr></font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2"><font style="line-height: 1.5em" face="" color="#000000" size="3"><font style="line-height: 1.5em" face="" color="#cc0000" size="3">connection URL</font><wbr>=</font><wbr><font style="line-height: 1.5em" face="" color="#000000" size="3">jdbc:oracle:thin:@localhost:1521:oracle <font style="line-height: 1.5em" face="" size="3">注意</font><wbr>localhost:1521:oracle</font><wbr><font style="line-height: 1.5em" face="" color="#000000" size="3">中的oracle是数据库得sid换成你自己数据库的sid就可以</font><wbr></font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2"><font style="line-height: 1.5em" face="" color="#cc0000" size="3">username：</font><wbr>登陆数据库具有system权限的用户名</font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2"><font style="line-height: 1.5em" face="" color="#cc0000" size="3">password：</font><wbr>登陆数据库具有system权限的密码</font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2"><font style="line-height: 1.5em" face="" color="#cc0000" size="3">点击add jar</font><wbr> 选择ojdbc14.jar的存放位置,没有得可以到百度下一个叫ojdbc14.jar的文件。</font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2">点击test driver 到此成功配置。</font><wbr><br />
<wbr><a href="http://s3.photo.store.qq.com/http_imgload.cgi?/rurl4_b=bb121b502ce5656e12eca66159bdf04092ea1d9b63d35a6244743133b696da13b64a702ee52775f51c75bd1e4ce402908642aa9e93ab42226809170427e801f65455ae3fc16d2a86f2ef5de02e5a65904fbd4819" target="_blank"><img height="367" src="http://s3.photo.store.qq.com/http_imgload.cgi?/rurl4_b=bb121b502ce5656e12eca66159bdf04092ea1d9b63d35a6244743133b696da13b64a702ee52775f51c75bd1e4ce402908642aa9e93ab42226809170427e801f65455ae3fc16d2a86f2ef5de02e5a65904fbd4819" width="512"  alt="" /></a><wbr><br />
<font style="line-height: 1.5em" face="" size="2">关于启动数据库后提示ora-12505的解决方法：</font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2"><wbr><a href="http://s2.photo.store.qq.com/http_imgload.cgi?/rurl4_b=bb121b502ce5656e12eca66159bdf0401607b61af641fef14ce7f316fb919d734719cb2223d980827779c23ebced9264cf8e6cc917e592b2c956ac5a4c85188204a93fc10576149b97da3097546a9df100998615" target="_blank"><img height="167" src="http://s2.photo.store.qq.com/http_imgload.cgi?/rurl4_b=bb121b502ce5656e12eca66159bdf0401607b61af641fef14ce7f316fb919d734719cb2223d980827779c23ebced9264cf8e6cc917e592b2c956ac5a4c85188204a93fc10576149b97da3097546a9df100998615" width="512"  alt="" /></a><wbr></font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2">第一种可能</font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2">是配置得数据库sid名不正确localhost:1521:<font style="line-height: 1.5em" face="" color="#cc0000" size="3">oracle </font><wbr><font style="line-height: 1.5em" face="" color="#000000" size="3">即红字部分不是你本机得sid，那么如何查看本机得sid呢？用如下命令 SELECT&nbsp;&nbsp; NAME&nbsp;&nbsp; FROM&nbsp;&nbsp; v$database;在sqlplus中执行就可以看到，把红字部分换成查询出来的sid就可以。</font><wbr></font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2">第二种可能</font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2">发现sid配置没有错误，但是还是报错，那可能就是oracle得监听配置出了问题，需要检查listener.ora文件，用记事本打开，</font><wbr> <br />
<font style="line-height: 1.5em" face="" size="2">正确配置如下： <br />
# listener.ora Network Configuration File: e:\oracle\product\10.2.0\db_1\network\admin\listener.ora <br />
# Generated by Oracle configuration tools. <br />
SID_LIST_LISTENER = <br />
&nbsp;&nbsp;(SID_LIST = <br />
&nbsp;&nbsp;&nbsp;&nbsp;(SID_DESC = <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(SID_NAME = PLSExtProc) <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(ORACLE_HOME = e:\oracle\product\10.2.0\db_1) <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(PROGRAM = extproc) <br />
&nbsp;&nbsp;&nbsp;&nbsp;) <br />
&nbsp;&nbsp;&nbsp;&nbsp;(SID_DESC = <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(GLOBAL_DBNAME = <font style="line-height: 1.5em" face="" color="#cc0000" size="3">oracle</font><wbr>) <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(ORACLE_HOME = e:\oracle\product\10.2.0\db_1) <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(SID_NAME = <font style="line-height: 1.5em" face="" color="#cc0000" size="3">oracle</font><wbr>) <br />
&nbsp;&nbsp;&nbsp;&nbsp;) <br />
&nbsp;&nbsp;) <br />
LISTENER = <br />
&nbsp;&nbsp;(DESCRIPTION_LIST = <br />
&nbsp;&nbsp;&nbsp;&nbsp;(DESCRIPTION = <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) <br />
&nbsp;&nbsp;&nbsp;&nbsp;) <br />
&nbsp;&nbsp;) <br />
<font style="line-height: 1.5em" face="" color="#cc0000" size="3">红字部分改成oracle创建时候的sid 保存退出。</font><wbr> <br />
<br />
<font style="line-height: 1.5em" face="" color="#cc0000" size="3">至此正常启动后得界面是：</font><wbr> <br />
<wbr><a href="http://s1.photo.store.qq.com/http_imgload.cgi?/rurl4_b=bb121b502ce5656e12eca66159bdf040ce1e67b19a1f4b68ce29cb767a2256c3164416191ee490302e1214cf8b63de0bf161bbc792da6d2b81a8bdcf94f9b8a113d3cc3b7c7f4d35fc4bfd777fb8c51c755c1d03" target="_blank"><img height="247" src="http://s1.photo.store.qq.com/http_imgload.cgi?/rurl4_b=bb121b502ce5656e12eca66159bdf040ce1e67b19a1f4b68ce29cb767a2256c3164416191ee490302e1214cf8b63de0bf161bbc792da6d2b81a8bdcf94f9b8a113d3cc3b7c7f4d35fc4bfd777fb8c51c755c1d03" width="187"  alt="" /></a><wbr>&nbsp;<br />
<br />
<br />
</font>
 <img src ="http://www.blogjava.net/alexprefect/aggbug/269665.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/alexprefect/" target="_blank">alexprefect</a> 2009-05-08 17:38 <a href="http://www.blogjava.net/alexprefect/articles/269665.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>