github.com/v2fly/tools@v0.100.0/internal/lsp/testdata/workspacesymbol/query.go (about)

     1  package main
     2  
     3  // Contains all of the workspace symbol queries.
     4  
     5  // -- Fuzzy matching --
     6  //@workspacesymbolfuzzy("rgop")
     7  //@workspacesymbolfuzzy("randoma")
     8  //@workspacesymbolfuzzy("randomb")
     9  
    10  // -- Case sensitive --
    11  //@workspacesymbolcasesensitive("main.main")
    12  //@workspacesymbolcasesensitive("p.Message")
    13  //@workspacesymbolcasesensitive("main.myvar")
    14  //@workspacesymbolcasesensitive("main.myType")
    15  //@workspacesymbolcasesensitive("main.myType.Blahblah")
    16  //@workspacesymbolcasesensitive("main.myStruct")
    17  //@workspacesymbolcasesensitive("main.myStruct.myStructField")
    18  //@workspacesymbolcasesensitive("main.myInterface")
    19  //@workspacesymbolcasesensitive("main.myInterface.DoSomeCoolStuff")
    20  //@workspacesymbolcasesensitive("main.embed.myStruct")
    21  //@workspacesymbolcasesensitive("main.embed.nestedStruct.nestedStruct2.int")
    22  //@workspacesymbolcasesensitive("main.embed.nestedInterface.myInterface")
    23  //@workspacesymbolcasesensitive("main.embed.nestedInterface.nestedMethod")
    24  //@workspacesymbolcasesensitive("dunk")
    25  //@workspacesymbolcasesensitive("Dunk")
    26  
    27  // -- Standard --
    28  //@workspacesymbol("")
    29  //@workspacesymbol("randomgophervar")