Eclipse CDT 8.0 Cheat Sheet. Sheet is freely available from: http://www.triada.si/download/eclipseCDT8.0-cheatsheet.pdf.
This tutorial is about 30 Eclipse keyboard shortcuts, this list is by no means complete and I will suggest you guys share eclipse shortcuts listed other than here to make this more useful. Eclipse is the most used Java development IDE and knowing these Eclipse shortcuts not only improve your productivity but also makes you more efficient. You will have more time for things you like to do. Using keyboard shortcuts also helps to impress colleagues and shows that you have a good hold on tools you used for Java Development. If you are a Java developer, who use Eclipse as your main IDE for all-purpose e.g. Coding, development, and debugging, then I also suggest you take a look at, one of the best course to learn how to use Eclipse effectively from Java programmer's perspective. I was a big fan of Netbeans IDE before coming across Eclipse because I was from the J2ME background and Netbeans provide sophisticated IDE environment to enable you to build, debug and run your Java application in various mobile emulator including some advanced processing options e.g.
Preprocessing, setting up Exception breakpoint etc.From that time I love to know keyboard shortcuts on IDEs and other tools, I used for development including Edit Plus, Notepad, Microsoft Excel etc. Knowing your tools better certainly helps you to deliver more in less time and find something really quick when a production issue arise. As I said, I was a big NetBeans fan at the start of my career but hen I joined an investment bank I came across, since everybody in my team is using Eclipse and Netbeans IDE was not available in the company (don’t know why NetBeans was not allowed even though it was free) I have decided to go Eclipse way.Later I found that Eclipse is most suited for that distributed core Java application which runs on Eclipse and depends upon a proprietary Linux library. It wasn't possible to run the whole application in Windows and that time some of the cool features of eclipse like., Conditional Breakpoints, Exception breakpoints, and Ctrl+T and Ctrl+R kind of shortcuts really saved my life.
Btw, you would need a Pluralsight membership to access this course, which costs around $29 monthly or $299 annually. I have one and I also suggest all developers have that plan because Pluralsight is like NetFlix for Software developers.It has more than 5000+ good quality courses on all latest topics. Since we programmers have to learn new things every day, an investment of $299 USD is not bad.Btw, it also offers a without any obligation which allows you to watch 200 hours of content.
You can watch this course for free by signing for that trial. 16) Go to a type declaration: F3, This Eclipse shortcut is very useful to see function definition very quickly.Apart from these keyboard shortcuts, learning how to debug Java program in Eclipse is also a skill. There are so many debugging tools and features available in Eclipse, which many Java programmer doesn't know e.g. Conditional debugging, hit count, and remote debugging.If you really want to become a good Java developer I suggest you improve your debugging skill and if you need some help with is the best place to start with. Related Eclipse tutorials for Java DevelopersIf you like this tutorial and wants to learn more productivity tips, tricks and new features of Eclipse IDE, then you can also see following guides and tutorials:How to attach source code of a JAR file in Eclipse? How to debug a Java Program in Eclipse IDE?
How to do the static import in Java Eclipse? How to solve Eclipse No Java Virtual Machine found the error? How to fix the JAR dependency not working in Eclipse Maven Plugin?
How to fix Eclipse Not able to connect Internet or Market Place error? How do you create JUnit tests in Eclipse IDE? Eclipse shortcut for System.out.println statements How to escape String literal in a Java file when posted on Eclipse?
How to compare two files in Eclipse IDE? How to increase console buffer size in Eclipse? How to make an executable JAR file in Eclipse? How to fix Unsupported major.minor version 51.0 error in Eclipse? How to fix must override superclass method error in Eclipse? How to decompile class file in Eclipse?
How to set java.library.path in Eclipse IDE? Step by Step Guide to Remote Debug a Java Application in Linux Thanks for reading this article so far.
If you like these Eclipse keyboard shortcuts then please share this article with your friends and colleagues. If you have any questions or feedback, please drop a note.
Said.Good list of short cuts. Should have mentioned Ctrl-Shift-L to get this list and Ctrl-Shift-L twice to customize it.Anonymoussaid.1) Ctrl + T for finding class even from jarCtrl + T is the shortcut for Quick Hierarchy (Show the quick hierarchy of the selected element)Anonymoussaid.1) Ctrl + Shift + T for finding class even from jar2) Ctrl + Shift + R for finding any resource (file) including config xml filessaid.Thanks for your comment Anonymous. Yes Ctrl + Shift + T can be used to find classes from jar and that's what the difference between Ctrl + Shift + T and Ctrl + Shift + R. I also used Ctrl + Shift + T to findout which class comes first in classpath and its very useful if you have two classes with same name in two jar's and both jar in your classpath and one of them work and other doesn't.said.Thanks for your comment Keyboard shortcuts I visited your site and it has really good collection of keyboard shortcuts for various technology including eclipse 3.0.said.Thanks Gautam for informing us about Ctrl-Shift-L. I have included in main list for benefit of we all.said.Thanks Anonymous, Its good to know that these eclipse keyboard shortcuts are useful for you.Anonymoussaid.To go along with #28 Ctrl+Shift+P, I find Alt+Shift+UpArrow or Alt+Shift+DownArrow useful when both braces are not visible on the same screen.Place the cursor next to the brace you want to match, then Alt+Shift+UpArrow and the matching braces and the code in between will be highlighted.
Pressing Alt+Shift+UpArrow again expands the selection further. The highlighting can make brace matching much more evident.Furthermore, this highlighting can be used on any logical block of code - put the cursor in the middle of any word (a string, a method.) and try it.Anonymoussaid.Ctrl+j = incremental search is superior to Ctrl+f and essential for code navigation, means just Ctrl+j and type on. It will jump to the first match.
Use Ctrl+j or Arrow down for the next match and Ctrl+Shift+j or Arrow up to move backwards//Gilbertsaid.@Anonymous thanks for your valuable suggestion, this eclipse shortcut indeed sounds quite useful, going to try it.Anonymoussaid.ctrl+shift+l displays list of all keyboard shortcutssaid.A Master Shortcut - CTRL+3said.Thanks Javin for this nice post. I've also compiled a list of useful Eclipse Keyboard Shortcuts and also uploaded a video showing how to use these shortcuts while programming.Soyasaid.My Favroties:Eclipse shortcuts to comment and uncommentEclipse shortcut to formattingEclipse shortcut to finding Type informationEclipse shortcut to remove all unused importsEclipse shortcut to run Java programEclipse shortcut to debug Java programThanksSoyaAnonymoussaid.What is Eclipse shortcut for static import in Java 5? Is there any keyword shortcut to go from top of the page to bottom of page in Java Editor window?Ravindrasaid.is there any book to learn Eclipse IDE? Heroes lore 2 knight of the frozen sea jar. I want to master this IDE and increase my productivity by learning lots of tips, tricks and shortcuts.
Please let me know, if there is any comprehensive tutorial or book exists for Eclipse.Anonymoussaid.One of the keyboard shortcut I often use is Alt +Shift +s and Generate getter and Setters to generate automatic code mainly getter and setter.said.For editor i find very useful CTRL + ALT + up(or down) to duplicate a line (or all lines selected)also CTRL + D to delete a line (or all lines selected) is very usefulAnonymoussaid.Ctrl + Home go to top of the documentCtrl + End go to bottom of the documentAnonymoussaid.F12 to switch back to editorsaid.HI.
A printable cheat sheet for the Eclipse SDK
Eclipse Version | Windows/Linux | macOS | ||
---|---|---|---|---|
ODT | ODT | |||
4.9 / 4.10 / 4.11 | odt | odt | ||
4.8 | odt | odt | ||
4.7 | odt | odt | ||
4.6 | odt | n/a | n/a | |
4.5 | odt | n/a | n/a | |
4.4 | odt | n/a | n/a | |
4.3 | odt | n/a | n/a | |
3.8 | odt | n/a | n/a | |
3.7 | odt | n/a | n/a | |
3.6 | odt | n/a | n/a | |
3.7 M3 | odt | n/a | n/a |
About
The contents of these cheat sheets is gathered as follows:
- Download and run a pristine Eclipse SDK in a new workspace
- Open the preferences dialog and go to the page General > Keys
- Save the keyboard shortcuts by hitting the Export CVS.. button
- Sort the file (
cat FILE | sort > SORTED_FILE
) - Diff to last versions ASCII to get the differences to edit the effective shortcut cheatsheet file (
diff -y oldfile newfile
)