38

Jetbrains IDE has this awesome shortcut ctrl + w that selects the entire word the caret is placed at. Ctrl + w on browsers closes tabs. I hope you understand my displeasure of this.

Comments
  • 0
    Been there. I think it's too late to change it in JetBrains's ecosystem (I'm too used to it), but I'm usually not writing code in a browser, so I'm less inclined to want to do that.
  • 0
    Resharper seemed to changed their Default shortcuts. I've been using it for 7+ years and Ctrl + w is my shortcut for selecting word boundaries.

    But when I installed on other devs machine it was set to ctrl +alt + left/right arrows.
  • 0
    If you're using chrome, ctrl+shift+T brings back your most recently closed tab
  • 0
    @Moldy so does Opera and vivaldi. Great Feature, saved me hundreds of times 😂
  • 0
    @moldy yeah on Firefox too, still annoying tough ;p
  • 0
    Had the same Problem, using the netbeans keysheme it closes the current tab
  • 0
    (Entirely useless and unintersting fact) Ctrl+w also selects the word on SSMS
  • 1
    Reading your first sentence as someone who haven't tried the IDE, I thought you were trolling lol
  • 0
    You can edit your keyboard shortcut preferences in JetBrains IDE. Customize it to your needs.
  • 0
    I would suggest changing to CTRL+F4 in your Browser. This may work for Chrome and FF and feels a bit like ALT+F4 which is nearly the same. Then you can stick with W in your IDE!
  • 0
    The problem is I've become too accustomed to both :( maybe I should try changing it, but ctrl + w is just such a nice combination
  • 0
    I remapped ctrl+w to "close tab" in Intellij, and wondered what shortcut to use for extending selection... But I remembered that I never use this, so fuck it.

    Seriously, you guys use this feature? Selecting a word is so quick with "ctrl+left, ctrl+alt+right". And selecting a block is so rare, I can accept to type a few more keys
  • 0
    @willol I sometimes select a block just to visualise things better.
  • 0
    @kamen doesn't that fuck up the syntax colors?
  • 0
    @willol Depends on the scheme. I'm using this one - https://plugins.jetbrains.com/plugi... - the default and the darker - and it just changes the background colour of the selected block, leaving the rest of the colours as they are. Just checked - even the default scheme (Darcula) keeps the colours when selecting stuff, it's just that the blue makes them harder to discern.
  • 0
    @kamen okay, that sounds like a valid reason!
Add Comment