We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a suggestion from #783
I'd like to get the error using the API, but it seems this is not possible currently. (https://github.com/hofstadter-io/hof/blob/_dev/formatters/tools/csharpier/Program.cs)
Looking at https://github.com/belav/csharpier/blob/master/Src/CSharpier/CodeFormatter.cs it seems the public methods only return the result.Code field. Could we add something like FormatWithErrors and FormatWithErrorsAsync that exposes the more complex return CodeFormatterResult?
The text was updated successfully, but these errors were encountered:
Can confirm this is working for my use case, thanks @belav
https://github.com/hofstadter-io/hof/blob/_dev/formatters/test/cs_fail.txt
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
This is a suggestion from #783
The text was updated successfully, but these errors were encountered: