
# Code Search

<TierCallout>
	Supported on [Enterprise Starter](/pricing/plans/enterprise-starter) and
	[Enterprise](/pricing/plans/enterprise) plans.
	<user>
		Available via VS Code and JetBrains editor extensions and the Web.
	</user>
</TierCallout>

<p className="subtitle">
	Learn how to search code across all your repositories and code hosts.
</p>

**Code Search** allows you to find, fix, and navigate code with any code host or language across multiple repositories with real-time updates. It deeply understands your code, prioritizing the most relevant results for an enhanced search experience.

<video
	width="1920"
	height="1080"
	loop
	playsInline
	controls
	style={{width: '100%', height: 'auto'}}
>
	<source
		src="https://storage.googleapis.com/sourcegraph-assets/Docs/Media/Sourcegraph%20Code%20Search.webm"
		type="video/webm"
	/>
</video>

Sourcegraph's Code Search empowers you to:

-   Utilize regular expressions, boolean operations, and keyboard shortcuts to help you unleash the full potential of your searches
-   With the symbol, commit, and diff search capabilities, it identifies code vulnerabilities in milliseconds and quickly helps you resolve issues and incidents
-   Offers innovative code view with seamless code navigation for a comprehensive coding experience

## Getting started

<LinkCards>

<LinkCard
	href="https://sourcegraph.com/contact/request-info?form_submission_source=pricing-enterprise"
	imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/sg-new-logo.svg"
	imgAlt="Sourcegraph"
	title="Get single-tenant instance managed by Sourcegraph."
	description="Sign up and get a 30 day free trial for your team."
/>

</LinkCards>

<QuickLinks>

<QuickLink
	title="Search Query Syntax"
	icon="lightbulb"
	href="/code-search/queries"
	description="Learn about the search pattern syntax and filters available for Code Search."
/>

<QuickLink
	title="Search Examples"
	icon="theming"
	href="/code-search/queries/examples"
	description="Learn about some common search use cases and examples."
/>

<QuickLink
	title="Features"
	icon="presets"
	href="/code-search/features"
	description="Learn about the core search features."
/>

<QuickLink
	title="Advanced Features"
	icon="installation"
	href="/code-search/working/saved-searches"
	description="Learn about advanced features like saved searches and search contexts."
/>

</QuickLinks>

## Features

Code Search main features include:

-   Use [query assist](/code-search/query-assist) to search with natural language
-   Use regular expressions and keyword queries to perform full-text searches
-   Search any branch and commit, with no indexing required
-   Search [commit diffs](/code-search/features#commit-diff-search) and [commit messages](/code-search/features#commit-message-search) to see how code has changed
-   Narrow your search by repository and file pattern
-   Use [search contexts](/code-search/features#search-contexts) to search across a set of repositories at specific revisions
-   Curate [saved searches](/code-search/features#saved-searches) for yourself or your org
-   Use [code monitoring](/code-monitoring/) to set up notifications for code changes that match a query
-   View [language statistics](/code-search/features#statistics) for search results

<Callout type="note">
	{' '}
	Read more in detail about the [Code Search features here →](/code-search/features)
</Callout>

<Callout type="note">
	Check out the [Code Search FAQs here →](/code-search/faq)
</Callout>


## Architecture

Learn about how Code Search fits into Sourcegraph in the [architecture overview](/admin/architecture#code-search).
