Friday, October 19, 2012

Eclipse Productivity Tips


In this tutorial, let's discuss about various Eclipse options that help you become more productive. We will start with Save Actions - which is the most useful feature in eclipse. We would discuss about features in Eclipse that enable Refactoring, Generation of Source Code. We will also learn how to effectively use debug mode.

1. Eclipse Productivity Tip 1 : Save Actions

Save Actions are "a set of actions which are executed on each save of the Java editor".Format source code,Organize imports and a number of additional actions can be performed using Save Actions.

2. Eclipse Productivity Tip 2 : Auto Formatting of Source Code

We can automatically format Java code with Eclipse default code formatter options or customize the formatter options to fit our needs.Press Ctrl+Shift+F in java editor to format code.

3. Eclipse Productivity Tip 3 : Debugging Java Code

Eclipse debugger allows controlling execution of Java program by using features like breakpoints, stepping through code etc. You can also examine and change the contents of variables, evaluate expressions in debug mode.

4. Eclipse Productivity Tip 4 : Refactoring Java Code

Eclipse supports a number of automatic refactoring operation. Some of the refactoring operations supported by eclipse are Rename, Move, Change Method Signature, Extract Method, Extract Constant, Inline Method/Variable. In this video tutorial, lets take a look at the refactoring options present in Eclipse.

5. Eclipse Productivity Tip 5 : Generating Java Code

Eclipse supports a wide range of Java code generation options - Generate Getter and Setter, Generate Delegate Methods, Generate hashCode() and equals(), Generate toString(), Generate Constructor using Fields. In this video lets look at the various source code generation options in Eclipse.

6. Eclipse Productivity Tip 6 : Keyboard Shortcuts

There is no better way to get productive in Eclipse than using keyboard shortcuts. Here are few very important keyboard shorts in Eclipse.

7. Other Eclipse Tutorials

If you are using eclipse for a significant amount of time, you would want to get more productive in using eclipse. This section covers various tips that help you get more productive. We would start with few simple productivity tips - Save Actions, Automatic Java Code Formatting and Source Generation. Then we move on to important Keyboard Shortcuts in Eclipse

8. Learn C, C++, C# and Java Language : Free Tutorials and Videos

We provide C, C++, C# and Java tutorials and videos - teaching basics and advanced concepts.

Learn Programming through code examples & exercises with focus on basics. Our online beginner's tutorials are full of programming examples. Focus is on understandable code with simple functions. Tutorials are also available in pdf format for download.

No comments:

Post a Comment