[ci skip]
1.5 KiB
File finder
Note: This feature was introduced in 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 the Find File button when in the Files section of a project.
For the more lazy, there is a shortcut button as well.
Go the Files section of a project and press t
on your keyboard to launch
the search function. Start typing what you are searching for and watch the
magic being unfold. With the up/down arrows, you go up and down the results,
with Esc
you close the search and go back to Files.
How it works
The File finder feature is powered by the Fuzzy filter library.
It implements a fuzzy search with highlight, and tries to provide intuitive results by recognizing patterns that people use while searching.
For example, consider the GitLab CE repository and that we want to open
the app/controllers/admin/deploy_keys_controller.rb
file.
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.