13 Simple Ways To Edit Code Faster in IntelliJ IDEA

  Рет қаралды 4,596

Tom Gregory Tech

Tom Gregory Tech

Күн бұрын

Are you making the most of IntelliJ IDEA to speed up your basic code editing? You'd be surprised how many time saving shortcuts are available for basic navigating, highlighting, and moving code around within the editor window.
Here's a quick run through of the 13 most important, with both Windows and Mac shortcuts provided.
As developers, it's often the simple things we overlook. How many of these shortcuts do you know?
▶️ VIDEO CHAPTERS
Jump to editor to start coding 0:00
Navigate your code faster 0:16
Quick code selection 1:00
Copy a line like a pro 1:31
Bulk move code 1:49
Get me out of here! 2:05
POWERFUL BONUS TIP 2:17
🚀 FREE INTRODUCTORY GRADLE COURSE - Get Going with Gradle - the fastest way to a working knowledge of Gradle tomgregory.com/gradle/courses...
🦸 GRADLE HERO COURSE TO MASTER JAVA PROJECTS - take back control of your Gradle build learn.tomgregory.com/courses/...
🌍 Continue learning on my website tomgregory.com/gradle/

Пікірлер: 15
@henninghoefer
@henninghoefer Жыл бұрын
* Quickly comment out a line with Ctrl+/ * Select code and toggle line comments with Ctrl+/ * Select code and toggle block comment Ctrl+Shift+/ * Completing a line: Don't go to the end of the line, close all parentheses and type the semicolon like a caveman - instead, hit Ctrl+Shift+Enter anywhere in the line * "Surround with" (not sure if this is turned on by default): Select any text and then hit the quotation mark or opening parenthesis/bracket/brace/chevron - the selection gets surrounded by the respective characters * Multiple carets mode supports copy and paste - and not just with the same amount of lines: You can paste a single line to multiple places or copy multiple places to a single spot
@TomGregoryTech
@TomGregoryTech Жыл бұрын
"Completing a line: Don't go to the end of the line, close all parentheses and type the semicolon like a caveman" 😂 This is a new one for me. Thanks Henning.
@UnwittingSweater
@UnwittingSweater Жыл бұрын
Good primer 👍. I have the presentation plug in on when I do code reviews so others can learn the different shortcuts. Quick tips for anyone else reading this. For Ctrl + Y to delete a line think "Yank" Also most places where intellij gives you a list you can search on it. The example in the video is the project structure.
@TomGregoryTech
@TomGregoryTech Жыл бұрын
How did I not know about the presentation plugin? That will make finding Mac shortcut equivalents so much easier. Thanks!
@mikhailsavinov3919
@mikhailsavinov3919 Жыл бұрын
Amazing
@saintsasha9825
@saintsasha9825 Жыл бұрын
Hey tom! Quick question about IntelliJ.
@dilan4523
@dilan4523 Жыл бұрын
Ideavim?
@VasoTodorovic-lz5lf
@VasoTodorovic-lz5lf 4 ай бұрын
What are benefit of ideavim except motions. It looks like a loot of work for small reward
@moumnalmunawy1806
@moumnalmunawy1806 Жыл бұрын
Tip 14 : use vim plugin
@VasoTodorovic-lz5lf
@VasoTodorovic-lz5lf 4 ай бұрын
What you get vith ideavim in intellij except motion. I could find zero useful resources on ideavim online. And often it has different behaviour then vim.
@kitersrefuge7353
@kitersrefuge7353 Жыл бұрын
Very nice thank you. Personally I think a keyboard is archaic at best. There should be a verbal command plugin...speech to command plugin; keyboards are for typewriters. ;=)
@TomGregoryTech
@TomGregoryTech Жыл бұрын
Agreed. But let's hope it doesn't get too confused by those of us who say brackets rather than parentheses. 😉
@aparfeno
@aparfeno Жыл бұрын
How would one sing along while coding? :)
@hazartilirot1014
@hazartilirot1014 Жыл бұрын
Some of those don't work on Mac. I often use: new WhatEverClass(); and then OPTION + COMMAND + V - it declares a variable; and then if it's not var - press SHIFT + OPTION + O - and change to var. main + TAB psf + TAB select a chunk of code, OPTION + COMMAND + T - and then press, for example 123456788 - any number you need to wrap the code into try-catch fori + TAB iter + TAB
@TomGregoryTech
@TomGregoryTech Жыл бұрын
Thanks for sharing, Hazarti!
Debug Java Like a Pro in IntelliJ IDEA
17:28
Tom Gregory Tech
Рет қаралды 39 М.
With these 5 Gradle benefits you'll NEVER use Maven again
10:53
Tom Gregory Tech
Рет қаралды 14 М.
[柴犬ASMR]曼玉Manyu&小白Bai 毛发护理Spa asmr
01:00
是曼玉不是鳗鱼
Рет қаралды 49 МЛН
Cute Barbie Gadget 🥰 #gadgets
01:00
FLIP FLOP Hacks
Рет қаралды 26 МЛН
NETWORK THREAT 3
33:36
Prashant Sharma
Рет қаралды 5
Working With Databases in IntelliJ IDEA
51:11
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 4,6 М.
36 Lessons From 36 Months Outside a Coding Job
15:29
Tom Gregory Tech
Рет қаралды 606
25 VS Code Productivity Tips and Speed Hacks
11:35
Fireship
Рет қаралды 2,2 МЛН
Gradle Was Hard Until I Learnt This INSANE Secret
6:16
Tom Gregory Tech
Рет қаралды 42 М.
Intellij Coding Shortcuts You Need to Know
13:25
Sebastian Daschner
Рет қаралды 14 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 730 М.
Reading Code Like a Pro | IntelliJ IDEA Tips
6:56
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 10 М.
The REAL Reason I Quit Coding Jobs Forever
7:12
Tom Gregory Tech
Рет қаралды 3,3 М.
Why Gradle Is DESTROYING Maven
10:08
Tom Gregory Tech
Рет қаралды 9 М.
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 9 МЛН
ПРОБЛЕМА МЕХАНИЧЕСКИХ КЛАВИАТУР!🤬
0:59
Корнеич
Рет қаралды 3,5 МЛН
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,6 МЛН
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 332 М.