Closed Pdzly closed 1 year ago
Sorry for the very late response. I've been thinking about this, but I think this would be very hard to implement in the pretty printer.
For the linter I think it wouldn't be too hard. What are you requesting, a line length in the linter, formatter or both?
Added a line length lint in 6fd15a10abaf8495e7be1acc50b7fa71c6058642. That fixes this issue!
The release with this feature can be found here: https://github.com/FPtje/GLuaFixer/releases/tag/1.24.0
While this is helpful to prevent long lines the formatter unfortunately has no way to break the line. Are there any plans to support this?
There aren't, as I said in my first post, doing it in the linter is pretty easy, but in the formatter much harder. I don't feel much for doing that, as this project is kind of on low maintenance mode.
I see, fair enough.
for example that a long array / object is cut in neat pieces