Source Insight Add and Remove Project Files

来源:互联网 发布:韩春雨方舟子知乎 编辑:程序博客网 时间:2024/05/17 01:09

Add and Remove Project Files Dialog Box


File Name

Type the name of the file you want to add or remove in this text box. The lists will be matched automatically with what you type. You can type a wildcard and press Enter to filter the file list to show only those files that match the wildcard. You can also type a full directory path, or a drive letter followed by a colon to switch the current directory.

Directory List

Contains a directory tree of the current drive. If you select a directory name in this list box, the File Name list will show what is in that directory. The current working directory and wildcard filter, if any, is displayed above the list box.

File Name List

Contains a list of all files in the currently selected directory. If you select a file from this list box, the file name is loaded into the File Name text box. This list box will not display files that are already part of the project.

Project Files List

Lists all the files currently added to the project. You can select files from this list and click the Remove… buttons to remove the files from the project.

Close

Closes the dialog box, keeping the changes you made.

Add

Adds the selected file(s) to the project. If a directory is selected, then the current directory switches to that directory.

Add All

Selects all the items in the File Name list and adds them to the project. If any directories are included, then their contents are added too. Source Insight will prompt you first to see if you want to include the directories.

Add Tree

Click Add Tree to add a whole source tree to your project.

When a directory is selected, this adds the whole directory tree to the project. That is, all the directories in the sub tree are scanned for files that match known document types, and they are added to the project.

Remove Tree

When a directory is selected, this removes all files found in that directory tree.

Show only known document types

Only files that belong to known document types are included in the file list. Furthermore, only document types that have the “Include when adding to project” option enabled are included. You can change the known document types with the Document Options command.

If not checked, then all file types are listed in the File Name list.

Remove File

Removes the file(s) selected in the Project Files list.

Remove All

Removes all files from the project. The project will be empty.

Remove Special…

Brings up the Remove File dialog box, which allows you to do special remove operations, such as removing all *.h files.

Add from list…

Brings up the Add File List dialog box. This asks you to specify an input text file that contains a list of files and directories to be added to the project. 


0 0