TIP #1 − DISCOVERING SHORTCUT KEYS
TIP #2 − CONTENT ASSIST
TIP #2 − CONTENT ASSIST
- In the Java editor press Ctrl + Space to see a list of suggested completions. Typing one or more characters before clicking Ctrl + Space will shorten the list.
- When the cursor is in a method argument, press Ctrl + Shift + Space to see a list of parameter hints.
- Code completion supports camel case patterns. Entering NPE and clicking Ctrl + Space will propose NullPointerException and NoPermissionException.
- Click on Source → Generate Getter and Setter to open the wizard that allows you to generate getter and setter methods.
- Click on Source → Generate hashCode() and equals() to generate this methods for a Java class.
- Select a block of code and press Alt+Shift+Z to see a menu of items like if statement, for loop, try/catch etc that can enclose the selected block of code.
- Select an opening or closing bracket and press Ctrl+Shift+P to find its matching bracket.
- Type '/**' and press Enter to automatically addes a Javadoc comment stub.
- Press Ctrl+Shift+O to organize all the imports.
- Press F10 to activate the Menu bar.
- Press Ctrl+F7 to see a list of open views and editor area and switch to one of them.
No comments:
Post a Comment