Jintin / Swimat

An Xcode formatter plug-in to format your swift code.
https://jintin.github.io/Swimat/
MIT License
1.65k stars 89 forks source link

Remove lines when formatting #183

Open hadiidbouk opened 7 years ago

hadiidbouk commented 7 years ago

How can make Swimat to remove blank lines from my code ?

ankitjaiswal1994 commented 6 years ago

This is a good question because currently what swimat is doing we can easily obtain it in our xcode by using CMD+I .(I appreciate your hard work and thanks for making it opensource :))

SimonRiemertzon commented 6 years ago

Just downloaded and installed this. It seems to work fine. But an option to remove white-lines , and how many I would like to allow, similar to how the Jetbrains formatting is working, is really a dealbreaker for me.

The CTRL + I Xcode reformat function does not remove white lines! I really hope you will implement this in Swimat. (Maybe I will try to add it myself! ^^)

Thank you for your dedication!