`
feikiss
  • 浏览: 97952 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

Eclipse Shortcuts

阅读更多
Editors are an integral part of a programmer’s life. If you have good proficiency in using an editor thats a great advantage. It comes very handy to debug. Traditional notepad and SOPs (System.out.println) are the way we start learning a language but that is not sufficient, so beginners start using an IDE and most importantly know the shortcuts.

For java developers there is a huge list and some popular areEclipse, Netbeans, IntelliJ Idea. I use Eclipse as my IDE and vim as a light weight editor.

This article is for those who use or intend to use Eclipse as IDE. Keyboard shortcuts are very important for comfortable and quick editing. I have abridged the following list of eclipse shortcuts from my own experience and literature.

There is a huge list of eclipse shortcuts available but I have listed only the most essential ones that you may need daily. Download this list as a pdf formatted for single page.
File Navigation – Eclipse Shortcuts

    CTRL SHIFT R – Open a resource. You need not know the path and just part of the file name is enough.
    CTRL E – Open a file (editor) from within the list of all open files.
    CTRL PAGE UP or PAGE DOWN – Navigate to previous or next file from within the list of all open files.
    ALT <- or ALT -> – Go to previous or next edit positions from editor history list.

Java Editing – Eclipse Shortcuts

    CTRL SPACE – Type assist
    CTRL SHIFT F – Format code.
    CTRL O – List all methods of the class and again CTRL O lists including inherited methods.
    CTRL SHIFT O – Organize imports.
    CTRL SHIFT U – Find reference in file.
    CTRL / – Comment a line.
    F3 – Go to the declaration of the variable.
    F4 – Show type hierarchy of on a class.
    CTRL T – Show inheritance tree of current token.
    SHIFT F2 – Show Javadoc for current element.
    ALT SHIFT Z – Enclose block in try-catch.

General Editing – Eclipse Shortcuts

    F12 – Focus on current editor.
    CTRL L – Go to line number.
    CTRL D – Delete a line.
    CTRL <- or -> – Move one element left or right.
    CTRL M – Maximize editor.
    CTRL SHIFT P – Go to the matching parenthesis.

Debug, Run – Eclipse Shortcuts

    CTRL . or , – Navigate to next or previous error.
    F5 – Step into.
    F6 – Step over.
    F8 – Resume
    CTRL Q – Inspect.
    CTRL F11 – Run last run program.
    CTRL 1 – Quick fix code.

Search – Eclipse Shortcuts

    CTRL SHIFT G – Search for current cursor positioned word reference in workspace
    CTRL H – Java search in workspace.

original website location:
http://javapapers.com/core-java/eclipse-shortcuts/
分享到:
评论

相关推荐

    Eclipse-Shortcuts

    史上最全的Eclipse-Shortcuts(快捷键),请大家快快保存。

    eclipse快捷键 Keyboard Shortcuts

    eclipse快捷键 Keyboard Shortcuts让编程飞起来

    Java程序员应该知道的10个调试技巧

    摘要:调试不仅可以查找到应用程序缺陷所在,还可以解决缺陷。对于Java程序员来说,他们...  在开始之前,推荐大家去看看Eclipse shortcuts这篇文章,它将会给你带来很多方便。在本文中使用的是Eclipse Juno版(Ecl

    各类速查表汇总-Jupyter-notebook Keyboard Shortcuts

    各类速查表汇总-Jupyter-notebook Keyboard Shortcuts

    EclipseShortcuts Eclipse常用快捷键

    非常实用的Eclipse下常用快捷键介绍, 熟练使用它们可以让你的开发效率更高,java开发高手必备

    Eclipse里配置Tomcat

    选择 Window &gt; Customize Perspective...:在Shortcuts标签页中:Submenus选择New,选中Java &gt; Lomboz J2EE Wizards下的所有条目;Submenus选择Show View,选中Lomboz J2EE;在Commands标签页中选中Lomboz Actions; ...

    Shortcuts for eclipse PDT-开源

    这个插件是phpdéveloppers的工具箱,它在Php Developpement工具中创建了一些快捷菜单,特别是关于生成getter和setter以及创建一些模板类的方面。 最新版本是更新程序包。

    perfect-vscode:vscode使用备忘,打造属于自己的vscode

    自定义快捷键(eclipse习惯) 新版本:左下角设置按钮 -&gt; Keyboard Shortcuts -&gt; 点击右上角的{}图标。 老版本:左下角设置按钮 -&gt; Keyboard Shortcuts -&gt; keybindings.json。 visual studio code 键盘快捷键参考 //...

    Java教程补充材料

    5 Creating Desktop Shortcuts for Java Applications on Windows 6 Using Packages to Organize the Classes in the Text Part II -- IDE Supplements and IDE VideoNotes 1 TextPad Tutorial 2 NetBeans ...

    Apress.Android.Apps.for.Absolute.Beginners.2nd.edition

    Use the Eclipse programming environment to make your Android development efficient and straightforward Follow steps in plain English to build simple apps and get them working immediately Style your ...

    Spring-Reference_zh_CN(Spring中文参考手册)

    XML-based configuration metadata shortcuts 3.3.3.7. 组合属性名称 3.3.4. 使用depends-on 3.3.5. 延迟初始化bean 3.3.6. 自动装配(autowire)协作者 3.3.6.1. 设置Bean使自动装配失效 3.3.7. 依赖检查 3.3.8. ...

    The Definitive Guide to NetBeans Platform

    ■CHAPTER 16 From Eclipse RCP to the NetBeans Platform . . . . . . . . . . . . . . . . . . 279 ■CHAPTER 17 Tips and Tricks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Global site tag (gtag.js) - Google Analytics