Thanks! I haven't heard of GoLand before. Looks like the One Line Returns feature is like an 80% solution, I would toggle that on all the time.
I'm not sold on completely hiding the error line like you want, but I'll definitely start a thread with that GoLand dev about how hard it would be to make the folding slightly more generic. On Friday, 19 July 2019 10:18:52 UTC+10, Mike Schinkel wrote: > > Are there any editors that support some kind of customisable collapsing >> behaviour? Where the above code could be collapsed to something like: >> > > Might be worth reading, commenting on and/or possibly upvoting this > feature proposal for GoLand? > > https://youtrack.jetbrains.com/issue/GO-7747 > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e8943581-72ed-4f15-afc5-2bb0b0b057cf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.