diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-04 15:08:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-04 15:08:27 +0300 |
commit | 6724a6ee6b0898470e20f294f1328cc01891756a (patch) | |
tree | 64e5941568354ae4825f51788078362a4f189c64 /doc/user/project/code_intelligence.md | |
parent | 477c2c26047bc2d2da32b31eb8b26a6397675931 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/project/code_intelligence.md')
-rw-r--r-- | doc/user/project/code_intelligence.md | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/doc/user/project/code_intelligence.md b/doc/user/project/code_intelligence.md index 5a55913af29..f56673e69b7 100644 --- a/doc/user/project/code_intelligence.md +++ b/doc/user/project/code_intelligence.md @@ -39,38 +39,18 @@ The generated LSIF file must be less than 170MiB. After the job succeeds, code intelligence data can be viewed while browsing the code: -![Code intelligence](img/code_intelligence_v13_1.png) +![Code intelligence](img/code_intelligence_v13_4.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. +> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/235735) in GitLab 13.4. 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 |