fix(opencode): add lsp sync range for roslyn and fix workspacesymbol query#23612
fix(opencode): add lsp sync range for roslyn and fix workspacesymbol query#23612VladD2 wants to merge 8 commits intoanomalyco:devfrom
Conversation
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
a507a9d to
6bfb645
Compare
6bfb645 to
564a03d
Compare
564a03d to
042e0e1
Compare
…pace-symbol-empty-query
ac00e93 to
247d7e0
Compare
Ah, my changes to The core of this PR is LSP method parameter validation and fixs: • PS Please review this PR soon — I'm getting merge conflicts with dev every day. |
|
@Hona @rekram1-node Please review this PR soon — I'm getting merge conflicts with dev every day. |
Issue for this PR
Closes #23075
Type of change
What does this PR do?
The problem:
workspaceSymbolanddocumentSymbolpreviously requiredlineandcharacterparameters, which are not actually needed for these operations.The changes:
queryparameter forworkspaceSymboland removed unnecessary position validation fordocumentSymbol.lineandcharacterchecks further down the logic so they only trigger for operations that actually require a specific cursor position (likegoToDefinitionorhover).How did you verify your code works?
workspaceSymbolwith various query strings.documentSymbolworks correctly without providing line/character parameters.Checklist