noseglid / atom-build

:hammer: Build your project directly from the Atom editor
https://atom.io/packages/build
MIT License
248 stars 97 forks source link

Specify build panel behavior per-command #476

Closed randomPoison closed 7 years ago

randomPoison commented 7 years ago

As discussed in AtomBuild/atom-build-cargo#64, it is sometimes desirable to have the build panel behave differently for different build commands. In my current case, the compiler emits JSON formatted messages, so when building I don't want the build panel to open, the linter output is more human-readable. But when running the project I want the output of my running program to be visible in the build window.

To achieve this, it would be nice to be able to specify per-build command how the build panel should behave. That would allow me to say "don't show the build panel when compiling, but show the build panel when running".

An alternative solution would be to have a "manual" setting for the build panel. Currently, all the settings for the build panel's behavior (Toggle, Keep Visible, Show On Error, and Hidden) will automatically show or hide the build panel at certain points. It would be nice to have a "Manual" setting which tells atom-build to never automatically show or hide the build panel, allowing the user to manually show and hide it at their discretion.

noseglid commented 7 years ago

So, this is actually a duplicate of #103