Questions tagged [code-search]

23 questions
0
votes
1 answer

In the android code base, where is the activity lifecycle defined?

I see this documentation under developer.android.com, describing the Activity lifecycle. However, I am trying to match the description up with the actual android code, at cs.android.com, where the activity life cycle is actually defined. Looking…
mherzl
  • 5,624
  • 6
  • 34
  • 75
0
votes
1 answer

Google code search - missed languages

This is very odd, but I don't see neither PowerShell nor XAML among supported languages http://www.google.com/codesearch/advanced_code_search ?! How can I filter results for that languages?
alex2k8
  • 42,496
  • 57
  • 170
  • 221
0
votes
1 answer

How can I find all if-statements without an else?

I've got quite a lot of code in which sometimes if-statements have been written, without a matching else-statement. In some places, this is an issue, because when something fails, the failure is not handled correctly. I want to manually confirm all…
0
votes
2 answers

TFS Code Search/Work Rest API return 404

we are using TFS on-premise. TFS version: Microsoft Visual Studio Team Foundation Server Version 16.122.27409.2 (2018). We need to perform TFS source control (Code Search) According to MS API documentation this the way to use TFS REST API. Build and…
PrimeNum
  • 53
  • 6
0
votes
2 answers

Semantics based code search

We have a large number of repositories. We want to implement a semantics(functionality) based code search on those repositories. Right now, we already have implemented keyword based code search in which we crawled through all the repository files…
0
votes
1 answer

Equivalent of "Open Implementation" for C in Eclipse CDT

I have a C project on Eclipse CDT, which makes use of the OpenSSL library. I correctly configured the library and include paths, so as a result I can open declaration of functions inside the editor (I mean the .h header files) (by pressing F3, or…
0x5C91
  • 3,360
  • 3
  • 31
  • 46
0
votes
4 answers

searching for multiple occurrences of variables in a method

I have a problem with cursor leakage in my Java project. Typical example: private void doSomething() throws Exception { String sql1= "some sql statement"; String sql2= "some other sql statement"; PreparedStatement ps = null; …
W_O_L_F
  • 3
  • 2
0
votes
1 answer

Only getting diffs in Atlassians Fisheye tool

Sometimes when searching code using Fisheye from Atlassian, I only get results under the Diffs tab. Does this mean that the code used to reference what I search but no longer does since it does not show up under content?
Nuez
  • 25
  • 1
  • 5
1
2