Community
Participate
Working Groups
20050111: The java editor double click strategy on referenced annotations automatically selects the '@' plus leading whitespaces. The action "Open Declaration" cannot be used anymore after having double-clicked on an annotation reference, since code select takes the '@' into account. The suggestion is therefore to select the reference annotation name only.
I talked with Martin about this and he agrees that F3 (i.e. codeSelect(...) should also work in cases like that. And also here: <caret>@ myAnnotation Martin also said the AST node contains the full range (@...myAnnotation).
The @ must be within the source range of an annotation. Code select should work only on the annotation name. @ is not part of the name. I don't find this behavior wrong at all. I am using build I20050104-1600 and it works as I expect it to work.
comment 0: 20050111
I also think that code select could be friendly and also accept the '@' as part of the annotation. Note that the AST annotation node hase a range that starts from the '@'. 'myAnnotation' is a name that is part of the annotation.
David - is this still an issue ?
*** This bug has been marked as a duplicate of 86971 ***