Filter - Helmut-Ortmann/lsp-csharp-analyzer GitHub Wiki

Filter

The responses of the language server are stored in data tables and visiualized in grids. Every type of response has it's own tab to quickly switch between different views.

To easily find and analyze in response data LSP Analyzer supports filters.

Rules

LSP Analyzer visualizes the names to use in filters as tooltip in the columns.

  • The filters are case insensitive
  • All filters are combined 'AND'
  • Arbitrary filter
    • ( myArbitraryFilter )
    • E.g.: ( Kind = 'Variable' OR Kind 'Function')
  • Standard filter
    • Standard filters refer to one grid colums
    • Standard filters contains a Wildcard ('*') at the end
    • You can add a Wildcard ('*' at the beginning of the filter String)
    • You can precede a 'NOT ' to inverse logic
    • Locate a Wildcard only at the beginning

Examples (not case sensitive):

  • NOT %GEN: Not includes a 'GEN'
  • *GEN: Includes a 'GEN'
  • GEN: Starts with 'GEN'
  • ( Kind = 'Variable' OR Kind 'Function')

See also Microsoft filter syntax description.

Typical error

  • 'myString' isn't allowed
    • Wildcards are allowed at the beginning or at the end
    • hoReverse puts the Wildcard always at string end.

Fields

  • Intern
    • The internal reprasentation
  • Name
    • The symbol name
  • Kind
    • The LSP values according to 'SymbolKind'
    • Function, Variable, File,..

Reference