English 中文(简体)
正在寻找一个具有快速文件搜索功能的开源文本编辑器[关闭]
原标题:looking for an open source text editor with very fast search in files capability [closed]

我们不允许为书籍、工具、软件库等寻求推荐的问题。你可以编辑这个问题,以便用事实和引文来回答。

Closed 8 years ago.

我有这个100000个文件的代码库,我需要驯服它,我需要经常搜索特定函数调用或函数定义的发生情况。

目前使用记事本++,我需要5分钟以上才能完成搜索。

你知道有哪个程序员的编辑器能胜任这份工作吗?

谢谢你的帮助

杰罗姆·瓦格纳

问题回答

也许你应该使用特定的搜索工具进行搜索,而不是使用文本编辑器。。。

根据您的平台,有各种可用的工具,如GREP(命令行)、Windows Search Service(提前创建文件索引以加快查询速度),甚至谷歌桌面搜索。

http://www.google.co.uk/search?q=file%20search%20tool

(提示:将Windows/Linux等添加到搜索中)

grep should be most forward implementation of what you are looking for. I tested it on an older system with 11k source files and it took 20s.

假设平均文件大小为1k,则处理的是100MB的文本。假设平均文件大小为10k,则处理的是1GB的文本。

搜索这么多数据需要时间。

如果您希望速度更快,那么需要5分钟来构建索引。

有一些专门的工具可以让您做到这一点:

欲了解更多信息,请访问维基百科

是的,Grep很好,很受欢迎,可以集成在许多平台上的许多工具中
一次免费赢取:http://www.pspad.com/

The BEST one I ever used is built into PSPad (www.pspad.com / freeware) it displays a list and you can change anything or all the strings, or search and see where they appear. You can also search specific directories only.

您也可以对ack,或cscope。

您可以将ack集成到vim中,具体如下:

set grepprg=ack
nnoremap <f1> :grep<space>
nnoremap <f1> :grepapp<space>




相关问题
Acronyms with Sphinx search engine

how can i index acronyms like m.i.a. ? when i search for mia , i get results for mia and not m.i.a. . when i search for m.i.a. , i get nothing at all. edit: solution looks roughly like: ...

Querying multiple index in django-sphinx

The django-sphinx documentation shows that django-sphinx layer also supports some basic querying over multiple indexes. http://github.com/dcramer/django-sphinx/blob/master/README.rst from ...

Adding Search to Ruby on Rails - Easy Question

I am trying to figure out how to add search to my rails application. I am brand new so go slow. I have created a blog and done quite a bit of customizing including adding some AJAX, pretty proud of ...

Searching and ranking short phrases (e.g. movie titles)

I m trying to improve our search capabilities for short phrases (in our case movie titles) and am currently looking at SQL Server 2008 Full Text Search, which provides some of the functionality we ...

Will Full text search consider indexes?

Ok I have a full text search index created on my JobsToDo table, but what I m concerned about is if this is rendering my other indexes on the table useless. I have a normal nonclustered index on the ...

Lucene.NET on shared hosting

I m trying to get Lucene.NET to work on a shared hosting environment. Mascix over on codeproject outlines here how he got this to work on godaddy. I m attempting this on isqsolutions. Both ...

Hibernate Search or Compass

I can t seem to find any recent talk on the choice. Back in 06 there was criticism on Hibernate Search as being incomplete and not being ready to compete with Compass, is it now? Has anyone used both ...

热门标签