Skip to content
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

Add command to log language service diagnostics #3489

Merged
merged 8 commits into from
Apr 19, 2019
Merged

Conversation

Colengms
Copy link
Collaborator

Added LogDiagnostics command. Logs to new diagnostics channel. Uses new GetDiagnostics request.

@Colengms Colengms merged commit 0e3fea9 into master Apr 19, 2019
}
let header: string = `-------- Diagnostics - ${new Date().toLocaleString()}\n`;
let version: string = `Version: ${util.packageJson.version}\n`;
this.diagnosticsChannel.appendLine(`${header}${version}${response.diagnostics}`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an API to "show" or "focus" the output channel to ensure that the user can see the output when we log it?

@Colengms Colengms deleted the dev/coleng/diag branch April 19, 2019 23:57
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants