IntelliJ Tip of the Day says: "When using Code Completion, you can accept the currently highlighted selection in the popup list with ⇥ key. Unlike accepting with the ⏎ key, the selected name will overwrite the rest of the name to the right of the caret. This can be especially useful for replacing one method or variable name with another."
What exactly is ⇥ key? Does it represent a combination?
Sometimes code formatting can get out of sync, but there's an easy fix in IntelliJ IDEA. You can use ⌘⌥L (macOS), or Ctrl+Alt+L (Windows/Linux) to reformat a selection of code according to your reformat settings.
If there's an error in the code, pressing ⌥⏎ (macOS), or Alt+Enter (Windows/Linux), can suggest options that will make the code compile. If there's a warning, IntelliJ IDEA will show you what the warning is, and may offer one or more suggestions on how to fix that warning.
From the main menu, select Code | Generate Alt+Insert to open the popup menu with available constructs that you can generate.
⇥ Is the Tab key.
More Tips/Tricks can be found at IntelliJ's youtube channel
https://www.youtube.com/watch?v=eq3KiAH4IBI
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With