-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Read .editorconfig properties in other .NET languages' analyzers and formatters? #41225
Comments
This isn't exposed publicly. But you can see our code for that here: https://github.com/dotnet/roslyn/blob/master/src/Workspaces/Core/Portable/NamingStyles/EditorConfig/EditorConfigNamingStyleParser.cs
See above.
I don't believe you would be able to.
That question would have to go to the F# team: https://github.com/dotnet/fsharp/ |
@CyrusNajmabadi, thank you very much! |
@xperiandri here is where we use reflection to get the editorconfig options from the workspace. I don't know what exactly you need. Do you want something to help find and parse the editorconfig? do you want to just pull whatever the naming styles are? |
@nojaf knows better.
|
Hello, I'm a bit confused in regards to this issue. We already have code in Fantomas that does |
Thanks for the pointer @jmarolf , I think this issue can be closed. |
I discuss with @nojaf usage of .edtiorconfig in F# formatter fsprojects/fantomas#650
Regarding that I want to ask:
The text was updated successfully, but these errors were encountered: