Feature #9795
closedHighlight all occurrences of pointed identifiers
100%
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.
Updated by Evgeny Novikov almost 4 years ago
- 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).
Updated by Evgeny Novikov over 3 years ago
- Target version changed from 3.2 to 3.3
Updated by Vladimir Gratinskiy over 3 years ago
- 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).
Updated by Evgeny Novikov over 3 years ago
- Status changed from Resolved to Closed
Works great! I picked the commit to master b611970d1d9e. Everybody is welcome to use a new feature!
Updated by Evgeny Novikov over 3 years ago
- 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.
Updated by Vladimir Gratinskiy over 3 years ago
- Status changed from Open to Resolved
Implemented for safes and unknowns in branch bridge-9795.
Updated by Evgeny Novikov over 3 years ago
- Status changed from Resolved to Closed
Perfect! I merged the given branch to master in 4c410d3a9.