Community
Participate
Working Groups
ICodeAssist.codeSelect(...) on local variables returns the local's type not the local itself. Should it be UI responsibility to deceide what to do when asking for code assist on locals. The concrete case: we are using code assist to convert a selection into a java element to activate an action that can work on that java element (for example a rename refactoring). Selecting a local variable and doing so pops up the rename type wizards which looks a little but strange for locals. NOTES: PM (9/26/2001 10:52:22 AM) Code selection answers Java elements. There is no element for a local variable, thus we answer the variable type. EG (26.09.2001 11:35:08) Answering the variable type is good when you want to do an open on selection, but it is problematic for the refactoring from a code selection described above. Changed the PR into a DCR that code select should return additional information for local variables. There should at least be info that the selection is a local variable. A workaround is that we use the AST instead of code select to find out what is selected. PM (9/26/2001 3:11:06 PM) Along the same path, we should be able to surface local types and their members as well.
PRODUCT VERSION: 202
Defer
reopen
pls double check and dispose
Double checked. *** This bug has been marked as a duplicate of 37509 ***