Hacker News new | ask | show | jobs
by cc81 3023 days ago
Exactly. Currently I have been moving back and forth between languages and editors and when I code C# or Java I miss prettier all the time.

VS Studio and IntelliJ have some language formatting but the difference between them and prettier feels huge.

3 comments

I miss Prettier in Python. YAPF is atrocious. Good news is some Prettier contributors (let's call em pretties) are working on Python support.
What are your gripes with yapf ? I'd like to use a formatter for my Python code; should I rather wait for something better ?
Not opiniated enough, not enough configuration in the places that matter, some formatting bugs, very slow. Try it and see, it works for some people.
My favorite thing is using long argument lists with it without a trailing comma. Similar for hardcoded np matrices.
I use Visual Studio with ReSharper on a daily basis, and it automatically formats code just fine - but I've been a ReSharper user for many years now, so I'm not sure if it's VS or R# that is doing the formatting!
Microsoft uses Roslyn to format code as it is committed.