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

Fluent c# format document #7050

Open
JavierMarcuzzi opened this issue Apr 15, 2024 · 3 comments
Open

Fluent c# format document #7050

JavierMarcuzzi opened this issue Apr 15, 2024 · 3 comments

Comments

@JavierMarcuzzi
Copy link

Markup

CommunityToolkit.Maui.Markup use fluent, but the format document option doesn't accommodate the code, it would be nice that it accommodates as in pure c#.

Describe the solution you would like

Work as pure c#.

Applicable Scenarios

Net maui?

@dibarbet
Copy link
Member

Format document should respect an .editorconfig, where you can configure how formatting behaves. See https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0055

If something is not working, please provide an example of the original code, how it gets formatted, your editorconfig, and how you expect it to be formatted.

@JavierMarcuzzi
Copy link
Author

JavierMarcuzzi commented Apr 17, 2024 via email

@dibarbet
Copy link
Member

dibarbet commented May 7, 2024

I'm not able to reproduce any issues with the above code in a Maui app. Running 'Format Document' does not make any formatting changes to the sample code, which is what I would expect.

Would you mind sharing a before / after screenshot? Or are you expecting that format document does something else, and if so what behavior are you expecting?

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