文件查找器

Introducedin GitLab 8.4.


The file finder feature allows you to quickly shortcut your way when you are searching for a file in a repository using the GitLab UI.

You can find theFind Filebutton when in theFiles部分的一个项目。

Find file button


For those who prefer to keep their fingers on the keyboard, there is ashortcut buttonas well, which you can invoke fromanywherein a project.

Presstto launch the File search function when inIssues,Merge requests,Milestones, even the project's settings.

Start typing what you are searching for and watch the magic happen. With the up/down arrows, you go up and down the results, withEscyou close the search and go back toFiles.

How it works

The File finder feature is powered by theFuzzy filterlibrary.

It implements a fuzzy search with highlight, and tries to provide intuitive results by recognizing patterns that people use while searching.

For example, consider theGitLab CE repositoryand that we want to open theapp / controllers /admin/deploy_keys_controller.rbfile.

Using fuzzy search, we start by typing letters that get us closer to the file.

Protip:To narrow down your search, include/in your search terms.

Find file button

Baidu
map