Announcement

Collapse
No announcement yet.

file filter limitation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Aaron
    replied
    Thanks for coming back and posting the solution, Dick.

    Leave a comment:


  • Aaron
    replied
    Just to clarify, Dick was able to perform the filter he was looking for by using
    "abc.cpp;abc.h"
    If entered from the Session Settings dialog, each item would be on a line:
    abc.cpp
    abc.h

    For more syntax information, click the '?' button next to the Close 'X' button on the Filter tab. This will take you directly to the Filters chapter in our Help file, with links to other information such as File Name Masks.

    Leave a comment:


  • dickdunbar
    started a topic file filter limitation

    file filter limitation

    Ooops, never mind. I found the answer. Remove the "+" from the second item.
    abc.cpp;abc.h


    File Filters

    You can specify the type of files you want to include in (or exclude from) the session. For instance, if you are comparing Delphi projects you could include file types such as *.pas, *.dfm, and *.dpr. Or, you could include all files except *.dcu and *.~* by excluding these file types.

    To specify a simple "include these types" filter, use the Filters field on the toolbar. Enter the file types separated by semicolons, or use the dropdown to select from presets. Include a minus sign (-) in front of files to be excluded.


    The examples given work, but suppose I don't need wild cards,
    and want to name the files explicitly. For example:

    abc.cpp;+abc.h
    The file abc.cpp is displayed, but not abc.h.

    Why would I want such a filter?

    The file "abc.h" appears in multiple subdirectories, and I want to find these files but not header files in general (*.h)

    ----
    This is an attempt to provide a partial solution for item (4) in this post:

    http://www.scootersoftware.com/vbull...ead.php?t=5574
    Last edited by dickdunbar; 24-Feb-2010, 05:29 PM.
Working...
X