Showing Live Templates in Code Completion in IntelliJ IDEA

IntelliJ’s Live Templates are great help while one’s in the flow of development. You probably know a few by heart however it’s not easy, nor practical, to remember all the shortcuts. Wouldn’t it be nice to have them shown in the code completion pop-up?

Live Templates shown in the Code Completion pop-up

Go to “Help -> Find Action…”

Screen Shot 2013-12-31 at 14.05.37

Ensure that “Include non-menu actions” are checked. Search for “registry” and select “Registry”.

Screen Shot 2013-12-31 at 14.07.11

Find “show.live.templates.in.completion” setting and enable it.

IntelliJ IDEA - Registry window

And voilĂ !

Happy New Year!

, , , ,

  1. Leave a comment

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: