Since the latest update (2018.3) i've run into a number of issues:
I am importing some go packages that have different package names from what their import url would suggest. Previously it was able to deal with this. Now, Goland will sometimes delete a whole bunch of imports. I found after some trial and error that this mostly happened with these kinds of imports. I'm able to "fix" it by defining an alias for that import and then using the alias.
When I try to commit code through the editor, I will frequently get an error dialog saying that the commit failed because something else (the file watcher) is writing to disk. I have to cancel the commit, let it save, and then recommit. My work around for this is to just do my commits in a separate terminal application.
When copy and pasting code, the formatting will frequently go haywire. I'm not sure why this is happening and I haven't really been able to figure out a workaround yet. It's so random that it's hard to determine a pattern here.
Thanks for the list of issues.
Here's how I use the import aliasing in GoLand, https://youtu.be/7zdBg9PxOFU Can you please share the steps on how you do it?
Can you please confirm that you don't have the
gofmt
checkbox enabled in the Commit Dialog? If you do, please disable it, as this is a known issue, see: https://youtrack.jetbrains.com/issue/GO-5498 Otherwise, can you please help me understand what the steps are to replicate this and how you configured the file watcher?This is vague and I cannot take it back to the team, unfortunately. Do you have specific examples where copy-pasting fails? Thank you