Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
465e4616
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
465e4616
编写于
1月 21, 2016
作者:
A
Achilleas Pipinellis
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add file finder documentation
[ci skip]
上级
3f7993b5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
43 addition
and
0 deletion
+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
未找到文件。
doc/workflow/README.md
浏览文件 @
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
浏览文件 @
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
浏览文件 @
465e4616
30.2 KB
doc/workflow/img/file_finder_find_file.png
0 → 100644
浏览文件 @
465e4616
41.7 KB
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录