Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
465e4616
Commit
465e4616
authored
Jan 21, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add file finder documentation
[ci skip]
parent
3f7993b5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
0 deletions
+43
-0
doc/workflow/README.md
doc/workflow/README.md
+1
-0
doc/workflow/file_finder.md
doc/workflow/file_finder.md
+42
-0
doc/workflow/img/file_finder_find_button.png
doc/workflow/img/file_finder_find_button.png
+0
-0
doc/workflow/img/file_finder_find_file.png
doc/workflow/img/file_finder_find_file.png
+0
-0
No files found.
doc/workflow/README.md
View file @
465e4616
...
...
@@ -6,6 +6,7 @@
-
[
GitLab Flow
](
gitlab_flow.md
)
-
[
Groups
](
groups.md
)
-
[
Keyboard shortcuts
](
shortcuts.md
)
-
[
File finder
](
file_finder.md
)
-
[
Labels
](
labels.md
)
-
[
Notification emails
](
notifications.md
)
-
[
Project Features
](
project_features.md
)
...
...
doc/workflow/file_finder.md
0 → 100644
View file @
465e4616
# File finder
_**Note:** This feature was [introduced][gh-9889] 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.
![
Find file button
](
img/file_finder_find_button.png
)
---
For the more lazy, there is a
[
shortcut button
](
shortcuts.md
)
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
][
ce
]
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.
![
Find file button
](
img/file_finder_find_file.png
)
[
gh-9889
]:
https://github.com/gitlabhq/gitlabhq/pull/9889
"File finder pull request"
[
fuzzy filter
]:
https://github.com/jeancroy/fuzzaldrin-plus
"fuzzaldrin-plus on GitHub"
[
ce
]:
https://gitlab.com/gitlab-org/gitlab-ce/tree/master
"GitLab CE repository"
doc/workflow/img/file_finder_find_button.png
0 → 100644
View file @
465e4616
30.2 KB
doc/workflow/img/file_finder_find_file.png
0 → 100644
View file @
465e4616
41.7 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment