What is an utility to find code throughout many files or folders. Something akin to PowerGrep but freeware.
相关问题
- What to include in a Utility Library [closed]
- Trim an MP3 Programmatically
- Java: Synchronization Utility
- *FREE* Screencasting Apps & Utilities [closed]
- Checking if a number is an Integer in Java
相关文章
- Trim an MP3 Programmatically
- Java: Synchronization Utility
- *FREE* Screencasting Apps & Utilities [closed]
- Checking if a number is an Integer in Java
- What are some utilities to search for code through
- 离子拉链抛出内存异常(Ionic zip throws out of memory exceptio
- Best way to build an UI utility class
- 下面通过HTTP日志文件(following a log file over http)
If it's on a Mac, TextWrangler is rather fantastic for multi-file search with grep.
You could also try Komodo Edit. It's a development IDE that supports many languages and has support for recursively searching directories. It's written in Java so it works on "every" platform.
http://www.activestate.com/komodo_edit/
Eclipse is powerful and is free. Ctrl + Alt + H will search for methods, declarations, types or just free text in any language Eclipse supports. You can even use wildcards and regex.
I've been struggling with finding all the access to some method, for example. Once again, Eclipse does it for me very well: Ctrl + H will open the Call Hierarchy view.
For Windows I've used Agent Ransack before in the past and it's done a pretty good job.
I have not seen PowerGrep but Visual Studio's "Find in files" works best for me. Also allows "Replace in files" and opens changed files to enable undo.
If you install cygwin, you get the
find
andgrep
utilities, which can be used in concert like so:Or simply recursive grep, if you don't care about filtering by file-extension: