Hotkeys "Create local variable in [x]" inconsistancies

When you start typing a variable name that hasn't been declared yet in a method, you can alt+enter to automatically introduce this variable as a parameter in the containing function/sub/constructor.
Depending of the context, the shortcut for selecting the right contextmenu item is either "p" when in constructor, "f" when in function or "s" when in a sub.

This is silly. The shortcut should always be "p" to denote you want to introduce a Parameter.

Can this be configured somehow?

2 comments
Comment actions Permalink

Hello Boris
     This is a known problem and I'm afraid this behavior cannot be configured at the moment. We'll try addressing this problem in one of the future releases.

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

Good to know it is on the radar.
Thx for your reply :)

0

Please sign in to leave a comment.