public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
From: Mo DeJong <mdejong@cygnus.com>
To: sourcenav@sourceware.cygnus.com
Subject: Re: Selecting files in Project Manager
Date: Fri, 12 Jan 2001 12:31:00 -0000	[thread overview]
Message-ID: <Pine.SOL.3.91.1010112122346.8118G-100000@cse.cygnus.com> (raw)
In-Reply-To: <3A5F60A6.B68EB4F8@nrc.ca>

On Fri, 12 Jan 2001, Marta Stojanovic wrote:

> Hi all !
> 
> This must be a stupid question, but I'll go with it anyway :
> 
> I would like to select only .h files from a project full of .cpp, .c and
> other files that I'm not interested right now. When creating a project I
> have either an option to add files or to add directories. If I add .h
> files one by one it would be very time-consuming and error-prone. If I
> add a project directory with all subdirectories, I end up with all the
> files. I am able to choose only .h files by typing "*.h" in the
> "pattern" text-field, but when I click OK, it parses all the files,
> nevertheless.
> 
> Is there a simple way to choose just one file extension, so that I can
> be certain that database files contain only the information from .h
> files and not the whole project ?
> 
> Thanks in advance.
> 
> Kind regards,
> Marta.

You have two options. You could create the db with only .h files
in it or you could just load all the files and use a "view" that
only holds the .h file.

The first option can be done like so:

% cd $THE_TOP_DIR
% find `pwd` -name "*.h" > dot_h.list

% snavigator --create --import dot_h.list

The second option can be done from the
project editor. You type a view name
like "dot_h" into the "View" box and
hit enter. That will create a new
view that you can delete the
other files from.

Mo DeJong
Red Hat Inc

  reply	other threads:[~2001-01-12 12:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-12 11:49 Marta Stojanovic
2001-01-12 12:31 ` Mo DeJong [this message]
2001-01-12 12:53 ` How to use Views [Was: Selecting files in Project Manager] Ian Roxborough

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SOL.3.91.1010112122346.8118G-100000@cse.cygnus.com \
    --to=mdejong@cygnus.com \
    --cc=sourcenav@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).