Action Procedure
Rename project files or folders.In the Files view, right-click the file, and then click
Rename.
Open project files. In the Files view, right-click the file, and then click
Open.
You also can double-click the file.
Preview project file contents
without opening the file.
In the Files view, select the file. The panel in the bottom
right of the Files view displays the file information and
labels. To restore the panel if it is minimized, click the
Restore button.
Delete a project file or folder. In the Files view, right-click the file, and then click
Delete.
Undo or redo an action
Click or at the upper right corner of the
toolstrip.
If you are using source control, you also can revert to a
particular version of a file or project. For more
information, see “Revert Changes” on page 31-58.
Automatic Updates When Renaming, Deleting, or Removing
Files
When you rename, delete, or remove files or folders in a project, the project runs a
dependency analysis to check for effects on other project files. When the analysis is
complete, the project displays the affected files. If you have not yet run a dependency
analysis on the project, the analysis may take some time to run. Subsequent analyses are
incremental updates, and so they run faster.
When renaming files, the project offers to automatically update references to the file.
Automatically updating references to a file when renaming prevents errors that result
from changing names or paths manually and overlooking or mistyping the name.
For example:
- When renaming a class, the project offers to automatically update all classes that
inherit from it.
Manage Project Files