Bug 72464 - Adding syntax highlighting for "Search in Files" results?
Summary: Adding syntax highlighting for "Search in Files" results?
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: grepview (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: 1.3.0
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 08:07 UTC by Jose Hernandez
Modified: 2013-03-31 01:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.