Community
Participate
Working Groups
Quite often I want to select some text in Java and make it parameter of the method. So I wrote the following template. ${cursor}${method}(${word_selection} It works ok, but I'd like to see a completion drop-down popup for the available method names in the current class. So, I sugest to add some more variables to the templates for Java editor: -- offer method names from the current class -- offer field names from the current class (should respect "this" setting) -- offer type names Probably it could be done in more generic way and authomatically open context-sensitive code completion.
The enhancement request is of course still valid, but please note that it is now possible to contribute your own variable resolvers to the Java editor template mechanism.
Variable resolvers for field, local vars and vars has been added (3.3).
*** Bug 232654 has been marked as a duplicate of this bug. ***
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.