filmov
tv
40+ Eclipse Shortcuts for SDET and Java Developer
Показать описание
Using keyboard shortcuts while programming increases your speed and efficiency. Now a days most of the interviews happen online. If you use keyboard shortcuts while solving a coding question, it creates a positive impression on interviewer.
We have tried to cover all important and frequently used shortcuts in the video. Since the list is very long and cannot be covered in the video, we have list most of the shortcuts below. If you think we have missed any shortcut, please let us know in comment section and we will add the shortcut with your name in the description.
1) Alt+Shift+L Extract local variable
2) Alt+Shift+z Surround the code block with try catch block
3) Ctrl+Shift+O Add/organize imports.
4) Alt+Shift+R Rename currently selected element.
5) Ctrl+Shift+T Open a type declaration.
6) Ctrl+Shift+R Open a resource.
7) Alt +shift+j Generate java doc comment
8) Ctrl+Alt+Up/Down Duplicate code
9) Ctrl+Shift+/ Comment/uncomment selection.
10) F2 See java doc
11) F3 Go to member definition
12) Alt+Left Go back to the last cursor location
13) Ctrl+L Go to a given line in the editor.
14) Ctrl+Shift+Up Go to previous member
15) Ctrl+Shift+Down Go to next member.
16) Ctrl+E Switch to another editor.
17) Ctrl+M Maximize/minimize current editor.
18) Alt + Up Move line one line up
19) Alt + Down Move line one line down
20) Ctrl+Space Content Assist / code completion.
a. Main method- main ctrl+space
b. Pritln- sysout ctrl+space
21) Ctrl+Shift+G Search references in the workspace
22) Ctrl+D Delete line
23) Ctrl+1 Quick fix
24) Ctrl+Alt+H Open call hierarchy on a method.
25) Ctrl+o Shows all members of current java class. Press Ctrl+o again and it will show the inherited members as well.
26) Ctrl+I Format code
27) Alt+Shift+M Extract selection into method.
28) Ctrl+Shift+P Go to matching bracket.
29) F11 Debug most recent launch
30) Ctrl+F11 Run most recent launch.
31) Ctrl+S Save current editor and build.
32) Ctrl+, Ctrl+. Go to previous/next result/error.
33) Alt+Up Move current selection up
34) Alt+Down Move current selection down.
35) F4 Open type hierarchy.
36) Ctrl+T Ctrl+F3 Pop-up type hierarchy or structure.
37) Ctrl+F Ctrl+I Ctrl+K Find, incremental find, find again.
38) Ctrl+H Open search dialog.
39) Ctrl+B build all projects in workspace
40) Ctrl + F8 Switch perspective
41) Ctrl + Q Go to editor where last edit was done
42) Ctrl+PageUp Go to previous open editor
43) Ctrl+PageDown Go to next open editor
44) Shift+ Enter Adds new line bellow current line independently of the position of the cursor
We have tried to cover all important and frequently used shortcuts in the video. Since the list is very long and cannot be covered in the video, we have list most of the shortcuts below. If you think we have missed any shortcut, please let us know in comment section and we will add the shortcut with your name in the description.
1) Alt+Shift+L Extract local variable
2) Alt+Shift+z Surround the code block with try catch block
3) Ctrl+Shift+O Add/organize imports.
4) Alt+Shift+R Rename currently selected element.
5) Ctrl+Shift+T Open a type declaration.
6) Ctrl+Shift+R Open a resource.
7) Alt +shift+j Generate java doc comment
8) Ctrl+Alt+Up/Down Duplicate code
9) Ctrl+Shift+/ Comment/uncomment selection.
10) F2 See java doc
11) F3 Go to member definition
12) Alt+Left Go back to the last cursor location
13) Ctrl+L Go to a given line in the editor.
14) Ctrl+Shift+Up Go to previous member
15) Ctrl+Shift+Down Go to next member.
16) Ctrl+E Switch to another editor.
17) Ctrl+M Maximize/minimize current editor.
18) Alt + Up Move line one line up
19) Alt + Down Move line one line down
20) Ctrl+Space Content Assist / code completion.
a. Main method- main ctrl+space
b. Pritln- sysout ctrl+space
21) Ctrl+Shift+G Search references in the workspace
22) Ctrl+D Delete line
23) Ctrl+1 Quick fix
24) Ctrl+Alt+H Open call hierarchy on a method.
25) Ctrl+o Shows all members of current java class. Press Ctrl+o again and it will show the inherited members as well.
26) Ctrl+I Format code
27) Alt+Shift+M Extract selection into method.
28) Ctrl+Shift+P Go to matching bracket.
29) F11 Debug most recent launch
30) Ctrl+F11 Run most recent launch.
31) Ctrl+S Save current editor and build.
32) Ctrl+, Ctrl+. Go to previous/next result/error.
33) Alt+Up Move current selection up
34) Alt+Down Move current selection down.
35) F4 Open type hierarchy.
36) Ctrl+T Ctrl+F3 Pop-up type hierarchy or structure.
37) Ctrl+F Ctrl+I Ctrl+K Find, incremental find, find again.
38) Ctrl+H Open search dialog.
39) Ctrl+B build all projects in workspace
40) Ctrl + F8 Switch perspective
41) Ctrl + Q Go to editor where last edit was done
42) Ctrl+PageUp Go to previous open editor
43) Ctrl+PageDown Go to next open editor
44) Shift+ Enter Adds new line bellow current line independently of the position of the cursor
Комментарии