DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for 15 Days Of Code Search
Prosper Otemuyiwa for Sourcegraph

Posted on

15 Days Of Code Search

Recently, I did a #15DaysOfSearch Twitter campaign to show developers how they can optimize their workflow by mastering code search on sourcegraph.com.

Here's the recap from Day 1 to Day 15:

Day 1

Day 2

Day 3

Day 4

Day 5

Day 6

Day 7

Day 8

Tweet: How to discover projects and repos by checking if they have specific files in them using the β€œrepo:contains.file()” filter.

Day 9

Tweet: How to perform structural search queries.

Day 10

Tweet: How to limit results to display only the repos involved by using the select:repo filter.

Day 11

Tweet: Search contexts on Sourcegraph.

Day 12

Tweet: How to search archived repositories.

Day 13

Tweet: How to search forked repositories.

Day 14

Tweet: How to perform case sensitive searches on Sourcegraph. By default, all searches are case insensitive.

Day 15

Tweet: How to save search, export search results and proactively monitor changes to codebase via Sourcegraph code monitor.

Wrapping Up

Sourcegraph users report an average of 30mins a day saved by using code search. The knowledge of Sourcegraph code search tips and tricks arms you with the confidence to move fast in any codebase.

Sourcegraph Cloud is not the only option to add, explore private code and use search contexts. Sourcegraph can be installed in different ways to give you advanced search features for your private code.

You can run Sourcegraph locally or opt-in for us to set up a managed Sourcegraph instance for your team. You'll be able to use a self-hosted Sourcegraph instance for free (up to 10 users).


Have suggestions or questions? Leave a comment, or join our Community Slack Space where our team will be happy to answer any questions you may have about Sourcegraph.

Top comments (0)

Let's team up together 🀝

We're Hiring

We're hiring for a Senior Full Stack Engineer to join the DEV team. Want the deets? Head here to learn more about who we're looking for.