I'm looking for an alternative extension for prettier, I don't care about the formatting looks. My one and only issue is that prettier messes up .min.js and .min.css on save, and the only way to prevent that is to add prettierignore in the root folder of every project.
I have at least 100 projects I work on, between my work and other projects, creating prettierignore isn't even an option at that point. Is there any other extension?
Not to mention that I can't even create prettierignore even if I want to, because some of my projects have sub folders and sometimes every sub folder is its own project and I might need to open every sub folder alone sometime, so I'd end up with 5 prettierignore in 1 project.
Videos
Not a fan of Prettier in VS Code, the extension installed ok, but the command line parts of the installation didn't work quite right (got it to only work temporarily for local, not global). Also don't like how it puts each argument on its own line, far to the left, very unreadable. Tried to adjust printwidth to 120, caused yet more errors .. argh.
Is there an alternative formatter anyone can recommend? Uncrustify? I'm currently working through
https://trailhead.salesforce.com/content/learn/modules/unit-testing-on-the-lightning-platform/generate-data-for-tests
and all of the sample code is formatted in column 1 without an indentation (why?) .. I don't want to re-format it manually in VS Code :-/
Thanks.
My aspx files are a mess. Visual studio is not formating them the same way, it's not opinionated like Prettier and I miss getting errors right after saving.
Since, I cannot get it to format after each save, sometimes when there is an error with my html tags, I don't see it. Which makes it harder to debug.
What are my options? And does Rider have Prettier or a similar plugin?