Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-14 15:10:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-14 15:10:01 +0300
commita42fc481401fd6c4900b79125c446c7e4c1c572e (patch)
tree14e330063a4448c18bbc57b54cb89016e312a19c /doc
parent798c6d58c63d37b6b067b18111cb55617a6ea0e3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r--doc/user/project/code_intelligence.md30
-rw-r--r--doc/user/project/img/code_intelligence_find_references_v13_3.pngbin0 -> 40239 bytes
2 files changed, 30 insertions, 0 deletions
diff --git a/doc/user/project/code_intelligence.md b/doc/user/project/code_intelligence.md
index a4b64b074ad..be34053cdc7 100644
--- a/doc/user/project/code_intelligence.md
+++ b/doc/user/project/code_intelligence.md
@@ -42,6 +42,36 @@ After the job succeeds, code intelligence data can be viewed while browsing the
![Code intelligence](img/code_intelligence_v13_1.png)
+## Find references
+
+> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/217392) in GitLab 13.2.
+> - [Became enabled by default](https://gitlab.com/gitlab-org/gitlab/-/issues/225621) on GitLab 13.3.
+> - It's enabled on GitLab.com.
+
+To find where a particular object is being used, you can see links to specific lines of code
+under the **References** tab:
+
+![Find references](img/code_intelligence_find_references_v13_3.png)
+
+### Enable or disable find references
+
+Find references is under development but ready for production use.
+It is deployed behind a feature flag that is **enabled by default**.
+[GitLab administrators with access to the GitLab Rails console](../../administration/feature_flags.md)
+can opt to disable it for your instance.
+
+To disable it:
+
+```ruby
+Feature.disable(:code_navigation_references)
+```
+
+To enable it:
+
+```ruby
+Feature.enable(:code_navigation_references)
+```
+
## Language support
Generating an LSIF file requires a language server indexer implementation for the
diff --git a/doc/user/project/img/code_intelligence_find_references_v13_3.png b/doc/user/project/img/code_intelligence_find_references_v13_3.png
new file mode 100644
index 00000000000..415fe86cc75
--- /dev/null
+++ b/doc/user/project/img/code_intelligence_find_references_v13_3.png
Binary files differ