Skip to content

Search History and OR statement #3

Description

@mouettxy

I have a function of whose calls scattered over the codebase. It takes 2 arguments: type of action, and second argument that may differ in type

I want to query this function calls, to see what second argument is with each call.

Initially i think that this query can work, but it didn't

myFunction('some_type'|'some_other_type'|'some_very_other_type'

Reading through the docs after, it seems that's theres just AST parsing, so question is: how can i construct OR queries?

And other feature request, it would be awesome to save some queries to inspect/use them later. Like today I spent some time on research of possible refactoring ways, and on other day I want to comeback to my queries to inspect them more.

Overall this extension already provides so much better DX when searching through large codebase, thank you very much for this!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions