is it possible to get Visual studio to index source code to improve string search?

心不动则不痛 提交于 2019-12-14 01:04:16

问题


I often use the string search feature for an entire solution in VS2008. Is there a way to improve its search speed by getting VS2008 to index all the source code and config files, similar to how Google Desktop index files?


回答1:


Though I don't think it is possible to do within visual studio you may want to use WinGrep, or another grep tool to do this sort of search instead.




回答2:


This adds instant full text search of all files in a VS solution.

Not free but cheap and is well worth the money. 30 day trial.

http://entrian.com/source-search/

Remap Ctrl+Shift+F to Entrian's Activate and you get what VS's Find in Files always should have been.

I'm using it in VS 2010, it says it works with 2005 and 2008 as well.

(I have no affiliation with the company).




回答3:


This is not a supported feature of Visual Studio. The find in files feature simply goes through the files searching for the specified text and does not take advantage of any indexing.

It is possible to search using other 3rd party components using and indexed database though.




回答4:


I like searching using a tool called WildReplace .



来源:https://stackoverflow.com/questions/1396170/is-it-possible-to-get-visual-studio-to-index-source-code-to-improve-string-searc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!