Discussion:
[Notepad-plus-plus] [notepad-plus - Open Discussion] extension filter in "find in files" dialogue
SourceForge.net
2009-07-16 02:52:20 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7505628
By: richo25

Hi
Quite often I'm writing code that uses c and cpp files, and I would like
to be searching across al c, cpp h, etc files. I'm forever having to select
a combined filter from the drop down list in which I added *.c to the standard
c++ search filters.
It seems every time you switch to a different file the filter selection box
changes back to the default for that files extension. I can understand why but
still frustrating. Could an option be placed somewhere to stop this behaviour?
or is there a place somewhere where these default search filters can be changed?
I've changed the langs.xml files to give all of the extensions (c h hpp hxx
cpp cxx cc) to both the c and cpp types, and this seems to have fixed the filter
issue, but is this the correct thing to do?? Because now every time I load a
c file into the editor it ends up setting the language options to c++ ( which
I can kind of live with), though if I leave the file in there and change the
language for the c file to c from the list and then close and reopen np++ it
seems to magically remember that I changed it to c...
Could we perhaps add another entry into the xml for each file extension to
specify a filter list for each known file type?? eg another optional xml entry..
This would really help for finding across multiple extensions, other examples
might be php html and xml searching.. there are elements of an overall webpgae
spread across all those extensions and you want to search across them all to
find something..

Cheers
Richard

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331753
SourceForge.net
2009-07-16 05:41:13 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7505802
By: richo25

Hi
Quite often I'm writing code that uses c and cpp files, and I would like
to be searching across al c, cpp h, etc files. I'm forever having to select
a combined filter from the drop down list in which I added *.c to the standard
c++ search filters.
It seems every time you switch to a different file the filter selection box
changes back to the default for that files extension. I can understand why but
still frustrating. Could an option be placed somewhere to stop this behaviour?
or is there a place somewhere where these default search filters can be changed?
I've changed the langs.xml files to give all of the extensions (c h hpp hxx
cpp cxx cc) to both the c and cpp types, and this seems to have fixed the filter
issue, but is this the correct thing to do?? Because now every time I load a
c file into the editor it ends up setting the language options to c++ ( which
I can kind of live with), though if I leave the file in there and change the
language for the c file to c from the list and then close and reopen np++ it
seems to magically remember that I changed it to c...
Could we perhaps add another entry into the xml for each file extension to
specify a filter list for each known file type?? eg another optional xml entry..
This would really help for finding across multiple extensions, other examples
might be php html and xml searching.. there are elements of an overall webpgae
spread across all those extensions and you want to search across them all to
find something..

Cheers
Richard

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331753
SourceForge.net
2009-07-16 09:48:21 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7506262
By: cchris

Use the "Follow doc" checkbox on the dialog box. You can also tweak config.xml
if you want distinct behaviour from the folder and filte combo boxes.

CChris

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331753
SourceForge.net
2009-07-24 05:17:40 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7525006
By: richo25

Hi
Um I'm not sure where this "follow doc" checkbox is you talk about. There
is no such thing in the "find in files" dialogue v5.3.1.

My point was it extremely frustrating that the filter box always changes depending
on the file type.
I'd love a search all know source files checkbox for example.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331753
SourceForge.net
2009-07-24 09:11:31 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7525389
By: cchris

Upgrade to 5.4.5 and you'll find the "Follow doc" checkbox, along with the Hidden
dirs? and In subfloders options. You wwill do away with some crashes on the way.

CChris

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331753
SourceForge.net
2009-07-24 09:18:49 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7525402
By: richo25

Hi
Um I'm not sure where this "follow doc" checkbox is you talk about. There
is no such thing in the "find in files" dialogue v5.3.1.

My point was it extremely frustrating that the filter box always changes depending
on the file type.
I'd love a search all know source files checkbox for example.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331753
SourceForge.net
2009-07-24 09:19:50 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7525403
By: richo25

hmm oops ignore... did a refresh of the page after posting the message and it
sent it again.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331753
SourceForge.net
2009-07-24 09:27:25 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7525411
By: richo25

hmm the check for updates thing in notepad++ help menu didn't find that revision
as available.
I've grabbed it directly from the webpage now though.. Will give it a crack.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331753

Loading...