1. Convert to Upper Case Ctrl + Shift + X 2. convert to Lower Case Ctrl + Shift + Y 3. System.out.println(); "sysout", then Crtl + Space 4. public static void main(String [] args) {} "main", then Ctrl + Space 5. for loops "for", then Ctrl + Space 6. "foreach" loops "foreach", then Ctrl + Space 7. "while" loop "while", then Ctrl + Space 8. "do while" loop "do", then Ctrl + Space 9. if statements "if", then Ctrl + Space 10. Move lines text up or down Alt + Up or Down Arrow 11. Surround code with various stuff Alt + Shift + Z 12. Automatically generate Getters and Setters Right Click > Source > Generate Getters and Setters 12. (2) Cooler way to do the same thing Alt + Shift + S, then R 13. Automatically generate Constructor using Fields Right Click > Source > Generate constructors 13. (2) Cooler way to do the same thing Alt + Shift + S, then O 14. Auto - format Ctrl + Shift + F 15. Optimize imports Ctrl + Shift + O 16. Comment or uncomment lines of code Ctrl + / 17. Multi - line block comment Ctrl + Shift + / 18. Rename variable, method, or class Alt + Shift + R 19. Jump to line Ctrl + L 20. View class outline Ctrl + O 21. Extract method Alt + Shift + M 22. Delete line Ctrl + D 23. View call hierarchy Ctrl + Alt + H 24. View class hierarchy F4 25. Jump to beginning/ end of {}, (), or [] Ctrl + Shift + P 26. Increase or decrease font size Ctrl + "+", Ctrl + "-" 27. Jump to method implementation F3 or Ctrl + Click 28. Jump to variable declaration F3 or Ctrl + Click 29. Open resource Ctrl + Shift + R 30. Change tabs Ctrl + PageUp, Ctrl + PageDown 31. Jump backward or forward in history Alt + Left Arrow, Alt + Right Arrow 31. (2) Cooler way to do the same thing Back or Forward Mouse Buttons 32. Run program Ctrl + F11 33. View all keyboard shortcut Ctrl + Shift + L
@@saiprasanthpk17 Yes. Press Ctrl + Shift + L. When shortcuts open, again press Ctrl + Shift + L. Then you can change. Or you can go to preferences and change there.
Your videos are really really helpfull, this one in particular ! It gives me a real confidence boost & the feeling that I'm not completely lost. Somehow you explain the funktion of java way better than my teachers without even using my native language. I can even watch them for entertainment purposes. Big Thanks !
I've been self teaching (meaning watching guides, trial and error learning, reading docs and so on) Java for almost a decade and sometimes I forget certain things myself than see your content which helps me understand a bit more too lol.
Really appreciate your sense of community and willingness to share. Our secondary benefit is that you are REALLY good at presenting your ideas clearly and quickly. Thank you.
Similar to moving lines up/ down using the Alt + Up/Down shortcut, We can replicate a piece of code by selecting the code and then press Ctrl + Alt + Down. This will create a copy of the selected code just below.
Ctrl + Shift + X = makes all selected letters uppercase. Ctrl + Shift + Y = makes all selected letters lowercase. “sysout” then Ctrl + Space = System.out.println(); "main", then Ctrl + Space = public static void main(String[] args) {} "for", then Ctrl + Space = "for" loops "foreach", then Ctrl + Space = "foreach" loops "do", then Ctrl + Space = "do while" loop "if", then Ctrl + Space = "if" statement Alt + Up or Down Arrow = Move lines of text up or down Alt + Shift + Z = Surround code with various stuff Right Click > Source > Generate Getters and Setters = Automatically generate Getters and Setters Alt + Shift + S, then R = cooler way to do the same thing Right Click > Source > Generate Constructor using Fields = Automatically generate constructos Alt + Shift + S, then O = cooler way to do the same thing Ctrl + Shift + F = Auto-format Ctrl + Shift + O = Optimize imports Ctrl + / = Comment or uncomment lines of code Ctrl + Shift + / = Multi-line block comment Alt + Shift + R = Rename variable, method or class Ctrl + L = jump to line Ctrl + O = View class outline Alt + Shift + M = Extract method Ctrl + D = Delete line Ctrl + Alt + H = View call hierarchy F4 = View Class hierarchy Ctrl + Shift + P = Jump to beginning / end of {}, () or [] Ctrl + "+", Ctrl + "-" = Increase or decrease font size F3 or Ctrl + Click = jump to method implementation F3 or Ctrl + Click = jump to variable implementation Ctrl + Shift + R = Open resource Ctrl + pageUp, Ctrl + PageDown = Change tabs Alt + Left Arrow, Alt + Right Arrow = Jump backward or forward in history Back or Forward Mouse Buttons = cooler way to do the same thing Ctrl + F11 = Run program Ctrl + Shift + L = View all keyboard shortcuts
00:20 Convert to Upper Case Ctrl + Shift + X 00:34 Convert to Lower Case Ctrl + Shift + Y 00:37 System.out.println(); "sysout", then Crtl + Space 01:01 public static void main(String [] args) {} "main", then Ctrl + Space 01:39 for loop "for", then Ctrl + Space 02:05 for each loop "foreach", then Ctrl + Space 02:25 while loop "while", then Ctrl + Space 02:38 do while loop "do", then Ctrl + Space 02:50 if statements "if", then Ctrl + Space 03:03 Move lines text up or down Alt + Up or Down Arrow 03:39 Surround code with various stuff Select code, then Alt + Shift + Z 04:14 Automatically generate Getters and Setters Right Click > Source > Generate Getters and Setters 05:21 Keyboard shortcut to generate Getters and Setters Alt + Shift + S, then R 05:29 Automatically generate Constructor using Fields Right Click > Source > Generate constructors 05:55 Keyboard shortcut to generate Constructor using Fields Alt + Shift + S, then O 06:00 Auto format Ctrl + Shift + F 06:21 Optimize imports Ctrl + Shift + O 07:12 Comment or uncomment lines of code Ctrl + / 07:20 Multi-line block comment Ctrl + Shift + / 07:28 Rename variable, method, or class Alt + Shift + R 07:47 Jump to line Ctrl + L 08:03 View class outline Ctrl + O 08:17 Extract method Alt + Shift + M 08:54 Delete line Ctrl + D 09:02 View call hierarchy Ctrl + Alt + H 09:24 View class hierarchy F4 09:37 Jump to beginning/ end of {}, (), or [] Ctrl + Shift + P 09:58 Increase or decrease font size Ctrl + "+" -or- Ctrl + "-" 10:08 Jump to method implementation F3 or Ctrl + Click 10:19 Jump to variable declaration F3 or Ctrl + Click 10:35 Open resource Ctrl + Shift + R 10:50 Change file tabs Ctrl + PageUp, Ctrl + PageDown 10:57 Jump backward or forward in history Alt + Left Arrow -or- Alt + Right Arrow 11:27 Mouse buttons to Jump backward or forward in history Back or Forward Mouse Buttons 11:39 Run program Ctrl + F11 12:05 View all keyboard Ctrl + Shift + L
I am subscribed to your channel, I watch almost all your videos, appreciate your work. I must mention, It was inappropriate for you to say "Would have slapped him on his face for not showing you shortcuts." Professors want those fundamental concepts to be embedded in your head, hence stop you from using tools early on. You can relate this, by observing how introducing a calculator early in American Secondary as well as High Schools almost cripple the students and majority of them suck at Math. Compare this with students coming from of Chinese or Indian education systems, where they are forced to do mental calculations for roots, cube roots, squares, factors, trigo, geo, calculus..... you name it everything!!! Makes them way more competitive in Math or any technical knowledge.
Best shortcut is "coding with John". Will save you millennia. It's true. Wish if known these earlier. Renamed some variables yesterday and scrolling up and down to see if I got them all was horrible.
I will watch this video probably the most times of any of them. I know about 1/3 of them but the others are very useful...the CTRL-SHIFT-L is great but watching you do them while hearing you talk about them helps get them into the part of the brain they need to be in, automatic actions like scratching an itch...
@@CodingWithJohn Venkat Subramanian likes to joke that advanced Java programmers are obsessed with figuring out how to get their ides to write as much of their code for them as possible. This shows many, perhaps most of them, in one video. Some say not having the code there at all is better than not having to type it. Yeah, until you are debugging code you can't see, I think.
True. I do LOVE Lombok though and we use it throughout our applications. Add once you're familiar with each particular tool like that there's less and less need to debug through the code they generate.
One very useful shortcut is shift+alt+j. It creates the template for either class or method documentation. It is most useful where methods have one of more parameters, a return type an perhaps some definition of generics. I also have another observation to make... you talked about poor code formatting and also difficulty about finding the beginning and end of a block of code. I do not know (and don't need to know) the relevant shortcut that swithes between braces, because the problem is automatically resolved by the use of the Allman Coding Style, which I always apply. I would encourage you to present your sample code with that style.
00:03 Learn Eclipse shortcuts for faster Java programming 01:35 Understanding the main method and its components 03:11 Moving code and surrounding it with try catch blocks can be done with shortcuts. 04:51 Eclipse IDE provides shortcuts to generate getters and setters, constructors, and format code automatically. 06:31 Importing and organizing imports in Eclipse 08:11 Eclipse offers useful shortcuts for Java programming. 09:48 Eclipse IDE tips for easier code navigation and editing 11:21 Eclipse shortcuts can improve productivity
Been subscribed for a while - great videos. I get your feeling, but speaking as a CS prof who has been teaching Java to undergrads for a long time, I also don't show these shortcuts to my students until they have mastered writing their own getters/setters and constructors, etc. Only after that they have mastered these concepts and skills, will I show them the shortcuts to avoid the more tedious aspects of it. Though I encourage them to explore "Eclipse Tricks and Tips" and if they discover this on their own before I show them, it's fair game. By the way, curious, Eclipse or IntelliJ? I've been using Eclipse for ages, but taking a look at IntelliJ - I should check, maybe you have a video. PS: Your Intro to Threading video is excellent and I have my students watch it.
Hey love your videos!!! Could you also do a quick video on how we can customise Eclipse like dark theme, and how to use different colors for variables, data type, etc. Would love to see that
clt + n = new project / new class clt + m = maximize / minimize window clt + 1 = suggestion output = fore = for each loop alt + up / down arrow = up / down a line clt shift + l = open a shortcut key list clt + shift + t = open a window for all classes clt + d = looking hirearkey clt + d = delete a perticular selectin / unselect line clt + l = go to a perticular line clt + q = go to the last edit clt + o = outline of the current class alt + shift + r = refector alt + shift + m = extract a method alt + shift + r = refector alt + shift + s = generate getters and setters clt + shif + f = format the code 1) Find a class - Navigate > Open Type... > type the class name 2) View list of methods - right-click > quick outline 3) Searching for text - ctrl + F 4) Searching in multiple files - Search > Search... 5) View method declaration Right-click > Open Declaration 6) Find references for a method Right-click > References > Workplace 7) Call hierarchy: sequence of method calls Right-click > Open Call Hierarchy 8) Generate Getters and Setters Right-click > Source > Generate Getters and Setters... 9) Override / Implement Methods Right-click > Source > Override / Implement Methods... 10) Formatt the code Right-click > Source > formatt 11) Extract Constants Select the constants > Right click > Refactor > Extract Constrant 12) Extract Local Variable Select the code portion > Right click > Refactor > Extract local variable 13) Extract Method Select the code portion > Right click > Refactor > Extract method 14) Rename Method / Integer Select method / integer name > right-click > rename…
1:00 For some reason when I use this shortcut on sysout, it gives me a list with options (sysout, syserr, mains args, args) instead of directly converting it to System.out.println(). Do I have to enable any option for it to work?
at 2:54 how are you able to get eclipse to say "condition" within the ()? My eclipse autofills or disappears and I don't want that. I want to know what's supposed to go in that () because I'm still very new.
1. Convert to Upper Case
Ctrl + Shift + X
2. convert to Lower Case
Ctrl + Shift + Y
3. System.out.println();
"sysout", then Crtl + Space
4. public static void main(String [] args) {}
"main", then Ctrl + Space
5. for loops
"for", then Ctrl + Space
6. "foreach" loops
"foreach", then Ctrl + Space
7. "while" loop
"while", then Ctrl + Space
8. "do while" loop
"do", then Ctrl + Space
9. if statements
"if", then Ctrl + Space
10. Move lines text up or down
Alt + Up or Down Arrow
11. Surround code with various stuff
Alt + Shift + Z
12. Automatically generate Getters and Setters
Right Click > Source > Generate Getters and Setters
12. (2) Cooler way to do the same thing
Alt + Shift + S, then R
13. Automatically generate Constructor using Fields
Right Click > Source > Generate constructors
13. (2) Cooler way to do the same thing
Alt + Shift + S, then O
14. Auto - format
Ctrl + Shift + F
15. Optimize imports
Ctrl + Shift + O
16. Comment or uncomment lines of code
Ctrl + /
17. Multi - line block comment
Ctrl + Shift + /
18. Rename variable, method, or class
Alt + Shift + R
19. Jump to line
Ctrl + L
20. View class outline
Ctrl + O
21. Extract method
Alt + Shift + M
22. Delete line
Ctrl + D
23. View call hierarchy
Ctrl + Alt + H
24. View class hierarchy
F4
25. Jump to beginning/ end of {}, (), or []
Ctrl + Shift + P
26. Increase or decrease font size
Ctrl + "+", Ctrl + "-"
27. Jump to method implementation
F3 or Ctrl + Click
28. Jump to variable declaration
F3 or Ctrl + Click
29. Open resource
Ctrl + Shift + R
30. Change tabs
Ctrl + PageUp, Ctrl + PageDown
31. Jump backward or forward in history
Alt + Left Arrow, Alt + Right Arrow
31. (2) Cooler way to do the same thing
Back or Forward Mouse Buttons
32. Run program
Ctrl + F11
33. View all keyboard shortcut
Ctrl + Shift + L
very useful. thank you.
Thanks!
thankssssss
thank you
Thanks Buddy
When you hold CTRL+ALT+ DOWN you can duplicate the line that you have selected. Pretty useful!
But what about ubuntu user yar it doesn't work here in my system.. it just minimise and maximize the opened tabs and windows
@@tarikkirat can we change the settings of shortcuts
@@saiprasanthpk17 Yes. Press Ctrl + Shift + L. When shortcuts open, again press Ctrl + Shift + L. Then you can change.
Or you can go to preferences and change there.
@@sayyedwaliullah5587you have to remove the keymapping from Ubuntu if you don’t want to use it as a system shortcut, then eclipse will catch it
The getters and setters were actually life changing
The most underrated video I’ve seen on eclipse shortcuts. Awesome!!
Great demonstration. Thanks for sharing these useful shortcuts.
Your videos are really really helpfull, this one in particular !
It gives me a real confidence boost & the feeling that I'm not completely lost.
Somehow you explain the funktion of java way better than my teachers without even using my native language.
I can even watch them for entertainment purposes.
Big Thanks !
This is the most important video in my life as a Java developer using Eclipse and Eclipse based IDE like STS, thank you John!
Im in my Junior year of CS. The hours that I could have saved If I watched this earlier AHHH
I've been self teaching (meaning watching guides, trial and error learning, reading docs and so on) Java for almost a decade and sometimes I forget certain things myself than see your content which helps me understand a bit more too lol.
As an intellij user, when I had to use eclipse for a spring course, I was very miserable at first. This video helps a lot. Thanks.
Really appreciate your sense of community and willingness to share. Our secondary benefit is that you are REALLY good at presenting your ideas clearly and quickly. Thank you.
So many useful ones in here.
On more is Alt + Shift + L to extract to variable
How does this one work? I bet you select some expression, and it makes a variable declaration/assignment with it, right?
Similar to moving lines up/ down using the Alt + Up/Down shortcut, We can replicate a piece of code by selecting the code and then press Ctrl + Alt + Down. This will create a copy of the selected code just below.
thanks for the tip
okay, this is my favorite thing ever im about to make some cleeeeeean code
Ctrl + Shift + X = makes all selected letters uppercase.
Ctrl + Shift + Y = makes all selected letters lowercase.
“sysout” then Ctrl + Space = System.out.println();
"main", then Ctrl + Space = public static void main(String[] args) {}
"for", then Ctrl + Space = "for" loops
"foreach", then Ctrl + Space = "foreach" loops
"do", then Ctrl + Space = "do while" loop
"if", then Ctrl + Space = "if" statement
Alt + Up or Down Arrow = Move lines of text up or down
Alt + Shift + Z = Surround code with various stuff
Right Click > Source > Generate Getters and Setters = Automatically generate Getters and Setters
Alt + Shift + S, then R = cooler way to do the same thing
Right Click > Source > Generate Constructor using Fields = Automatically generate constructos
Alt + Shift + S, then O = cooler way to do the same thing
Ctrl + Shift + F = Auto-format
Ctrl + Shift + O = Optimize imports
Ctrl + / = Comment or uncomment lines of code
Ctrl + Shift + / = Multi-line block comment
Alt + Shift + R = Rename variable, method or class
Ctrl + L = jump to line
Ctrl + O = View class outline
Alt + Shift + M = Extract method
Ctrl + D = Delete line
Ctrl + Alt + H = View call hierarchy
F4 = View Class hierarchy
Ctrl + Shift + P = Jump to beginning / end of {}, () or []
Ctrl + "+", Ctrl + "-" = Increase or decrease font size
F3 or Ctrl + Click = jump to method implementation
F3 or Ctrl + Click = jump to variable implementation
Ctrl + Shift + R = Open resource
Ctrl + pageUp, Ctrl + PageDown = Change tabs
Alt + Left Arrow, Alt + Right Arrow = Jump backward or forward in history
Back or Forward Mouse Buttons = cooler way to do the same thing
Ctrl + F11 = Run program
Ctrl + Shift + L = View all keyboard shortcuts
Thank you John for The most underrated video I’ve seen on eclipse shortcuts. Awesome!!
00:20 Convert to Upper Case Ctrl + Shift + X
00:34 Convert to Lower Case Ctrl + Shift + Y
00:37 System.out.println(); "sysout", then Crtl + Space
01:01 public static void main(String [] args) {} "main", then Ctrl + Space
01:39 for loop "for", then Ctrl + Space
02:05 for each loop "foreach", then Ctrl + Space
02:25 while loop "while", then Ctrl + Space
02:38 do while loop "do", then Ctrl + Space
02:50 if statements "if", then Ctrl + Space
03:03 Move lines text up or down Alt + Up or Down Arrow
03:39 Surround code with various stuff Select code, then Alt + Shift + Z
04:14 Automatically generate Getters and Setters Right Click > Source > Generate Getters and Setters
05:21 Keyboard shortcut to generate Getters and Setters Alt + Shift + S, then R
05:29 Automatically generate Constructor using Fields Right Click > Source > Generate constructors
05:55 Keyboard shortcut to generate Constructor using Fields Alt + Shift + S, then O
06:00 Auto format Ctrl + Shift + F
06:21 Optimize imports Ctrl + Shift + O
07:12 Comment or uncomment lines of code Ctrl + /
07:20 Multi-line block comment Ctrl + Shift + /
07:28 Rename variable, method, or class Alt + Shift + R
07:47 Jump to line Ctrl + L
08:03 View class outline Ctrl + O
08:17 Extract method Alt + Shift + M
08:54 Delete line Ctrl + D
09:02 View call hierarchy Ctrl + Alt + H
09:24 View class hierarchy F4
09:37 Jump to beginning/ end of {}, (), or [] Ctrl + Shift + P
09:58 Increase or decrease font size Ctrl + "+" -or- Ctrl + "-"
10:08 Jump to method implementation F3 or Ctrl + Click
10:19 Jump to variable declaration F3 or Ctrl + Click
10:35 Open resource Ctrl + Shift + R
10:50 Change file tabs Ctrl + PageUp, Ctrl + PageDown
10:57 Jump backward or forward in history Alt + Left Arrow -or- Alt + Right Arrow
11:27 Mouse buttons to Jump backward or forward in history Back or Forward Mouse Buttons
11:39 Run program Ctrl + F11
12:05 View all keyboard Ctrl + Shift + L
As you mentioned, ctrl + f11 start run app. I'd like to add just f11. It starts debug mode app.
I am subscribed to your channel, I watch almost all your videos, appreciate your work.
I must mention,
It was inappropriate for you to say "Would have slapped him on his face for not showing you shortcuts."
Professors want those fundamental concepts to be embedded in your head, hence stop you from using tools early on.
You can relate this, by observing how introducing a calculator early in American Secondary as well as High Schools almost cripple the students and majority of them suck at Math.
Compare this with students coming from of Chinese or Indian education systems, where they are forced to do mental calculations for roots, cube roots, squares, factors, trigo, geo, calculus..... you name it everything!!! Makes them way more competitive in Math or any technical knowledge.
Best shortcut is "coding with John". Will save you millennia. It's true.
Wish if known these earlier. Renamed some variables yesterday and scrolling up and down to see if I got them all was horrible.
Thanks John for the video. I really believe that learning shortcuts takes you and your devs to the next level!
IDEs do a LOT for us if we can learn to use what they can do.
This vid is a must watch for new coders using eclipse
This makes life soooo much easier! Subscribed!
I absolutley loved this video. my production just went sky high. Thanks so much.
oh the alt + arrows! so good! Nice video thank you.
John, these timesavers are amazing! Makes coding more fun than work. Cheers.
I love your short videos I am studying for java certification and your videos really make things clear for me.
One of the greatest video about eclipse ever made. Thank you sir.
Amazing! This is so helpful!
I will watch this video probably the most times of any of them. I know about 1/3 of them but the others are very useful...the CTRL-SHIFT-L is great but watching you do them while hearing you talk about them helps get them into the part of the brain they need to be in, automatic actions like scratching an itch...
Glad it was helpful! There are a bunch I didn't know about myself until I started doing the research for this video that I now use regularly.
@@CodingWithJohn Venkat Subramanian likes to joke that advanced Java programmers are obsessed with figuring out how to get their ides to write as much of their code for them as possible. This shows many, perhaps most of them, in one video. Some say not having the code there at all is better than not having to type it. Yeah, until you are debugging code you can't see, I think.
True. I do LOVE Lombok though and we use it throughout our applications. Add once you're familiar with each particular tool like that there's less and less need to debug through the code they generate.
Your videos are consistently amazing, thanks John!
Kudos for making such a useful video on this , its very helpful for java programmers who work on eclipse as their IDE.
Thank you for useful short cuts.
Thank you for all the knowledge you have given in your videos
One very useful shortcut is shift+alt+j. It creates the template for either class or method documentation. It is most useful where methods have one of more parameters, a return type an perhaps some definition of generics.
I also have another observation to make... you talked about poor code formatting and also difficulty about finding the beginning and end of a block of code. I do not know (and don't need to know) the relevant shortcut that swithes between braces, because the problem is automatically resolved by the use of the Allman Coding Style, which I always apply. I would encourage you to present your sample code with that style.
Wow. That's really helpful. Thanks a lot.
Great video! Thank you John.
Great teacher. Thank you for all your Java videos.
00:03 Learn Eclipse shortcuts for faster Java programming
01:35 Understanding the main method and its components
03:11 Moving code and surrounding it with try catch blocks can be done with shortcuts.
04:51 Eclipse IDE provides shortcuts to generate getters and setters, constructors, and format code automatically.
06:31 Importing and organizing imports in Eclipse
08:11 Eclipse offers useful shortcuts for Java programming.
09:48 Eclipse IDE tips for easier code navigation and editing
11:21 Eclipse shortcuts can improve productivity
THE best!! Really helpful and excellent explanations! Thank you so much!
Super useful. Thanks.
I use the shorter "yso" Ctrl+space for the printing shortcut. A middle schooler told me about it!
You mean “syso”?
@@demirg nope, I mean "yso". I used to type "syso" then I found out that "yso" also works
Been subscribed for a while - great videos. I get your feeling, but speaking as a CS prof who has been teaching Java to undergrads for a long time, I also don't show these shortcuts to my students until they have mastered writing their own getters/setters and constructors, etc. Only after that they have mastered these concepts and skills, will I show them the shortcuts to avoid the more tedious aspects of it. Though I encourage them to explore "Eclipse Tricks and Tips" and if they discover this on their own before I show them, it's fair game.
By the way, curious, Eclipse or IntelliJ? I've been using Eclipse for ages, but taking a look at IntelliJ - I should check, maybe you have a video.
PS: Your Intro to Threading video is excellent and I have my students watch it.
Control alt down to duplicate selected code block, that is really helpful
00:52 akctually 🤓 you just need to type "syso" then hit control space. You're welcome.
Thank God. It was Damn helpful.
Hey love your videos!!! Could you also do a quick video on how we can customise Eclipse like dark theme, and how to use different colors for variables, data type, etc. Would love to see that
I enjoy your videos, but would like to see you do one on swing and thread interaction.
very useful. thank you.
Thank you. This is really relevant. God bless your channel.
Thanks. Very useful 👍
0:58 "so you can immediately just start typing out .. "whatever you want""
I had to giggle a bit :D
THANKS A LOT. IT WAS A LIFE SAVER
You can perform fast scrolling by holding alt or option key. This is pretty useful when you have large code.
Thanks for the incredible tricks! If I accidentally hit something and don't know where and I want to go back where I was, what will be the shortcut?
Awesome, thank you so much ^^
Ctrl+1 and Ctrl+3 are the most useful shortcuts I know
Great video. Trusting you that you covered all of most important ones, but thanks for showing where to find the rest of them! Lol
Instead of sysout you can just type syso. Excellent video. I've been wondering about some of these. Thanks.
For System.out.println you can go as far as syso and ctrl + space.
Just follow the step click on Window -> Preferences -> Java -> Editor -> Content Assist = Auto activation triggers for java.
Very helpfull and nice video....
thnx , very helpfull . that make easy to switch to eclips
Thank you so much !!
Very useful tutorial, making daily work easy and smooth to write.
If possible can you create one for IntelliJ IDE also. Thanks a lot for you work.
Now i can do my computer based exam like pro no need to memorise hard key words 😊 for loop help is fhe best one 😊
thank you john
Scrolling faster: Hold CTRL and use mouse-scroll. You can scroll-over 100-200 rows like a charm.
Thank you so much
Great video ..Thanks
most useful shortcuts for me are: main, Ctrl+shift+X, Ctrl+shift+F, ctrl+/ or ctrl+shift+/, ctrl+shift+p, ctrl+ or ctrl -, ctrl+shit+l
great video
subscribed!
ctrl + 1 - most used.
clt + n = new project / new class
clt + m = maximize / minimize window
clt + 1 = suggestion
output =
fore = for each loop
alt + up / down arrow = up / down a line
clt shift + l = open a shortcut key list
clt + shift + t = open a window for all classes
clt + d = looking hirearkey
clt + d = delete a perticular selectin / unselect line
clt + l = go to a perticular line
clt + q = go to the last edit
clt + o = outline of the current class
alt + shift + r = refector
alt + shift + m = extract a method
alt + shift + r = refector
alt + shift + s = generate getters and setters
clt + shif + f = format the code
1) Find a class -
Navigate > Open Type... > type the class name
2) View list of methods -
right-click > quick outline
3) Searching for text -
ctrl + F
4) Searching in multiple files -
Search > Search...
5) View method declaration
Right-click > Open Declaration
6) Find references for a method
Right-click > References > Workplace
7) Call hierarchy: sequence of method calls
Right-click > Open Call Hierarchy
8) Generate Getters and Setters
Right-click > Source > Generate Getters and Setters...
9) Override / Implement Methods
Right-click > Source > Override / Implement Methods...
10) Formatt the code
Right-click > Source > formatt
11) Extract Constants
Select the constants > Right click > Refactor > Extract Constrant
12) Extract Local Variable
Select the code portion > Right click > Refactor > Extract local variable
13) Extract Method
Select the code portion > Right click > Refactor > Extract method
14) Rename Method / Integer
Select method / integer name > right-click > rename…
Thanks man. great now i can run my code without having to use my track pad
Damn, that professor making you type out getters really wanted to teach you a lesson :) I guess it worked
1:00 For some reason when I use this shortcut on sysout, it gives me a list with options (sysout, syserr, mains args, args) instead of directly converting it to System.out.println(). Do I have to enable any option for it to work?
Thank you very much , your amazing
Please make a video on intellij shortcuts
This video is awesome
Thank you sir ...!!
ALT SHIFT L -> extract to variable, most usefull with alt shift r :)
at 2:54 how are you able to get eclipse to say "condition" within the ()? My eclipse autofills or disappears and I don't want that. I want to know what's supposed to go in that () because I'm still very new.
alt + up or down arrow keys to move whole line codes up and down.
ctrl + alt + up or down arrow keys to duplicate whole line of codes
I was about to subscribe, but then I realized that I already am.
this is sooo helpful! Thank you
Ctrl-Shift-R also takes the upper case letters of a class - e.g. MSC for MySimpleClass
Well done
thank you
Your the best!
6:11 you don't actually need to highlight the code, it'll work the same
please explain one video on serialization and desirialazation
Ctrl+Shift+T opens a search box where you can search for all the java files in your project.
Please make video on STS
I have a question, why do you not use Visual Studio?
Thank you John its a wonderful session keep posting videos
Why do you use Eclipse if there is Intellij IDEA?
Because it is eclipse
just thanks!!!
Ctrl + PgUp & Ctrl + PgDn to switch between open editors.
First year student watching this now so I can save maximum time 😎