~/talk

10 Code Search Tricks for Open Source Contributors and Maintainers

slides:none on file

A practical walkthrough of 10 search tricks using Sourcegraph Cloud shows concrete queries: file filters for CONTRIBUTING.md and composer.json to find welcoming projects, repo: and file: searches that list thousands of repos using a dependency, regex and structural searches that find instantiations or deprecated calls like mhash, audits for exposed keys and compromised packages (many projects fixed the package but stale logs remain), and a VS Code extension for in-IDE searching that returns immediate, reproducible results.

AI-written summary · about

  1. 0:00Code search tricks
  2. 2:21Contributor-friendly projects
  3. 3:45Projects matching expertise
  4. 5:33Projects using your library
  5. 6:59Usage examples for libraries
  6. 9:32Auditing for exposed secrets
  7. 10:38Detecting compromised dependencies
  8. 13:06Vulnerable dependency versions
  9. 14:29Enforcing coding standards
  10. 16:34Recent framework changes
  11. 17:57Deprecated function calls
  12. 20:05Searching your repositories
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.