Expression Evaluation window - support Live Templates ?

How about Expression Evaluation window will support Live Templates ?
For example, I'm forced to type expression like "FacesContext.getCurrentInstance().getExternalContext().getRequestMap()" to see current request scope.

If instead I could type "rm" (meaning "request map") and then press Tab, Enter - that would be much more faster to do the same.

Don't you think ?

4 comments
Comment actions Permalink

Sure, there' a history available with Alt+Down but it gets cleaned up in .. I'm not sure .. different debug sessions ? So it's not always helpful. Or may be some expressions may be marked as "persistent" so that they'll always appear in History even after IDEA is restarted ? Kind of "Favorites" for expressions ..

0
Comment actions Permalink

Hmm .. Nobody thinks it's a good idea ?

0
Comment actions Permalink

You can switch your Evaluate Expression dialog into code fragment mode
and use live templates there.

Evgeny Goldin wrote:

Hmm .. Nobody thinks it's a good idea ?


--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

That's an option, right. But then pressing Enter doesn't makes expression evaluate (or I need to switch back) .. If Live Expressions were supported right away without switching to Code Fragment mode - I think it would be much more comfortable. But that's just me, you know.

0

Please sign in to leave a comment.