-
Notifications
You must be signed in to change notification settings - Fork 236
Diagnostic logging no longer contains json output #1188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yeah, this is known. Basically VSCode has a logging solution, which is to send it log messages. Omnisharp does that and they show up in the Output window. We'd like to log the messages too, but that can't include the log messages, otherwise we'll be trying to send log messages logging the log messages, and log messages about those, and so on... The solution in my mind lies with enabling a log sink in Omnisharp that can log all messages except log messages, but that's a change we need to happen in Omnisharp, since we don't control the message send/serialisation layer. |
Logging got revamped and supports the native LSP messages and VS Code's log output now. #2200 |
I believe this is the result of the change to OmniSharp. In the preview extension, the EditorServices log no longer contains the json that is being passed around, just that a message is being passed. The legacy version however still contains the json.
Preview version:

Legacy version:

Was it intentional to remove these messages from the EditorServices log? Or was this inadvertent? When originally working out the code for Command Explorer, I made heavy use of the Diagnostic logging to ensure the messages were coming back as I expected them.
And the even bigger question: regardless of if the removal was intentional or not, are there plans to add such a level of logging back?
The text was updated successfully, but these errors were encountered: