Hi Everyone,
I would like to know is it possible to search in bitbucket similar to cscope i.e for eg :
1.) search for function definition Calculate()
- This would help me a lot because on every search of "calculate()", the results are showing all the places where "Calculate" is present instead is it possible to get the place where definition exists alone.?
2.) search for function/term used Calculate()
3.) search for text used Calculate. I guess the point 2 and 3 is combined now in current search. But it would be better if we are able to differentiate.?
Unfortunately it is not possible to search for code in this way.
Cscope is able to do this because it is aware of the language's syntax, where as Bitbucket's search is required to work for all languages and doesn't have any language-specific functionality.
Bitbucket does try and be smart with how it shows its results, though. For example it will rank results from a class definition higher than results from an import.
For more details, see https://blog.bitbucket.org/2017/05/02/introducing-code-aware-search-for-bitbucket-cloud
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.