Hacker News new | ask | show | jobs
by MikeKusold 3473 days ago
I'm very disappointed in that decision. It should use the native `go fmt` tool. On some code bases, we use CI to ensure that `go fmt` was ran on checked in code. If there is even a slight difference between IntelliJ's implementation and `go fmt` then it will cause CI to fail.
2 comments

There are technical reasons for not doing that. Most important one being that it can do formatting on the fly and not have your cursor jump around when formatting. So your experience will actually be a whole lot better than any other editor. And if they say that it's going to be on par with gofmt it will be on par with gofmt. Do consider that they might actually know what they are doing.
I think they have a technical reason for not being able to implement 'go fmt' directly.