Quick Programming Tip: The Silver Searcher

twitter logo github logo Updated on ・1 min read

The Silver Searcher is a code searching tool, it searches your entire code base in a very fast and efficient manner and it supports regex. I often use it when my IDE’s search capabilities are slow or can’t find what I’m looking for. You don’t have to use it exclusively, you can combine it with your IDE’s search capabilities to do your job faster, and most of the time it is also much easier to search using ag.

For example, In Pycharm, I can open up the integrated terminal (ALT+F12) and type ag my-query to get the list of files and lines which match my query, this is much faster than trying to search via the IDE.

Thanks for reading!

twitter logo DISCUSS
Classic DEV Post from Dec 28 '18

10 lessons from a software engineer & freelancer

10 lessons from a software developer & freelancer

Denis Nuțiu profile image
Programmer from Romania. Currently Jr. Security Researcher at Bitdefender. Previously worked in the automotive industry.

dev.to open source and it's magnificent

Sign Up