View file system | Qt Creator Documentation

- Qt Creator Documentation
- View file system
- Qt Creator 19.0.1

View compile output ◦ View include hierarchy

# View file system

Use the File System view to see all the files in the current directory.

Note: Usually, searching with the locator is the fastest way to find a particular project, file, class, or function, or almost anything else in your project. Use the file system (f) filter to open files from anywhere in the file system.

To go to the root directory of the file system, select Computer in the menu (1). Select Home to go to the user's home directory. Further, you can select a project to go to an open project or Projects to go to the directory specified in Projects directory in Preferences > Build & Run > General.

To view files on a connected device, such as a Remote Linux or Android device, select the device in the menu.

The file that is currently active in the editor determines which folder to display in the File System view:

- Projects if the file is located in a subdirectory of the Projects directory
- Home if the file is located in the user's home directory
- Computer in all other cases

To stop the synchronization between the editor and the File System view, clear (Synchronize Root Directory with Editor).

The view displays the path to the active file as bread crumbs. You can move to any directory along the path by clicking it.

## File System context menu

Use the context menu functions to:

- Open files with the default editor or some other editor.
- Open a project located in the selected directory.
- Show the file or directory in the file explorer.
- Open a terminal window in the selected directory or in the directory that has the file. To specify the terminal to use on Linux and macOS, select Preferences > Environment > System. To use an internal terminal, select Preferences > Terminal > Use internal terminal.
- Search in the selected directory.
- View file properties, such as name, path, MIME type, default editor, line endings, indentation, owner, size, last read and modified dates, and permissions.
- Create new files. For more information, see Adding files.
- Rename existing files. To move the file to another directory, enter the relative or absolute path to its new location in addition to the new filename.
- Remove existing files.
- Create new folders.
- Compare the selected file with the currently open file in the diff editor. For more information, see Compare files.
- View the versioning history of a project directory. For more information, see git log.
- Display the contents of a particular directory in the view.
- Collapse all open folders.

## File System view toolbar

The toolbar in the File System view has additional options.

To manage view contents, select (Options):

- To hide the bread crumbs, clear Show Bread Crumbs.
- By default, the view separates folders from files and lists them first. To list all items in alphabetic order, clear Show Folders on Top.
- To also show hidden files, select Show Hidden Files.

To stop the synchronization with the file currently open in the editor, clear (Synchronize with Editor).

See also View CMake project contents and Projects.

View compile output ◦ View include hierarchy