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

Support for .razor files #68

Closed
kirkone opened this issue Jan 17, 2022 · 3 comments
Closed

Support for .razor files #68

kirkone opened this issue Jan 17, 2022 · 3 comments
Labels
enhancement Issues describing an enhancement or pull requests adding an enhancement.

Comments

@kirkone
Copy link
Contributor

kirkone commented Jan 17, 2022

Maybe I did something wrong but is there a way to be able to use all the c# settings also in *.razor files?

@kirkone kirkone added the enhancement Issues describing an enhancement or pull requests adding an enhancement. label Jan 17, 2022
@RehanSaeed
Copy link
Owner

The .editorconfig does not currently have special support for this file type and relies on the defaults:

[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

Is there something that should be changed?

@kirkone
Copy link
Contributor Author

kirkone commented Jan 19, 2022

The default rules are working fine.
What I want is the C# rules work in @code blocks.

When I got it right this might be related to this issue:
dotnet/razor#4406

So, I think we have to wait for this to be completed.

I wonder if the will also bring .razor support for dotnet build

@RehanSaeed
Copy link
Owner

Looks like all we can do is wait. Closing for now but feel free to reopen if there is something to do here. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues describing an enhancement or pull requests adding an enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants