Search in code is important
Search is a simple but effective method of navigation in code. It's less smart than go-to-definition or another code-aware method because treats code just as text, but it's used more often.
Why we search
You have some string, but don't know which file contains it. This string may came from:
- Error text which user saw in the interface
- Screenshot / page in Figma
- Stack trace from console
- Logs
Where we search
- In our IDE/editor, obviously
- In GitHub
- Search in repository
- Search across multiple repositories: quite rare case. Maybe you have a lot of services (repositories) or you are unfamiliar with codebase yet
Meta
Created: 2021-10-03
References:
- Inspired by The Grep Test