Feature #9795
closed
Highlight all occurrences of pointed identifiers
Added by Evgeny Novikov over 5 years ago.
Updated about 3 years ago.
Description
Often users use standard browser search capabilities for highlighting all occurrences of pointed identifiers corresponding to, say, variable names. This is not convenient since several extra actions (copy, paste, select a highlighting option) are always required. I suggest to implement this feature for all identifiers of class SrcHlN (cross referenced identifiers that have specific connections will have other classes always).
At this point highlighting will not be semantic like at, say, https://code.woboq.org/linux/linux/net/core/dev.c.html#256str where exactly all occurrences of a given variable is shown since this needs corresponding knowledge from source code querying that is non-trivial to obtain.
- Description updated (diff)
- Target version set to 3.2
This feature is necessary more and more. I am not sure whether it will not be too hard for implementation, but I suggest to automatically highlight all occurrences of selected symbols not only identifiers with some special class. If this is not hard then highlighting should include both error traces and sources simultaneously (and nothing else).
- Target version changed from 3.2 to 3.3
- Due date set to 08/30/2021
- Status changed from New to Resolved
- % Done changed from 0 to 100
Implemented in branch "bridge-fixes". I've added a new button "Search selection" which highlights the first found word of selection (words are separated by space symbols).
- Status changed from Resolved to Closed
Works great! I picked the commit to master b611970d1d9e. Everybody is welcome to use a new feature!
- Status changed from Closed to Open
It would be great to add the same capability at representation of code coverage reports for Safes and Unknowns.
- Status changed from Open to Resolved
Implemented for safes and unknowns in branch bridge-9795.
- Status changed from Resolved to Closed
Perfect! I merged the given branch to master in 4c410d3a9.
Also available in: Atom
PDF