The tab 'Clean' in the dialog
'Options' allows to modify file
protection and file deletion when using the command Clean Project
in the menu Build.
IMPORTANT NOTE:
Please be carefull when configuring this command. Deleting the wrong files
may cause loss of important data. While TeXnicCenter tries its best to
prevent deletion of work, it can not take any responsibility for that.
The meaning of the controls are:
- 'Edit entries'
- The entries in the list box below define the files to be deleted
or protected. Scroll through this list and click on an entry to edit
or remove it.
- There are two entries at the end of the list,
which can not be edited or removed. These two entries are used to
protect all files of the project and all files, which are currently
opened in the editor. Files recognized by TeXnicCenter as a part of
the project are shown on the tab FileView in the window
Navigation. This set may not include all files of the
current project.
- 'Add'
- Pressing this button adds a new entry to the list.
- 'Remove'
- Pressing this button removes the selected entry from the list.
- 'Sort'
- Pressing this button sorts the list of entries for a better
overview.
- 'Description'
- This edit box is used to change the description text of the
selected entry. This text does not mean anything to TeXnicCenter -
type here whatever helps to remind/explain the selected entry.
- 'Pattern'
- The text in this control defines a file or a set of files to act on
for the selected entry.
- It is allowed to use the same wildcards (* and ?) as known
from a Windows command line. Additionally, use
placeholders for single files and
placeholders for sets of files here.
The combination of wildcards with placeholders for single files is
supported, any other combination not.
Use the button on the right of the edit box to insert a
placeholder or type it in manually.
- 'Action'
- This control selects the action to be performed on the file(s)
defined by 'Pattern' for the selected entry.
The following actions are available:
- delete - The files defined by 'Pattern'
will only be deleted, if they are not protected by another entry
in the list.
- protect - The files defined by 'Pattern'
will be protected from deletion. If an entry defines a file to be
protected and another entry defines the same file to be deleted,
the file will be protected, i.d. the deletion entry will be ignored.
- none - The selected entry will not be used to build
up the lists for deletion or protection. Use this action, if an
entry should be deactivate.
- 'Include subdirectories'
- If selected, TeXnicCenter searches the subdirectories of the
active project for matching files defined by 'Pattern',
too. This refers to the selected entry.
- 'Confirm before delete'
- If selected, TeXnicCenter will show a dialog before deleting files.
This dialog lists all the files to be deleted and protected.
Clicking on the button Cancel will terminate the action.