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 Sep 24 '18

Who's looking for open source contributors? (September 24 edition)

Find something to work on or promote your project here. Please shamelessly pro...

Denis Nuțiu profile image
Jr. Security Researcher