5 ms·
Can somebody share the use case of this? Why not just use your IDE?
by jmakov 2y ago
Can somebody share the use case of this? Why not just use your IDE?
- bshzzle 2y agoyea it's a fair question - an IDE is often more convenient when you have the code checked-out locally. This becomes a pain when you work in a organization with potentially hundreds of repositories that you need to search across (e.g., a org stores their 100+ microservices in separate repos, and you need to find all places where they make a request to your service).
- Hackbraten 2y agoI use ghorg in tandem with ripgrep to address that problem. The former is for checking out the main branches of all repositories, the latter to perform the actual search.
- metadaemon 2y agoFinding examples of how others implement similar logic is my biggest use case for code searching, but since GitHub copied SourceGraph, I don't have much of a need for these self-hosted solutions.
- rafaelgoncalves 2y agoyeah, github has a nice search now, the only complaint is that you need to be logged on to use, besides this is really nice.
- eptcyka 2y agoI cannot run Xcode on Linux, I cannot run Visual Studio on Linux, I might not have an IDE set up for the language that I want to inspect. Many reasons. Also, some languages practically require arbitrary code execution to make a build, which I'd much prefer to shove into an isolated VM.