Code search : just give one result per occurrence + occurrence count (instead of line numbers)

  • 12 November 2019
  • 0 replies

Userlevel 3
Badge +7

Code search returns each occurrence of the search term as a result, showing 23 results for two templates that only differ in the line numbers. Clicking one of the results does often show the template, but does not jump to the line number that is mentioned.

Often I only need to know the templates (or other objects) that contain the search term; as ‘code search’ does not allow editing or generating code without opening it in an editor, I have to open the underlying object anyway.

For me it would be handy to have a single line per object result, and instead of a line number, a count of the number of occurrences.

I imagine the change would be minimal, only involving a group by and a count.

0 replies

Be the first to reply!