无需索引即可在文件中搜索字符串的工具 [英] Tools to search for strings inside files without indexing

查看:22
本文介绍了无需索引即可在文件中搜索字符串的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在一个非常古老的遗留应用程序中更改一些连接字符串,而制作它的程序员认为将整个应用程序都粘贴在整个应用程序中是个好主意.

Visual Studio 的当前项目"搜索速度非常慢,而且我不信任 Windows 搜索.

那么,目前最好的免费、非索引文本搜索工具是什么?它应该做的就是返回一个列表,其中包含文件夹及其子文件夹中包含所需字符串的文件.

我运行的是 Windows 2003 Server.

解决方案

原答案

I have to change some connection strings in an incredibly old legacy application, and the programmers who made it thought it would be a great idea to plaster the entire app with connection strings all over the place.

Visual Studio's "current project" search is incredible slow, and I don't trust Windows Search.

So, what's the best free, non-indexed text search tool out there? All it should do is return a list with files that contain the wanted string inside a folder and its subfolders.

I'm running Windows 2003 Server.

解决方案

Original Answer

Windows Grep does this really well.

Edit: Windows Grep is no longer being maintained or made available by the developer. An alternate download link is here: Windows Grep - alternate

Current Answer

Visual Studio Code has excellent search and replace capabilities across files. It is extremely fast, supports regex and live preview before replacement.

这篇关于无需索引即可在文件中搜索字符串的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