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

Use pipe transport to communicate between LSP client server #410

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

karthiknadig
Copy link
Member

@karthiknadig karthiknadig commented Jan 6, 2024

Fixes #280

A common issue with stdio transport is that some packages can print to stdout on load. In this PR we use pipe transport which uses Named Pipes on windows, and Unix Domain Sockets on non-windows OSes and should avoid breaking the communication due to stdout printing by tools.

@karthiknadig karthiknadig added the bug Issue identified by VS Code Team member as probable bug label Jan 6, 2024
@karthiknadig karthiknadig self-assigned this Jan 6, 2024
@karthiknadig karthiknadig marked this pull request as ready for review January 10, 2024 22:00
@vscodenpa vscodenpa added this to the December / January 2024 milestone Jan 10, 2024
@karthiknadig karthiknadig merged commit fe031d8 into microsoft:main Jan 10, 2024
20 checks passed
@karthiknadig karthiknadig deleted the lsp-args1 branch January 16, 2024 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Client Black Formatter: connection to server is erroring.
3 participants