Top 15 IntelliJ IDEA shortcuts

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • IntelliJ IDEA has keyboard shortcuts for most of its commands related to editing, navigation, refactoring, debugging, and other tasks. Memorizing these hotkeys can help you stay more productive by keeping your hands on the keyboard.
    Alt+Enter - Show Intention Actions
    F2 - Next Highlighted Error
    ⌘1 or Alt+1 - Project Tool Window
    Esc - Focus on the Editor
    ⌘E or Ctrl+E - View Recent Files
    ⌘B or Ctrl+B - Go to Declaration
    Alt+F7 - Find Usages
    Ctrl Ctrl - Run Anything
    ⌥↑ / ⌥↓ or Ctrl + W / Shift + Ctrl + W - Extend or Shrink Selection
    ⌘/ or Ctrl + / - Add/Remove Line Comment (⌥⌘/ or Shift+Ctrl+/ for Block Comment)
    ⇧⌘⏎ or Shift+Ctrl+Enter - Complete Current Statement
    ⌥⌘L or Ctrl+Alt+L - Reformat Code
    ⌃T or Shift+Ctrl+Alt+T - Refactor This
    ⇧⌘A or Shift+Ctrl+A - Find Action
    Shift Shift - Search Everywhere
    For more information, go to: jb.gg/clnjsc
    See this blog post here: jb.gg/top15
    Download IntelliJ IDEA: jb.gg/download-intellij-idea
    *Author: Trisha Gee
    Join us:
    Website jb.gg/website
    Blog jb.gg/blog
    Twitter / intellijidea
    Facebook / intellijidea
    #java #getting_to_know_intellij #intelliJIDEA #intelliJ #jetbrains #programming

