noonat / sublime-gofmt

Sublime plugin to run gofmt (or goimports, or whatever you want).
MIT License
28 stars 6 forks source link

when `ctrl + s` formatting the go code, It can hiding my terminal(third pane) pane, that is normal? #14

Closed cycold closed 4 years ago

cycold commented 4 years ago

Could give a config option for format the code not trigger the hiding pane action.

There I hope keep the terminal pane alive rather than hide when formatting go code.

I'm using this plugin Terminus https://github.com/randy3k/Terminus

image

ps: Poor English...

noonat commented 4 years ago

@cycold This definitely isn't intentional. I'll take a look and see if I can figure out what's going on with it.

noonat commented 4 years ago

It seems like this is a general issue that affects all plugins when using the console (bottom panel) for things. The same thing happens with the regular console when you save. From experimentation, if you instead split your view into two rows (View -> Layout -> Rows: 2) and then open a terminal there (Command Palette -> Terminus: Open Default Shell In View) then that will stay open when you save.