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

Output Server Stats through LSP API #2050

Closed
rchl opened this issue Oct 23, 2022 · 0 comments
Closed

Output Server Stats through LSP API #2050

rchl opened this issue Oct 23, 2022 · 0 comments

Comments

@rchl
Copy link
Collaborator

rchl commented Oct 23, 2022

This code should ideally not use console.log as that's not gonna work when server communicates with the client using stdio. Using console.error instead would work but possibly better to just use connection.console.* API. Maybe also print everything in one go instead of in separate log calls.

https://github.com/johnsoncodehk/volar/blob/e1514295e44b1efbb13f8656106530504a9f51e3/packages/language-server/src/features/customFeatures.ts#L12-L67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant