code-search-engine

How to escape search strings in TFS Code Search

陌路散爱 提交于 2021-01-27 05:41:25
问题 Really loving the 'new' code search feature of TFS, but I am unable to guess how to escape " an . . I want to find places in my code where I am using "SOMESTRING." in my code, but when searching for this the search engine seems to strib " and . so that I get all results where SOMESTRING is used and that particular string that is a lot of results. I have tried with backslash eg. \"SOMESTRING.\" but same thing happens. ´strlit:SOMESTRING.` insures that I only get string literals in the results

What is a good tool to aid in browsing/following C code? [closed]

北城以北 提交于 2019-12-18 10:44:56
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I sometimes need to modify OSS code or other peoples' code (usually C-based, but sometimes C++/Java) and find myself "grep"ing headers for types, function declarations etc. as I follow code flow and try to understand the system. Is there a good tool that exists to aid in code browsing. I'd love to be able to

How to set a manual filter on Google Custom Search Engine (free version)

蹲街弑〆低调 提交于 2019-12-07 00:53:36
问题 How can I set a manual filter on Google Custom Search Engine (not from CSE panel)? For example, to open the link in a new tab I'm using this code: <gcse:searchresults-only linktarget="_blank"></gcse:searchresults-only> Now I want to set the "safe mode", and also set the results per page (to show 10 results, for instance). To be clearer, I want to allow users to change those filters from my website, that's is why I'm trying to add them manually! Thanks. 来源: https://stackoverflow.com/questions

How to set a manual filter on Google Custom Search Engine (free version)

隐身守侯 提交于 2019-12-05 05:18:14
How can I set a manual filter on Google Custom Search Engine (not from CSE panel)? For example, to open the link in a new tab I'm using this code: <gcse:searchresults-only linktarget="_blank"></gcse:searchresults-only> Now I want to set the "safe mode", and also set the results per page (to show 10 results, for instance). To be clearer, I want to allow users to change those filters from my website, that's is why I'm trying to add them manually! Thanks. 来源: https://stackoverflow.com/questions/54078071/how-to-set-a-manual-filter-on-google-custom-search-engine-free-version

Fast 'Find in Files' for VIM?

强颜欢笑 提交于 2019-12-03 07:56:24
问题 What are some options for getting really fast 'Find in Files' searching in VIM? Our codebase is large enough that searching needs to work off an index. grep/vimgrep/etc are too slow. Indexing doesn't need to be particularly fast; I can index overnight. Thanks, [EDIT] I'm also working in a Windows environment. 回答1: If it's source code (rather than full text search), then ctags with the TagList plugin should work well for your needs. See, for example: http://www.thegeekstuff.com/2009/04/ctags

Fast 'Find in Files' for VIM?

折月煮酒 提交于 2019-12-02 20:39:47
What are some options for getting really fast 'Find in Files' searching in VIM? Our codebase is large enough that searching needs to work off an index. grep/vimgrep/etc are too slow. Indexing doesn't need to be particularly fast; I can index overnight. Thanks, [EDIT] I'm also working in a Windows environment. If it's source code (rather than full text search), then ctags with the TagList plugin should work well for your needs. See, for example: http://www.thegeekstuff.com/2009/04/ctags-taglist-vi-vim-editor-as-sourece-code-browser/ EDIT: TagList and ctags will work on Windows as well (that's

What is a good tool to aid in browsing/following C code? [closed]

不问归期 提交于 2019-11-30 01:25:21
I sometimes need to modify OSS code or other peoples' code (usually C-based, but sometimes C++/Java) and find myself "grep"ing headers for types, function declarations etc. as I follow code flow and try to understand the system. Is there a good tool that exists to aid in code browsing. I'd love to be able to click on a type and be taken to the declaration or click on a function name and be taken to it's implementation. I'm on a linux box, so replies like "just use Visual Studio" won't necessarily work for me. Thanks! You can't get anything better than SourceInsight . I use Vim with ctags and

How can I index our internal source code?

痞子三分冷 提交于 2019-11-28 04:33:39
Google Code Search has indexed Subversion and Mercurial repositories, so people can search open source projects. How can I do the same for my company's repository with the least effort and without publishing our code? We have Trac (with Subversion) at our shop, but it only indexes Changesets, and we also have Visual Source Safe. Oli A quick Google turned up VoilaSVN but I cannot vouch for it. Edit: It also turned up OpenGrok which appears to have a lot more support for other systems. Dominic Rodger I can vouch for the usefulness of opengrok , we have it at work and I use it pretty well every

Replacement for Google Code Search? [closed]

妖精的绣舞 提交于 2019-11-27 16:35:10
Google Code Search has been incredibly valuable to me as a developer - I use it a couple times a week to see how other developers have used (usually poorly documented) APIs. It's also convenient to see the internals of some of those APIs, or to find which API corresponds to the functionality you want (it's a great resource for Android in particular -- give it some of the text you see on screen, and it'll usually find the implementing class). Now that Google shutting down code search as of January 15, 2012, are there any good replacements? searchcode I think Open Hub Code Search (previously

How can I index our internal source code?

心已入冬 提交于 2019-11-27 05:22:42
问题 Google Code Search has indexed Subversion and Mercurial repositories, so people can search open source projects. How can I do the same for my company's repository with the least effort and without publishing our code? We have Trac (with Subversion) at our shop, but it only indexes Changesets, and we also have Visual Source Safe. 回答1: A quick Google turned up VoilaSVN but I cannot vouch for it. Edit: It also turned up OpenGrok which appears to have a lot more support for other systems. 回答2: I