Closed dmitshur closed 8 years ago
If we're going to add it, make it optional please.
Ok. Is it ok for it to be on by default? I think on average more people would benefit from having it on rather than off.
+1 from me, I want this feature.
I may make a PR for it soon.
The Go Playground has a checkbox to enable
goimports
-like fixing imports when pressing Format.It's handy for fixing imports of standard library (fmt, io, bytes, etc.), and I'm used to it. I'd like to see it added to GopherJS Playground to make it better.
Any thoughts? Objections?
Should it be optional like on Go Playground or just always on?
I can volunteer to implement it. I already have implemented it locally, so it's just a matter of cleaning up the code and making a PR.