Menu

New feature for Find In Files

gri6507
2008-10-06
2012-11-13
  • gri6507

    gri6507 - 2008-10-06

    I'd like to request a new feature for the Find In Files results window. Can the results have syntax highlighting applied to them? This would be the same highlighting scheme that is appropriate the file type the result is for. Additionally, can the highlighting scheme be somehow amended for the search phrase itself?

     
    • George N

      George N - 2008-10-10

      Thanks, Y N.  I downloaded the file, and it is a great help. I only wish that the find dialogue box didn't disappear with any successful "Find in Files" search.  Oh well, I guess we can't have everything.  Thanks again.

       
    • Airdrik

      Airdrik - 2008-10-06

      I agree that this would be a really nice feature, that I've often found myself wanting (it should copy/paste the line As Highlighted in the file to the results pane, then use the Mark style to mark the find strings)

       
    • Y N

      Y N - 2008-10-07

      I think I've (partially) got what you are looking for:

      http://sourceforge.net/forum/message.php?msg_id=5311682

       
    • George N

      George N - 2008-10-07

      I suppose sytax highlighting would be a help if that's what you need to see.  For my use, it would be a great advantage if the search string were highlighted in the results window.  This would make it much easier to find certain strings in the stream of text that appears in this window, since it's not just the search string that appears, it's all of every line.
      Not that I'm complaining about that, mind you.  But often I am looking for a short string in a long line of text, and it isn't always easy to spot. I know that I can double click on a results line and it will take me to that spot in the corresponding file.  But sometimes I'm checking several hundred occurances in sixty or seventy files, which would make for a lot of clicking and moving.  Having the search string highlighted would be a real help.

       
      • Y N

        Y N - 2008-10-07

        In that case, I think I've also got what you are looking for:

        http://sourceforge.net/forum/message.php?msg_id=5311682