You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coming from a NodeJS and JS background, I assumes I'd have to install prettier and the plugin in packages.json of my C# project root as dev dependencies.
Not sure if I should then use the CLI or the API option? Is it possible with direct integration in the IDE/Editor, ie. auto format on save as per the usual settings.json prettier setting?
Would be great if the Readme could be more clear on this. I know the plugins are beta.
Great work!
Cheers :)
The text was updated successfully, but these errors were encountered:
Ah, it works with Editor integration (on Save) after running the two commands suggested.
Awesome! Would be nice if it could be more clear that all the usual benefits of prettier will be available out of the box on installation of a plugin :)
While renaming the project, I updated (and simplified) the commands. I will also add a section for editor integration, but will try to keep it simple because I want it to be vendor-agnostic.
I found this post on prettier plugins on the prettier.io site, but not quite sure how to put it into effect in a C# project.
I also found this post on how to configure prettier
Coming from a NodeJS and JS background, I assumes I'd have to install prettier and the plugin in
packages.json
of my C# project root as dev dependencies.Not sure if I should then use the CLI or the API option? Is it possible with direct integration in the IDE/Editor, ie. auto format on save as per the usual
settings.json
prettier setting?Would be great if the Readme could be more clear on this. I know the plugins are beta.
Great work!
Cheers :)
The text was updated successfully, but these errors were encountered: