Is it possible to tweak how Goland automatically formats, adds, and removes imports? It keeps removing an import that my program needs to function so I need to keep manually re-adding it after every push, and it's driving me nuts.
Also, is it possible to set Goland so that it automatically formats (as in go fmt) on save?