Eclipse Shortcuts

Last modified on September 7th, 2014 by Joe.

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

Java Editing – Eclipse Shortcuts

General Editing – Eclipse Shortcuts

Debug, Run – Eclipse Shortcuts

Search – Eclipse Shortcuts

Download eclipse shortcuts list as a single page pdf. You can stick it for quick reference in your workstation.

Comments on "Eclipse Shortcuts"

  1. Raizel says:

    very helpful!

  2. NguyenDat says:

    Great, Thanks for your post,

    Another missing command are:
    CTRL + ALT + L
    for listing all shortcuts

  3. Raju says:

    Thanks JOe……..very help ful to meeeeeee

  4. sagar says:

    thank you….. :)

  5. shubham says:

    great work man

  6. Vamsi says:

    Very Helpfull…-:)

  7. Raja says:

    Thanks…….very help full website…..

  8. Nagarjuna Yerrapothu says:

    Thanks a lot it is very useful for every one who r using Eclipse.
    Could you please send the connection pooling concept in step by step form.

    Thanks & Regards
    Nagarjuna Yerrapothu
    9703976432

  9. VinothKumar says:

    In eclipse press CTRL+ SHIFT+L you will get all the lists or help –> key Assist

  10. jEy says:

    THAX BUDDY

  11. Joe says:

    Yes, I should have included CTRL + ALT + L. I will update the article. Thanks.

  12. Vijay says:

    Thanks a ton JOE

  13. Ashish Bania says:

    It was helpful…u did good to a bunch of new developers…thanx

  14. kishore says:

    very nice article. It’s really helpfull…
    Thank u Joe

  15. MQ says:

    Helpful article…Thanks

  16. Sangeetha says:

    Good article..With these keywords, Eclipse will become a powerful editor and make the work very easy.

  17. Nipon says:

    Hi,

    I am really glad to see your blog has grown big. From the comments I see here, I am sure you are doing a fantastic job!

  18. Irina says:

    Thank you for always choosing the bestest topics:) I’m sorry I love Java as it is…because you would made me love it just by reading your blog:)

  19. Raj says:

    Thanks good explanation….

  20. Kishore vanam says:

    It helps a lot for beginners….
    Thanks very much….

  21. dipesh says:

    also add CTRL SHIFT T means searching java file from jars

  22. sunil says:

    excellent for quick Reference….sunil

  23. Dhivya says:

    was very Useful…..Thank You….

  24. Farid says:

    Ctrl K or Ctrl Shift K is also helpful for finding a similar text or same String

  25. Madhan says:

    Very helpful short cuts..

  26. Swapnil says:

    Great sharing.. Very very Important information..:)

  27. vimal says:

    Good thanks !

  28. sam_a says:

    Useful post Joe Thanks alot!

  29. Narayan says:

    Thanks

  30. swapnil says:

    Very helpfull!!!!!

  31. Gurushanth says:

    Very useful sir…..

  32. Amol says:

    Very good list.
    One more shortcut I use often is CTRL K to find occurrence of selected string in the file.

  33. ramineni nagarjuna says:

    very useful

  34. Prashant Agarwal says:

    Thanks sir,these are the shortcuts that are really necessary for a programmer to know.

  35. Uday says:

    Thanks Joe,

    Really appreciate for this Eclipse shortcuts

    Thanks alot……:)

  36. Yoon says:

    awesome!

  37. Gulshan says:

    Very nice tutorials – Joe

  38. Jai says:

    Its very helpful.
    thank you

  39. Pargavi.R says:

    Nice Article… Useful work

  40. Trivikram Gavara says:

    Searched a lot on the web, and this is the most simple and useful thing I found in the end.,
    many thanks
    Trivikram

  41. Madhu says:

    Thanks for this.. :)

  42. rave says:

    thanx a lot,
    One more option is cntrl+o lists all the methods in a class

  43. Amritpal says:

    very good thanks i really want it

  44. senthilnathan says:

    Hi All,

    Well done i am just looking for this type of blog finally i got it from you…

    Plz Give me Netbeans shortcuts

  45. vignesh says:

    Awesome blog :)

  46. […] version 3 latest available now. SpringSource provides a tool suite (STS) IDE which is based on Eclipse to develop Spring based applications. But, my personal choice for now is to continue with Eclipse […]

  47. Swamy says:

    Excel

  48. Venkatesh says:

    Really a true Nice Blog to follow!!
    Thanks a lot for providing clear and precise explanations with exampleas in all the topics.

  49. Arshad Shaikh says:

    Thanks a lot…… too helpful info…!!!!

  50. shaji says:

    Hi Joe,
    Very informative articles.

    Thanks a lot for sharing knowledge.
    Thanks !!!!

  51. Tarak says:

    Thanks a lot…… for the sharing Knowledge

  52. krishnaveni says:

    Thank You..it is very helpful for all and java beginers

  53. Murali Prashanth says:

    Thanx…

  54. […] going through this tutorial, I recommend you to have a look at Eclipse shortcuts and it will really help. My Eclipse version is Juno as of writing this […]

  55. martin says:

    Thank you for your list !!

  56. myroid says:

    Good,Thanks sir.

  57. Mr. wrong says:

    I like your blog,it looks comfortable!!The passage is really useful…

  58. pramod says:

    Thanks Joe, for Ur blogs. These are really helpful for most of us.

  59. Arup says:

    please do write on hadoop.

  60. lee tii says:

    so… beneficial

  61. SUSHIL says:

    Thanks it really helpful……… time saving…… i like CTRL+SHIFT+R

  62. chetan says:

    it it not CTRL + ALT + L for listing Commands. but it is CTRL + shift + L.

  63. Rajeev Kr says:

    THANKS A LOT SIR…

  64. santhosh says:

    Two more important commands as follows:

    1> CTRL + W –> to close each opened file
    2> CTRL + SHIFT +W —> to close all files which are opened.

  65. Sandhya says:

    Hi Joe,

    CTRL SHIFT F – It is formatting only java files.

    May i know the format code of jsp & xml files.

  66. Ramu says:

    I dont know how can I say thanks to you why because each and every topic material made by you is simply super

  67. Vishnu says:

    Really helpfull..Thank u Sir

  68. Muralidhar says:

    you can use this key CTRL+SHIFT+F format and align the code in a perfect manner.

    keep rocking..!

  69. anil says:

    can any one tell the diff b/n for loop and for each…
    in for each we are taking collections and where as for we are taking numbers..in for loop where is collection…

  70. Navaprasad says:

    Very helpful sir :) Really easy learning of JAVA from your blog.. thanks alot sir :)

  71. raj says:

    Very Helpful. Thank you

  72. Lakshmireddy says:

    Hi fiends,
    how to convert bunch of .class files into java source code files?
    waiting for reply..:)

  73. Mukul Moudgil says:

    thnks a lot

  74. Ashutosh Pandey says:

    Sir,
    A very helpful list indeed, especially the pdf version for the workstation. It might as well include CTRL + I for Indentation if you have strict checkstyle standards to adhere to.

  75. priya says:

    great work sir..excellent…ur site seems to be so wonderful .your site encourage me to bulld a site…

  76. priya says:

    so cute webpage…ur site seems to be so wonderful .your site encourage me to bulld a site…

  77. Suresh says:

    Thanks a lot for your efforts. It’s really helpful.

  78. hemant kumar jena says:

    its very useful

  79. reddy says:

    thnks very helpful..

  80. Sharath says:

    Thank u sir.

  81. sathya says:

    Its CTRL+ SHIFT + L

  82. Sreechand says:

    Cntrl + Shift + L
    :-)

  83. taha says:

    thanks for tutorial

  84. subbu says:

    can u plz tel me hw to set line numbers in eclipse?

  85. sunitha says:

    Very helpful tips..

  86. sunitha says:

    Go to window->preferences->General->Editors->Texteditors->ShowLineNumbers

  87. manasa says:

    its awesome..

  88. Ricky says:

    Thank you sir………

  89. Prashant Bhardwaj says:

    Great work sir, Very very helpful, there is another shut cut for rename or refactor same valued variables.

    ‘Alt+Shift+R’

  90. nagarjuna lingala says:

    Hi sir, you are helping us so much. I am very wonder on this website, Thanks to you sir.

  91. Sneidon says:

    Awesome!

  92. Himadri says:

    Thank you so much… you blog is awesome

  93. java linux says:

    Thanks for the compilation, very useful short cuts

  94. Sushant says:

    Another one..
    ALT+F4 for closing eclipse.

  95. babuni says:

    Thanks so much for providing Eclipse shut cut ..

  96. babuni says:

    Thanks

  97. thuanbsf says:

    very helpful!
    most-used shortcuts

  98. fateh says:

    my netbean shows an authentication password when i m run any program on tomcat apache server, and not any other server as a glassfish server is run completely.plz hellp me sir

  99. subbu says:

    Useful information.

  100. EclipseDon says:

    ALT+SHIFT+Q
    ALT+SHIFT+X

  101. marghi says:

    thank you joe, this tuto is very helpfull

  102. developpeur says:

    Joe, you forget Ctrl C and Ctrl V :D

  103. Rajesh says:

    Hi Joe.

    Nice website. Keep going. It is a best site i ever seen, where everyone will get what they are looking for. Good Work Dude

  104. sd says:

    configure ur environmental variables

    Control Panel>>All Control Panel Items>>System>> change settings>>advanced>>
    environmental variables>>add>>
    variable=HOME and value=C:\Program Files\Java\jdk1.7.0_10(change it according to ur path)

  105. […] Eclipse you have programmed shortcuts like ctrl + spac to help you […]

  106. praka says:

    thans a lot.

  107. sunit kumar panda says:

    Thanks for the compilation, very useful short cuts..

  108. Longway says:

    any way ,thx a lot.

  109. kumarsurisetti88@gmail.com says:

    if i passed F12 key there is no changes in current editor..plz explain me ..how to work currectly the F12 key

  110. SANTHOSH K S says:

    It’s very much useful information. for developer who are using eclipse

  111. Sourabh says:

    Nice article to speed u programming.It would be helpful if you provide functional shortcuts like :
    System.out.println = sysout+ctrl+space

  112. Sourabh says:

    Use DJ Decompiler a tools which helps u to regenerate class file from.class files

  113. Balakrishna says:

    how to enable the paint editor in Eclipse

  114. Baskar says:

    Hi Joe,

    I have been using eclipse for more than 3 years. It is good to know the shortcuts while working on java in eclipse.
    I have another one shortcut in eclipse. If you press CTRL + SHIFT + L in eclipse, you will get all the shortcut keys in eclipse.

    Thanks and keep going …!

Comments are closed for "Eclipse Shortcuts".