Project

General

Profile

Actions

Feature #9795

closed

Highlight all occurrences of pointed identifiers

Added by Evgeny Novikov over 5 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Category:
Bridge
Target version:
Start date:
08/22/2019
Due date:
08/30/2021
% Done:

100%

Estimated time:
Published in build:

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.

Actions #1

Updated by Evgeny Novikov over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Evgeny Novikov over 3 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).

Actions #3

Updated by Evgeny Novikov over 3 years ago

  • Target version changed from 3.2 to 3.3
Actions #4

Updated by Vladimir Gratinskiy about 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).

Actions #5

Updated by Evgeny Novikov about 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!

Actions #6

Updated by Evgeny Novikov about 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.

Actions #7

Updated by Vladimir Gratinskiy about 3 years ago

  • Status changed from Open to Resolved

Implemented for safes and unknowns in branch bridge-9795.

Actions #8

Updated by Evgeny Novikov about 3 years ago

  • Status changed from Resolved to Closed

Perfect! I merged the given branch to master in 4c410d3a9.

Actions

Also available in: Atom PDF