-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add command to show LSP's internal state for diagnosing issues (#3195)
### Motivation Add a command to trigger the new custom diagnose request, so that it's easy to see the information at a glance. ### Implementation It's the same implementation as show syntax tree, we use a custom resource to show a read-only document containing the relevant information. ### Manual Tests 1. Launch the extension on this branch 2. On the second VS Code window, open the Ruby LSP code itself (you need the server changes to verify all pieces together) 3. Invoke the new command 4. Verify you see the internal state of the server
- Loading branch information
Showing
4 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters