Questions tagged [comby]

3 questions
1
vote
1 answer

How to highlight nested structure in SourceGraph structured search?

I have the following SourceGraph structured search: repo:… file:… "tls_certs" {...default = {...}...} which correctly matches: variable "tls_certs" { description = "…" type = map(string) default = { … } } It's currently…
Noel Yap
  • 18,822
  • 21
  • 92
  • 144
0
votes
0 answers

How can I ignore whitespaces in queries when using comby?

I refer to the comby tool which can be found on https://comby.dev/ and https://github.com/comby-tools/comby. If I have a file with contents: void f(); void g( ); And I want to refactor both expressions from ; to {} (I know I would be faster…
0
votes
1 answer

Nested structured search is Sourcegraph?

I would like to search Java annotations with another annotations inside. I don't know how many nested levels there are or I don't want to specify it. Finally, I would like to search for examples of @ApiImplicitParams with param type body and with…
Dims
  • 47,675
  • 117
  • 331
  • 600