ความคิดเห็น • 123

  • @andeslam7370
    @andeslam7370 4 ปีที่แล้ว +228

    00:12 Alt + enter Suggestions for error correction
    01:18 F2 Navigate errors
    01:37 Alt + 1 Open project window
    01:59 Esc Focus back to editor
    02:19 Ctrl + E View recent files
    02:41 Ctrl + B See declaration of symbol
    03:07 Alt + F7 See usage
    03:45 Ctrl + ctrl Run anything
    03:52 Shift + Ctrl + W / Ctrl + W Expand / Close selection
    04:20 Ctrl + / Comment Shift + Ctrl + / Comment Block
    04:51 Shift + Ctrl + Enter Auto complete
    05:34 Ctrl + Alt + L Reformat file
    06:07 Shift + Ctrl + Alt + T Refactor
    06:37 Shift + Ctrl + A Find action
    07:07 Shift + Shift Search

    • @Mirja-Amri
      @Mirja-Amri 3 ปีที่แล้ว

      Thanks

    • @Gorky25
      @Gorky25 3 ปีที่แล้ว +1

      Thanks!

    • @svddwd
      @svddwd 3 ปีที่แล้ว +1

      Thanks This was much needed as she was in a hurry to finish

    • @myilmaz8492
      @myilmaz8492 2 ปีที่แล้ว

      You are great, thanks!

    • @ranjeetkumar2051
      @ranjeetkumar2051 ปีที่แล้ว

      thank you very much

  • @shutanovac
    @shutanovac ปีที่แล้ว +19

    I personally like the Ctrl+Shift+Backspace, it will navigate to the last edit position, so it goes great with other navigation shortcuts.

  • @sv122
    @sv122 4 ปีที่แล้ว +18

    Shortcuts are SO important. I see junior programmers manually typing so much stuff. It's the diff between fixing an issue in 4 hours instead of 2 days

  • @albanach84
    @albanach84 4 ปีที่แล้ว +39

    One Eclipse user didn’t like the video...
    Well done Trisha!

    • @SuperLolcio
      @SuperLolcio 4 ปีที่แล้ว +5

      I use Intellij and I love it but I think that Eclipse has better shortcuts :/

    • @user-si6sh4jw5d
      @user-si6sh4jw5d 4 ปีที่แล้ว

      @@SuperLolcio Examples please.

    • @ris3367
      @ris3367 4 ปีที่แล้ว

      5 now

  • @yuri4n
    @yuri4n 4 ปีที่แล้ว +47

    Absolutely the best java ide

    • @Ihavetoreturnsomevideotapes
      @Ihavetoreturnsomevideotapes 2 ปีที่แล้ว +1

      Cost 150 dollars per year 😩😩

    • @naiskraft9261
      @naiskraft9261 ปีที่แล้ว +2

      @@Ihavetoreturnsomevideotapes there is the community edition which is free.

  • @Darwho
    @Darwho ปีที่แล้ว +1

    Amazing, love it ! I am a student and your policy of free licences for us is a bliss to me.
    And it's very smart from your company, because it shows what is the gold standard for this industry.
    I am convinced I will buy the full 650$ year licence in the future. Keep up the good work !

  • @raghavanaliassaravananm1546
    @raghavanaliassaravananm1546 3 ปีที่แล้ว +1

    A very useful video for the beginners. Thank you Trisha for the very good screen cast I am sure it would be a catalyst to spread the love for Intellij IDEA :)

  • @crazyconan28
    @crazyconan28 4 ปีที่แล้ว +2

    Thank you for the cheatsheet in the description, overall this video was really helpful. I'm hoping one day soon I'll be able to navigate and program in Intellij without needing the mouse.

  • @daniel.valdivia
    @daniel.valdivia 4 ปีที่แล้ว +11

    This was amazing, thanks for doing this video, it's going to save a lot of time on my daily coding

  • @antonhen23
    @antonhen23 2 ปีที่แล้ว

    Thanks for onboarding tour! Great job!

  • @valcron-1000
    @valcron-1000 4 ปีที่แล้ว +102

    Mac: Cmd + T
    Windows: Ctrl + Shift + Alt + T
    Windows: Am I a joke to you?

    • @orkhanalikhanov
      @orkhanalikhanov 4 ปีที่แล้ว +2

      valcron1000 It was Ctrl + T (^T) on mac

    • @dream_emulator
      @dream_emulator 4 ปีที่แล้ว +1

      Yes

    • @abc_cba
      @abc_cba 4 ปีที่แล้ว

      😂

    • @Yena_394
      @Yena_394 4 ปีที่แล้ว +2

      that's why people say Mac is for dummies .

    • @eggling3427
      @eggling3427 3 ปีที่แล้ว

      just put refactor on ctrl R, spare me the pain of doing it myself haha

  • @giriNITT
    @giriNITT 4 ปีที่แล้ว +22

    Just now i am moving from eclipse to IntelliJ. this video is really use ful

  • @TimothyBrake
    @TimothyBrake 4 ปีที่แล้ว +2

    A useful feature would be: an “Eval” button of variables on the digital touch bar on a MacBook Pro when debugging. Currently right click mouse > select Eval

  • @johnreddyzhang
    @johnreddyzhang 4 ปีที่แล้ว

    This showed as an ad in my timeline but I do not regret clicking on it.

  • @user-jn1px7rp3h
    @user-jn1px7rp3h 4 ปีที่แล้ว +1

    Thank you very much, it was very informative!

    • @intellijidea
      @intellijidea  4 ปีที่แล้ว +1

      Thanks! Glad you've enjoyed it!

  • @yakupaydin1213
    @yakupaydin1213 2 ปีที่แล้ว

    thanks for all information

  • @prabhudeepsingh4236
    @prabhudeepsingh4236 4 ปีที่แล้ว

    Thank You!

  • @yakupSubasi
    @yakupSubasi 2 ปีที่แล้ว

    this video saves lives

  • @alielarfaoui4341
    @alielarfaoui4341 23 วันที่ผ่านมา

    Thank you

  • @no_fb
    @no_fb 4 ปีที่แล้ว

    Thanks for the video! One correction: in Linux, Alt+1 (or any number) doesn't work unfortunately - or it only does for qwerty keyboards. There aren't many problems with those IDEs though, they're really the best!

  • @xxxwang5574
    @xxxwang5574 11 หลายเดือนก่อน

    wonderful

  • @VibrantAmit
    @VibrantAmit 3 ปีที่แล้ว

    how do I move anywhere in the code without using the touchpad,I mean what are the shortcuts for that like we have VScode(using vim extension). Please do let me know if intelliJ have it too

  • @sobeyyy
    @sobeyyy 4 ปีที่แล้ว +5

    THANK YOU :)

    • @sobeyyy
      @sobeyyy 4 ปีที่แล้ว

      I am so glad you have a shortcut tool for VS. I have to use VS for work and now it's not so horrible with THE ReSharper tools. :)

  • @kasthuriraajan
    @kasthuriraajan ปีที่แล้ว

    Impressive !

  • @pockpicket9360
    @pockpicket9360 4 ปีที่แล้ว +2

    IntelliJ is just awesome

    • @intellijidea
      @intellijidea  4 ปีที่แล้ว +1

      Thank you for your kind words! We appreciate it.

  • @rishiraj2548
    @rishiraj2548 ปีที่แล้ว

    Thanks

  • @ranjeetkumar2051
    @ranjeetkumar2051 ปีที่แล้ว

    thank you very much for making this video very helpful ❤❤❤❤❤❤❤❤❤❤❤❤❤❤💕💕💕💕💕💕💕💕💕💕😘😘😘😘

  • @Unknown-hu4gf
    @Unknown-hu4gf 2 ปีที่แล้ว

    Hey, how do I get IntellJ IDEA to now hang and stutter when using it? Do I need a bigger CPU or something? I'm using a SSD and 32GB of RAM and my cpu is just a two core AMD, but it has a 3.4Ghz rating. And the thing just won't run smoothly! Are their configuration settings that I'm not using or something?

  • @ldmaciulaitis
    @ldmaciulaitis 4 ปีที่แล้ว

    Nice

  • @agusheryan2583
    @agusheryan2583 2 ปีที่แล้ว

    Sangat mendidik..bagus

  • @KienNguyen-mo3we
    @KienNguyen-mo3we ปีที่แล้ว

    Thank

  • @basheeral-momani2032
    @basheeral-momani2032 4 ปีที่แล้ว

    Refactor this is not working on my Ubuntu 18.04
    In fact all ctrl shift alt plus some letter always not working for me,
    ... I always have to search for it
    Please fix it

  • @zakuciael
    @zakuciael 4 ปีที่แล้ว +1

    There is so many useful tools, but I can't remember them all to even be able look for them... But I still love Intellij IDEA.

    • @zoltanraffay5038
      @zoltanraffay5038 4 ปีที่แล้ว

      I use a note for this.

    • @user-jn1px7rp3h
      @user-jn1px7rp3h 4 ปีที่แล้ว +4

      I would suggest you to try out 1-2, after you get used to them, use next ones.
      I do that way and probably remember hundred of shortcuts, but can't even remember sometimes one, while I don't do coding %)

    • @btgrant
      @btgrant 4 ปีที่แล้ว +1

      Check out the Key Promoter X plugin. When you're using the mouse, it can remind you of keyboard shortcuts associated with those actions.

  • @bishalsenhdri7655
    @bishalsenhdri7655 2 ปีที่แล้ว

    Shift + Ctrl + Enter
    How sweet you are :)

  • @dev-log
    @dev-log 4 ปีที่แล้ว +2

    What tools did you use to create this video?

    • @TrishaGee
      @TrishaGee 4 ปีที่แล้ว +2

      IntelliJ IDEA (obviously!) and Camtasia, on a MacBook Pro

  • @iljatarasovs4416
    @iljatarasovs4416 3 ปีที่แล้ว

    What is the cmd for font resize?

  • @satyad87
    @satyad87 4 ปีที่แล้ว +3

    Alt + 4 to bring up the logging console

  • @Leonidas_Jr
    @Leonidas_Jr 3 ปีที่แล้ว

    what is the shortcut to make a block of codes to comment line

  • @abhiroy5276
    @abhiroy5276 3 ปีที่แล้ว

    How to navigate between tabs on the IDE?

  • @christiantioye5171
    @christiantioye5171 4 ปีที่แล้ว

    I came here to learn how to hide that vertical line in the middle of the Jetbrains IDEs. In case anyone is wondering, you can turn it off by going to Settings>Editor>Color Scheme>General>Guides, then click on Hard wrap guide, then deselect Foreground and Save

  • @valantisalatsas7249
    @valantisalatsas7249 4 ปีที่แล้ว

    I use shortcuts heavily, came here to find more, wasn't disappointed

  • @ahmadfx8962
    @ahmadfx8962 4 ปีที่แล้ว

    please make clip about steps to generate jar file for javafx ...its very difficult to do it!!!

  • @sajithmadusanka2028
    @sajithmadusanka2028 3 ปีที่แล้ว

    What is the Run shortcut for windows ?

  • @soonukseol53
    @soonukseol53 4 ปีที่แล้ว

    How can I enable showing the keyboard shortcut input at the bottom of screen as I invoke the command?
    Like the option in Eclipse "show key binding when command is invoked."

    • @TrishaGee
      @TrishaGee 4 ปีที่แล้ว +1

      The video uses the Presentation Assistant plugin to show the shortcuts at the bottom. Another option is Key Promoter X which shows the keyboard shortcut if you use the mouse to invoke a command

    • @soonukseol53
      @soonukseol53 4 ปีที่แล้ว +1

      @@TrishaGee thank you so much!

  • @modraccin9514
    @modraccin9514 4 ปีที่แล้ว +1

    Thank you for the nice "presentation". I think the Ctrl+Alt+L shortcut is unfortunate, because it locks the screen on Ubuntu by default. That being said I think IntelliJ's keyboard shortcuts are extraordinarily well designed. Just like other parts of the IDE. I really like the consistency of it, compared to other software i have used (for example 10 years of going back and forth between netbeans and eclipse). I would say IntelliJ IDEA sticks out in the whole GUI software world and is a masterpiece of a well designed user interface, which doesn't get in your way. I could go on, but enough with the praise. :-) I would love to see an open source desktop application framework from Jetbrains.

  • @sunnysam69
    @sunnysam69 4 ปีที่แล้ว +1

    If you think it is difficult to remember predefined shortcuts, you have the option to change it as you like.

  • @mvs69
    @mvs69 ปีที่แล้ว

    6:50 I think these are changed now right? double tap shift it'' give you the same which much more easier and faster and this

  • @ozan546
    @ozan546 ปีที่แล้ว

    I was using ctrl + enter in vs code to go to line down. What is shortcut of it in intelij?

    • @hotcold8412
      @hotcold8412 ปีที่แล้ว +1

      ctrl shift enter?

  • @VishnuVardhan-fv2ip
    @VishnuVardhan-fv2ip 2 ปีที่แล้ว

    Small doubt with intellij...plz help anyone
    When Iam trying to run the program in the package which has another program with error. But the correct program is no way related to the error program.
    But when Iam trying to run correct program, it is showing error in wrong one.
    But iam only interested in correct one. Could any help how to come out of this error...

  • @user-tt6kc8iq2o
    @user-tt6kc8iq2o 4 ปีที่แล้ว +4

    Oh, My Jetbrains, I love you!!!

  • @daohu7247
    @daohu7247 3 ปีที่แล้ว

    cool

  • @CloroxBleach0
    @CloroxBleach0 4 ปีที่แล้ว

    intellij is epic

  • @nulledscripts
    @nulledscripts 2 ปีที่แล้ว

    how do i multi select files on intelij

  • @ManvendraSK
    @ManvendraSK 4 ปีที่แล้ว +4

    Didn't know about F2.

    • @royhonders
      @royhonders 4 ปีที่แล้ว +1

      This one is the best in big projects

  • @yasinmemic5525
    @yasinmemic5525 4 ปีที่แล้ว

    I have a problem.
    Normally, devtools dependency starts automatically the server when we any changed. I had used it in Eclipse.
    But, devtools dependency doesn't work in IntelliJ IDEA. Who knows a solution?

    • @A09550
      @A09550 ปีที่แล้ว

      You need to enable Compile on save by File -> Settings -> Build, Excecution and Deploylment -> Compiler and check Build project automatically

  • @antonioiovino9565
    @antonioiovino9565 3 ปีที่แล้ว +1

    A great IDE and a useful video, but honestly several default shortcuts would need an exorcist, they are really uncomfortable and outside of what is becoming a bit standard in various IDEs.
    Why this desire to diversify so much something as convenient as shortcuts?
    Eg:
    - CTRL + B better to have it to perform the Build (as the letter also suggests)
    - As well as CTRL + SHIFT + R for Refacoring. Why this hideous thing of Shift + Ctrl + Alt + T?
    etc.
    It's like someone one day decides to change Ctrl-C / Ctrl-V or Ctrl-S.

  • @davronsherbaev9133
    @davronsherbaev9133 4 ปีที่แล้ว +4

    Hey, why nobody uses alt + j? It saves tons of time when dealing with markup, or similar things)
    With ctrl+w, this tool becomes the most useful thing ever)

    • @lonerider5207
      @lonerider5207 4 ปีที่แล้ว

      +1 to alt+J (ctrl+G in mac)

  • @durgaprasadbehera9916
    @durgaprasadbehera9916 4 ปีที่แล้ว +3

    Nice video.
    Is there any shortcut to remove unnecessary white spaces?

    • @Quillraven
      @Quillraven 4 ปีที่แล้ว +2

      Isnt't autoformat (alt+l) removing them?

    • @durgaprasadbehera9916
      @durgaprasadbehera9916 4 ปีที่แล้ว

      @@Quillraven No, not completely.

    • @TrishaGee
      @TrishaGee 4 ปีที่แล้ว +2

      @@durgaprasadbehera9916 You can configure in the code style settings what counts as unnecessary whitespace. Then reformat should work for you

    • @durgaprasadbehera9916
      @durgaprasadbehera9916 4 ปีที่แล้ว

      @@TrishaGee Thanks!
      People don't maintain any standard for whit spaces in java, due to curly braces, which they can't do in python. Yes both the language have their own benefits.

  • @anilchoudhary7916
    @anilchoudhary7916 2 ปีที่แล้ว

    After pressing Ctrl + B, how can we go back to same place?

    • @shutanovac
      @shutanovac ปีที่แล้ว

      ctrl alt left arrow

  • @dinocajic
    @dinocajic 3 ปีที่แล้ว

    I'm surprised Ctrl + D didn't make the list to copy the current line

  • @OlegGolubev_yolo
    @OlegGolubev_yolo 4 ปีที่แล้ว +1

    shift+f6, ctrl+N, ctrl+shift+F/R are very usefull as well

    • @intellijidea
      @intellijidea  4 ปีที่แล้ว

      So true! They are really useful

  • @stratonov
    @stratonov ปีที่แล้ว

    shift command A, is inbuild macos command

  • @kamalhm-dev
    @kamalhm-dev 4 ปีที่แล้ว +2

    ctrl w for Windows while alt up/down for mac, this is discrimination

  • @aditya__mishraa__
    @aditya__mishraa__ 3 ปีที่แล้ว

    whats the shortcut for System.out.println();

  • @harinath_mishra
    @harinath_mishra 3 ปีที่แล้ว +1

    right Alt + enter dont work.
    but left + enter works fine.

  • @rishikaushik8307
    @rishikaushik8307 4 ปีที่แล้ว +1

    Respect to my dear 'ctrl + space' to which didn't make it in the list.

    • @TrishaGee
      @TrishaGee 4 ปีที่แล้ว +1

      Nope, not this video sorry. But it does feature in the Code Completion video.

  • @SelfMadeSystem
    @SelfMadeSystem 4 ปีที่แล้ว +2

    Mac and Windows are mentioned. What about linux? ;)

    • @PowzLP
      @PowzLP 4 ปีที่แล้ว +1

      Windows and linux shortcuts have the same defaults afaik

    • @trungphongtran
      @trungphongtran 4 ปีที่แล้ว

      intellij does not limit the shortcut profile for each OS. U can choose anything u want, or make your own shortcut profile

  • @Shivpratap883
    @Shivpratap883 3 ปีที่แล้ว

    How to customize your shortcut keys

    • @intellijidea
      @intellijidea  3 ปีที่แล้ว

      Check this: www.jetbrains.com/help/idea/configuring-keyboard-and-mouse-shortcuts.html

  • @truongdang9861
    @truongdang9861 3 ปีที่แล้ว

    1 day with 39,809 sloc :) I can't do it without IntelliJ IDEA.

  • @maxfun6797
    @maxfun6797 2 ปีที่แล้ว

    im disappointed my favorite shortcuts were not mentioned in this video.

  • @razvanbarbura5602
    @razvanbarbura5602 4 ปีที่แล้ว +1

    psvm + enter
    sout + enter

    • @TrishaGee
      @TrishaGee 4 ปีที่แล้ว +1

      Live templates are my favourite. I'm hoping we get a chance to do a video on them really soon. They don't class as shortcuts so they didn't make it into this video

    • @intellijidea
      @intellijidea  4 ปีที่แล้ว

      We recently published a video about live templates! Take a look if you haven't done it yet

  • @terrencetian368
    @terrencetian368 3 ปีที่แล้ว +1

    Why are there no Chinese subtitles? After all, there are the largest number of users from China.

  • @viruscmd1
    @viruscmd1 2 ปีที่แล้ว

    it is called option on mac not alt

  • @mondoshigua
    @mondoshigua ปีที่แล้ว

    🎄🇨🇴🧔🏻👍🏼🤝🏼💻👍🏼

  • @Cynbell07
    @Cynbell07 ปีที่แล้ว

    Why does she sound like Lara Croft VA from ps1