Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

What's the shortcut to do this in intelliJ IDEA?

to select all the white spaces between two consecutive words. If there is huge space gap between two consecutive words, I want to select the white space in between so that I can delete it.

1 Answer

Relevance
  • ?
    Lv 7
    4 years ago

    You should be able to select it by double clicking it, but IDEA should have an auto-format shortcut, too.

    Try pressing Ctrl+Alt+L to indent your code and remove whitespace.

Still have questions? Get answers by asking now.