Skip to content

Send Roslyn formatting options to OOP #11839

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

Open
davidwengier opened this issue May 8, 2025 · 0 comments
Open

Send Roslyn formatting options to OOP #11839

davidwengier opened this issue May 8, 2025 · 0 comments

Comments

@davidwengier
Copy link
Member

davidwengier commented May 8, 2025

Roslyn respects the formatting options in the workspace, but in OOP they're always defaults which means #11276 will regress in cohosting.

Roslyn normally gets their options via callbacks from OOP, but as we call into the LSP handlers they won't do that. We'll have to work out how to provide them.

NOTE: This would also presumably apply to things like CodeGenerationOptions for code actions etc. so might be worth a generic solution of some kind, but that might be overkill.

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

No branches or pull requests

2 participants