Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the IntelliJ IDEA's Keymap's abbreviation feature useful for?

What is the "Abbreviation" feature in IntelliJ IDEA Keymap for? Web help on Keymap is silent about it.

IntelliJ Keymap abbreviation screenshot

like image 443
Konrad Jamrozik Avatar asked Dec 27 '13 17:12

Konrad Jamrozik


People also ask

What does Ctrl Alt l do in IntelliJ?

If you choose Code | Reformat Code from the main menu or press Ctrl+Alt+L , IntelliJ IDEA tries to reformat the source code of the specified scope automatically. For more details on how to reformat, or exclude files from formatting, refer toReformat code.


1 Answers

According to Andrey Dernov from JetBrains Support:

You use abbreviation added in keymap for quick search an action when "Search everywhere" (double Shift).

After adding "foobar" abbreviation to Git annotation command.

enter image description here

I can find the abbreviation and invoke the command with double Shift.

enter image description here

Unfortunately, the functionality does not support partial entry.

enter image description here

I personally find Shift-⌘-A easier to use in that case, because the results are limited to commands only.

PS: JetBrains support rocks!

Update: There was a follow-up from JetBrains:

The feature was recently added in IDEA, we haven't had time to update the documentation yet. We will do it in near future.

like image 182
kukido Avatar answered Oct 20 '22 04:10

kukido