Eclipse Common Plug-ins + eclipse shortcut keys

Source: Internet
Author: User
Tags apache tomcat

Java EE Development IDE, common with Eclipse, MyEclipse, Intellij idea version (Luna): http://www.eclipse.org/downloads/version (2015GA):/http www.myeclipsecn.com/version (Ideaiu-13.1.6.exe): Http://www.jetbrains.com/idea/JVM Memory settings:-xms512m-xmx512m-xx:maxper msize=512m Project Clean: Delete The compiled class files, activate the automatic compilation of eclipse (some inexplicable error, use this function, the effect is good) Eclipse common plug-in Here are some common plug-ins used in the Eclipse system, installation method: 001: Integrated JDK+TOMCAT: Development environment 1:SDK configuration. PreFerences "Java" Installed JREs "ADD" standard VM configuration jdk path. 2:tomcat configuration. PreFerences "Server Runtime Environments" ADD "checked Apache Tomcat version, path, JDK version (using the JDK configured above);002:freemarker-ide: is a freemarker (template engine) aware editor download URL (hudson.freemarker_ide_0.9.14): http://sourceforge.net/projects/freemarker-ide/files/003:subclipse:

Way 1:eclipse MarketPlace, search "Subclipse", Install;

mode 2: Online Installation address = subclipse:subclipse Install URL (http://subclipse.tigris.org/"Download and install" Eclipse update si Te URL (Copy the latest stable version, you can))

Mode 3: Plug-in package download,: http://subclipse.tigris.org/"" Download and install "link for 1.8.x" "Zipped downloads (download zip compression package);

004:m2eclipse plugin: Support for maven in the Eclipse IDE Online Installation address = m2eclipse:http://download.eclipse.org/technology/m2e/releases (Baidu Cloud Plugin package: eclipse-maven3-plugin.7z) Note: After installing the reboot, don't forget to configure Eclipse, install Maven path + settings.xml path + localrespository path;005:open in Explorer: Open the directory where the selected files are located directly into Windows Explorer Download URL: https://github.com/samsonw/OpenExplorer/downloads006:activiti plugin: Online installation address = Activiti BPMN 2.0 designer:http://activiti.org/designer/update/007:tao-reviewboard:tao-reviewboard is a reviewboard code review plugin developed on Eclipse Download URL: http://code.taobao.org/p/tao-reviewboard/wiki/index/
1) Online Installation: Installation Address: http://abs.taobao.org/updatesite/(Installation detailed steps to view the document, must be installed before installation subclipse)2) Offline Installation: Offline Zip package http://code.taobao.org/p/tao-reviewboard/file/2852/tao_reviewboard.zip. After downloading, copy the plugins two jar packages to the Dropins directory under Eclipse (recommended) or the plugins directory.  008:egit:git plugin to update the latest version Way 1:eclipse MarketPlace, search for "egit", install/update; 009:python Develop IDE plug-ins, using Python with: 2, Eclipse integrated Pydev plug-in: Http://www.pydev.org/download.html A, online installation: http://pydev.org/updates; b, at the bottom of the page, Hyperlink download Zip package, plug-in text Clip to the Eclipse Directory; Eclipse common shortcut keys 查看和定位快捷键    在程序中,迅速定位代码的位置,快速找到Bug的所在,是非常不容易的事,Eclipse提供了强大的查找功能,可以利用如下的快捷键帮助完成查找定位的工作。    1 . 【Ctrl+K】、【Ctrl++Shift+K】Find the selection quickly down and up, and you no longer need to click the Find dialog box with your mouse.    2 . 【Ctrl+Shift+T】Find a Java class file in the search workspace (Workspace) build path, and do not suffer for the class being found, and you can use "*", "? "And so on wildcard characters.    3 . 【Ctrl+Shift+R】As with "Ctrl+shift+t", find all the files in the workspace (Workspace), including the Java files, or you can use a wildcard character.    4 . 【Ctrl+Shift+G】Find references to classes, methods, and properties. This is a very useful shortcut key, such as to modify the code that refers to a method, you can quickly locate all references to this method by using the "ctrl+shift+g" shortcut key.    5 . 【Ctrl+Shift+O】Quickly generate import, when copying a program from the Internet, do not know how to import into the called class, try "ctrl+shift+o" shortcut keys, there will be surprises.    6 . 【Ctrl+Shift+F】Format code, write the code of the format specification is a compulsory lesson for every programmer, when see a piece of code is very uncomfortable, select and press "ctrl+shift+f" shortcut key can format this code, if the code is not selected the default format of the current file (Java file).    7 . 【ALT+Shift+W】Find the path in the project where the current file is located, and you can quickly locate the location of the browser view, which is useful if you want to find a package that contains a file (especially in larger projects).    8 . 【Ctrl+L】Navigates to a row in the current editor and is also valid for non-Java files.    9 . 【Alt+←】、【Alt+→】Backward history and forward history are useful in tracking code, and users may find several associated places, but they may not be able to remember the order in which they are located by these two shortcut keys.    10 . 【F 3 A class, method, and property that quickly locates the cursor position.    11 . 【F 4 Displays the inheritance relationship for the class and opens the Class inheritance view. 调试快捷键    Eclipse中有如下一些和运行调试相关的快捷键。    1 . 【Ctrl+Shift+B】:在当前行设置断点或取消设置的断点。    2 . 【F 11 】:调试最后一次执行的程序。    3 . 【Ctrl+F 11 】:运行最后一次执行的程序。    4 . 【F 5 】:跟踪到方法中,当程序执行到某方法时,可以按【F 5 】键跟踪到方法中。    5 . 【F 6 】:单步执行程序。    6 . 【F 7 】:执行完方法,返回到调用此方法的后一条语句。    7 . 【F 8 】:继续执行,到下一个断点或程序结束。    常用编辑器快捷键    通常文本编辑器都提供了一些和编辑相关的快捷键,在Eclipse中也可以通过这些快捷键进行文本编辑。    1 . 【Ctrl+C】:复制。    2 . 【Ctrl+X】:剪切。    3 . 【Ctrl+V】:粘贴。    4 . 【Ctrl+S】:保存文件。    5 . 【Ctrl+Z】:撤销。    6 . 【Ctrl+Y】:重复。    7 . 【Ctrl+F】:查找。 其他快捷键    Eclipse中还有很多快捷键,无法一一列举,用户可以通过帮助文档找到它们的使用方式,另外还有几个常用的快捷键如下。    1 . 【Ctrl+F 6 】:切换到下一个编辑器。    2 . 【Ctrl+Shift+F 6 】:切换到上一个编辑器。    3 . 【Ctrl+F 7 】:切换到下一个视图。    4 . 【Ctrl+Shift+F 7 】:切换到上一个视图。    5 . 【Ctrl+F 8 】:切换到下一个透视图。    6 . 【Ctrl+Shift+F 8 】:切换到上一个透视图。    Eclipse中快捷键比较多,可以通过帮助文档找到所有快捷键的使用,但要掌握所有快捷键的使用是不可能的,也没有必要,如果花点时间熟悉本节列举的快捷键,必将会事半功倍 1 . edit->content Assist - >  add      Alt+/  代码关联 2 . Window -> Next Editor -> add    Ctrl+Tab 切换窗口 3 . Run/Debug Toggle Line Breakpoint -> add Ctrl+` 在调试的时候 增删断点 4 . Source-> Surround with try/catch Block -> Ctrl+Shift+v  增加try catch 框框 5 . Source -> Generate Getters and Setters -> Ctrl+Shift+. 增加get set 方法 ----------- 有用的快捷键 ----------- Alt+/ 代码助手完成一些代码的插入(但一般和输入法有冲突,可以修改输入法的热键,也可以暂用Alt+/来代替) Ctrl+ 1: 光标停在某变量上,按Ctrl+ 1 键,可以提供快速重构方案。选中若干行,按Ctrl+ 1 键可将此段代码放入for、while、if、do或try等代码块中。 双击左括号(小括号、中括号、大括号),将选择括号内的所有内容。 Alt+Enter 显示当前选择资源(工程,or 文件 or文件)的属性 ----------- Ctrl系列 ----------- Ctrl+K:将光标停留在变量上,按Ctrl+K键可以查找到下一个同样的变量 Ctrl+Shift+K:和Ctrl+K查找的方向相反 Ctrl+E 快速显示当前Editer的下拉列表(如果当前页面没有显示的用黑体表示) Ctrl+Shift+E 显示管理当前打开的所有的View的管理器(可以选择关闭,激活等操作) Ctrl+Q 定位到最后编辑的地方 Ctrl+L 定位在某行 (对于程序超过 100 的人就有福音了) Ctrl+M 最大化当前的Edit或View (再按则反之) Ctrl+/ 注释当前行,再按则取消注释 Ctrl+T 快速显示当前类的继承结构 Ctrl+Shift-T: 打开类型(Open type)。如果你不是有意磨洋工,还是忘记通过源码树(source tree)打开的方式吧。 Ctrl+O:在代码中打开类似大纲视图的小窗口 Ctrl+鼠标停留:可以显示类和方法的源码 Ctrl+H:打开搜索窗口 Ctrl+/(小键盘) 折叠当前类中的所有代码 Ctrl+×(小键盘) 展开当前类中的所有代码 ----------- Ctrl+Shift 系列 ----------- Ctrl+Shift+F 格式化当前代码 Ctrl+Shift+X 把当前选中的文本全部变味小写 Ctrl+Shift+Y 把当前选中的文本全部变为小写 Ctrl+Shift+O:快速地导入import Ctrl+Shift+R:打开资源 open Resource ----------- 行编辑用 ----------- Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加) Ctrl+Alt+↑ 复制当前行到上一行(复制增加) Alt+↓ 当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了) Alt+↑ 当前行和上面一行交互位置(同上) Shift+Enter 在当前行的下一行插入空行(这时鼠标可以在当前行的任一位置,不一定是最后) Ctrl+Shift+Enter 在当前行插入空行(原理同上条) ----------- 不常用的 ----------- Alt+← 前一个编辑的页面 Alt+→ 下一个编辑的页面(当然是针对上面那条来说了) Ctrl+Shift+S:保存全部 Ctrl+W 关闭当前Editer Ctrl+Shift+F 4 关闭所有打开的Editer Ctrl+Shift+G: 在workspace中搜索引用 Ctrl+Shift+P 定位到对于的匹配符(譬如{}) (从前面定位后面时,光标要在匹配符里面,后面到前面,则反之) ----------- 不明白 ----------- Ctrl+J 正向增量查找(按下Ctrl+J后,你所输入的每个字母编辑器都提供快速匹配定位到某个单词,如果没有,则在stutes line中显示没有找到了,查一个单词时,特别实用,这个功能Idea两年前就有了) Ctrl+Shift+J 反向增量查找(和上条相同,只不过是从后往前查)    Eclipse优化:                                             Add running Memory: Edit the installation directory under File Eclipse.ini, adjust the new configuration to:-xms512m and-xmx1024m (speed, what IntelliJ complete Kill)

Eclipse Common Plug-ins + eclipse shortcut keys

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.