Bug 72464

Summary: Adding syntax highlighting for "Search in Files" results?
Product: [Developer tools] kdevplatform Reporter: Jose Hernandez <code>
Component: grepviewAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED INTENTIONAL    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: 1.3.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jose Hernandez 2004-01-12 08:07:53 UTC
Version:           unknown (using KDE 3.1.94 (CVS >= 20031206), compiled sources)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
OS:          Linux (i686) release 2.6.0-gentoo

How about adding syntax highlighting for the results of "Search in Files" results? I think that for searching the KDE CVS for identifiers, and similar broad searching of sources, this would be very useful to easily scan through the returned code results of many source files.
Comment 1 Jens Dagerbo 2004-02-02 20:02:46 UTC
No, I can't see this happening. I won't attempt to implement it and frankly, I can't see anyone else adding this to the current design.

The grep plugins runs "find | grep" in a child process and returns the results. Implementing syntax highlighting would need concurrent access to all the files returned to determine mimetype and while alot of the needed code could probably be borrowed from Kate, this would quite clearly make the whole procedure alot slower and more complex.

It's a nice wish, sure, but it borders on "pipe dream". The marginal functional improvement simply doesn't justify the complexity of the solution.

Of course, anyone is welcome to try to prove me wrong. :)

Closing as WONTFIX.