5 ms·
Use it since ~6 month. It is fast and works without bigger problems. But you have to learn and accept, that you can not modify much things like in prettier,. Yo
by progx 3y ago
Use it since ~6 month. It is fast and works without bigger problems. But you have to learn and accept, that you can not modify much things like in prettier,. You have to use it as it is. That is the philosophy of their tools.
And after a while it is ok. You realize, that you spend before much time to modify everyhting, that is not really necesary.
- meowtimemania 3y agoI love it, I hadn't realized how much time I waste formatting my code until I turned on prettier autoformat in my repo.
- FractalHQ 3y ago3 years of using prettier and I still curse it daily for not letting me have more than 1 empty line to delineate related sections of code in large files for readability.
- spiralx 3y agoAdd `// -----------------` in between blocks to work around this issue, and IMO provide much better delineation of content blocks e.g. imports vs definitions. I do miss C#'s use of macros to allow defining arbitrary blocks that can be named and folded though.
- scns 3y agoIn Jetbrains Webstorm you can create foldable regions. Happy customer. https://www.jetbrains.com/help/webstorm/working-with-source-code.html#use-the-surround-with-action https://www.jetbrains.com/help/webstorm/working-with-source-...