IntelliJ IDEA Tutorial: 9 MUST KNOW SHORTCUTS

  Рет қаралды 6,589

Continuous Delivery

Continuous Delivery

Күн бұрын

Пікірлер: 30
@grantgochnauer
@grantgochnauer 4 ай бұрын
I've been using IntelliJ over 20 years and learned a bunch of tips, thank you!
@esra_erimez
@esra_erimez 4 ай бұрын
I love this channel. It's so nice to see another female software developer presenting.
@ContinuousDelivery
@ContinuousDelivery 4 ай бұрын
Thank you for the support ❤️
@fforw
@fforw 4 ай бұрын
What I am using even more than about anything on this list is ctrl + w to extend the current selection in a structured way. You are at the beginning of a multi-statement line and press it -> selects the first statement, press again -> selects the whole line, press again -> selects the method (and maybe again for inner class etc). These structural extensions (also with ctrl + shift + w which does the opposite and which I almost never use) work in every file format, falling back to just lines on text files.
@TrishaGee
@TrishaGee 4 ай бұрын
Yes I use that all the time too! That's in my top 15 tips, but didn't quite make it into this video
@florianfanderl6674
@florianfanderl6674 4 ай бұрын
It's so crazy what IDEs can do these days. You always learn something new. I love it.
@piyushagarwal7628
@piyushagarwal7628 3 ай бұрын
I did not learn anything new here, but I feel good about it :D Thanks for making this.
@SandipChitale
@SandipChitale 2 ай бұрын
Great tips! New plugin to work with multiple cursors - Exchange Selection Start and End on the JetBrains marketplace- basically equivalent of exchange-point-and-mark of good ol' Emacs. That name refers to a way to flip the cursor from one end of the selection to the other. But a more interesting function is to prepend and append a prefix and a suffix to all the selections. It also supports a syntax in prefix or suffix e.g. suffix string "Component(10,10)". If you have 5 multi cursor selections then it will generate Component10, Component20, Component30, Component40, Component50.
@VonCarlsson
@VonCarlsson 4 ай бұрын
A couple more: shift+f6 to rename, alt+shift+up/down to move the current line up or down, ctrl+shift+up/down to move a statement up or down (brace aware), ctrl+alt+n to inline
@AlexGnok
@AlexGnok 4 ай бұрын
Thanks, these tips are very helpful, I didn't know about some of them! A few more tips that I use everyday as well: [Ctrl + Shift + Up] will move the line (or selected piece of code) up or down. If it's a line of code it will also move it inside the IF / TRY statement for example if it's above or below it. [Ctrl + Y] remove the whole line where caret is at [Ctrl + D] copy the whole line and paste it below [Ctrl + Shift + T] go to or generate a new test class [Ctrl + Alt + M] extract code to another method [Shift + F6] rename (with refactoring references)
@a-name-or-not-a-name
@a-name-or-not-a-name 4 ай бұрын
Structural Search & Replace - absolut killer feature. And you can create inspection and intentions out of the search & replace templates..
@davemeech
@davemeech 4 ай бұрын
I forget what it's called exactly, but there's a fantastic extension you can get I think for all jetbrains IDEs that pops up a little notification at the bottom right whenever you've done something via clicking that has a keyboard shortcut and shows it, along with a count of how many times you've performed that operation without it. Amazing whether you're onboarding to the IDE or a veteran.
@jeffmeyers8726
@jeffmeyers8726 4 ай бұрын
Key Promoter X
@SteveKuo
@SteveKuo 4 ай бұрын
@@jeffmeyers8726 +1 on Key Promoter X
@mcsee
@mcsee 3 ай бұрын
Amazing!
@honzaprokes7500
@honzaprokes7500 4 ай бұрын
Great video, generally speaking even useful for PHPStorm! (Yeah Java/C# people, PHP lives and we have IDE too 🕶)
@defeqel6537
@defeqel6537 4 ай бұрын
Learning your editor/IDE is one of the easiest way to up your productivity. Programming isn't just about writing code, but you should be able to write quickly enough for the typing to not get in the way of your thinking. And yeah, templates and snippets and such can be helpful for this too. That said, it's funny how many of the features here are just trying to fix the clunkiness of writing Java.
@Rohan-bg8ci
@Rohan-bg8ci 4 ай бұрын
Gee these are really really great tips
@bernhardkrickl5197
@bernhardkrickl5197 4 ай бұрын
Oh! My! God! The behaviour when hitting "enter" on a suggested completion is one of the few things that annoy me about IntelliJ IDEA since switching from Eclipse many years back. Now you tell me I can instead use tab! Mind blown. I'm gonna go cry in a corner for a little while.
@TrishaGee
@TrishaGee 4 ай бұрын
I KNEW this would be the tip which blew people's minds! Glad I could help, please don't cry :)
@bartoszpalej8206
@bartoszpalej8206 4 ай бұрын
Ctrl+shift+m to extract selected code to method
@ContinuousDelivery
@ContinuousDelivery 4 ай бұрын
That's one of my favourites too!
@SteveKuo
@SteveKuo 4 ай бұрын
So many refactoring shortcuts...but those are easy. Sorry, Mac commands, but easy enough to translate to PC if you know they exist. Navigate to impl - command+click Move current line up/down - option+shift+up/down (noted by others too) Navigate backward/forward - command+[/] Comment/Uncomment Lines block with “/* */“ - command+shift+/ Comment/Uncomment lines with “//“ - command+/
@SirBenJamin_
@SirBenJamin_ 4 ай бұрын
O-m-geeeee Java is such a copy of C# 😊😉😉😉😉😄 thanks for the video! 👍🏼
@ContinuousDelivery
@ContinuousDelivery 4 ай бұрын
Not sure if this is tongue-in-cheek, or meant to be serious? Actually the other way around. Java came first, and C# was largely as a result of Microsoft falling out with Sun, the creators of Java. I remember seeing an interview with (I think) Anders Hejlsberg, one of the creators of C#, and he said that they had taken lessons from other languages, and he named several, including some pretty obscure ones, but didn't mention Java. Which was kind of hilarious, and an obvious 'edit' by Microsoft's marketing dept. The first version of C# was largely Java with the case of library methods changed form staring with lower case to starting with upper case 🤣🤣
@SirBenJamin_
@SirBenJamin_ 4 ай бұрын
@@ContinuousDelivery it was tongue in cheek 😁👍🏼👍🏼👍🏼
@bernardobuffa2391
@bernardobuffa2391 4 ай бұрын
to eclipse the Sun (microsystems) is simply a bad IDEA.... Long live netbeans!
@smokeflypaperCZE
@smokeflypaperCZE 2 ай бұрын
i have one tip for you : DO NOT USE WHITE BACKGROUND! ...skipped cya
What TDD Looks Like In A REAL PROJECT (With Code Examples)
18:06
Continuous Delivery
Рет қаралды 14 М.
3 Key Version Control Mistakes (HUGE STEP BACKWARDS)
15:08
Continuous Delivery
Рет қаралды 57 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
How I Memorized ALL IntelliJ Shortcuts Effortlessly
4:55
Coding with John
Рет қаралды 54 М.
5 Things That Waste Time & Money On A Software Project
15:26
Continuous Delivery
Рет қаралды 31 М.
IntelliJ IDEA. 10 places you can avoid using mouse
15:52
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 17 М.
The SECRET To Reading Code That's UNFAMILIAR
16:29
Continuous Delivery
Рет қаралды 8 М.
10 Most Common Java Developer Mistakes
16:13
Amigoscode
Рет қаралды 113 М.
Intellij Coding Shortcuts You Need to Know
13:25
Sebastian Daschner
Рет қаралды 21 М.
When To Use These 5 TOP Software Test Types
17:47
Continuous Delivery
Рет қаралды 19 М.
If Your Code Looks Like This... You're A GOOD Programmer
16:39
Continuous Delivery
Рет қаралды 80 М.
5 great Git & IntelliJ IDEA tricks
7:50
Marco Codes
Рет қаралды 15 М.