segmentio / golines

A golang formatter that fixes long lines
MIT License
916 stars 58 forks source link

Added documentation on enabling through Goland #95

Open fred-drake opened 1 year ago

fred-drake commented 1 year ago

With the given instructions, golines was working with Goland, but was triggering very quickly (for me, about one half second) which would cause the lines to jump all over the place the moment I paused my typing mid-statement. There were a few tweaks I had to make to get it to behave the way I'd expect (e.g. wait several seconds before triggering the auto-save and the golines execution) so I added them in the readme for others.