GitHub Repositories and Search
Templates
Examples & Guides
Custom Games
Tools
Misc
Code Search
The search function on GitHub has some very handy features to find code.
Filter | Syntax | Example |
---|---|---|
Language | language:language | SendEventClientSide language:JavaScript (Link) |
Repository | repo:username/reponame | AddFOWViewer repo:EarthSalamander42/dota_imba (Link) |
Path | path:your/path | FindAllByClassname path:game/scripts/vscripts/ (Link) |
User | user:username | ListenToGameEvent user:ModDota (Link) |
Boolean Operators | OR 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.