SYNG2008 - Unrecognized selector
Domain: query
Severity: USER
The selector name is not recognized for the target language.
Each programming language has a defined set of selectors based on its syntax tree. Using a selector that doesn't exist for the target language will produce this error.
Example
clojure
(foobar)foobar is not a valid selector in any language's schema. Selector names correspond to node types in the language's syntax tree.
Solution
Check the selector name against the available selectors for your target language. Common selectors include:
(call)- function/method calls(func)- function definitions(str)- string literals(ident)- identifiers(class)- class definitions
Use the LSP's completion feature or check the language schema documentation for a full list of available selectors.