Search code examples
gitlabgitlab-ce

How to search for code in all projects simultaneously?


I'm dealing with a GitLab Community Edition 13.10.1.
At the moment there are about a hundred small projects on this.

By selecting a project it is possible to search for specific code within all its files, but if instead I go to the GitLab search and select "Any" project, the "Code" tab is no longer visible.

enter image description here

Is there a way to do a code search, but within all the existing existing projects?


Solution

  • You can use GitLab Advanced Search to search for code if you are subscribed to the premium tier.

    Another option would be to use the opensource gitlab-search tool if you are using the community edition.