Community
Participate
Working Groups
When cursor is on a class name (except returning type and constructor definition), all occurrences of that class are highlighted, but not constructor definitions. Even when cursor is on a constructor call, the definition of callable constructor is not highlighted. Related problem: there is no special annotations (General->Editors->Text Editors->Annotations) for constructor occurrences. Special annotations can be useful to trace the creation of class, especially when you have a lot of code or no explicit constructor. So possible solutions are the following: 1) The 'write' annotation is applied to all constructor calls/definitions. The rest is the same as now. 2) If cursor is on the constructor call: a) The 'write' annotation is applied to definition/calls of called constructor; b) The 'read' annotation is applied to definitions/calls of all other constructors; c) everything else in not highlighted. Else: The same as solution 1. 3) Add totally new annotations: a) Constructor definition/calls occurrence for the constructor which is called at cursor position (if any); b) Constructor definitions/calls occurrence for all other constructors.