Skip to main content

GitHub Repositories and Search

Templates

Examples & Guides

Custom Games

Tools

Misc

GitHub Code Search (Docs)

The search function on GitHub has some very handy features to find code.

FilterSyntaxExample
Languagelanguage:languageSendEventClientSide language:JavaScript (Link)
Repositoryrepo:username/reponameAddFOWViewer repo:EarthSalamander42/dota_imba (Link)
Pathpath:your/pathFindAllByClassname path:game/scripts/vscripts/ (Link)
Useruser:usernameListenToGameEvent user:ModDota (Link)
Boolean OperatorsOR
AND
NOT
CastAbilityNoTarget (language:Lua OR language:TypeScript) (Link)
CastAbilityNoTarget NOT path:.d.ts (Link)
Wildcard Characters. , : ; / \ ` ' " = * ! ? # $ & + ^ \| ~ < > ( ) { } [ ] @
No escaping support
FindAllByClassname path:game/scripts/vscripts/*.lua (Link)

And yes, the filters can of course be combined.