@gntech Sorry, didn't notice this bug report earlier (better to @techee me 
because I'm not subscribed to receive all the comments for the project). 

I would definitely support such a feature if anyone wants to implement it (on 
the other hand I probably won't have time for this myself). Some comments to 
such an implementation:

1. The glob patterns are necessary for "find in files" because grep can only 
use these for the `--include=` command line option. So one would have to 
synthesize a glob version that would be some approximation of .gitignore rules.

2. In order to have the modified files information, it will probably be 
necessary to rewrite the project file tree code completely. It is completely 
static now and only changes when you refresh the project. I wrote it this way 
because I needed it for a huge project and wanted it to be as fast as possible 
(and having the implementation as simple as possible). I think it's possible to 
preserve a good performance even when there's some file monitoring (this is 
something I'd really like to have preserved for the plugin) but it definitely 
won't be trivial to implement right.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/740#issuecomment-397277550

Reply via email to