haskelly-dev / Haskelly

Haskelly is a VS Code extension that provides complete support for casual and expert Haskell development.
https://marketplace.visualstudio.com/items?itemName=UCL.haskelly
GNU General Public License v3.0
152 stars 17 forks source link

Re-Use Terminal Window on Stack Run #38

Closed dlorch closed 7 years ago

dlorch commented 7 years ago

After running "Stack Run" for a couple of times, there's a growing number of terminals open. If there is already an open Stack Run terminal window, could you re-use it rather than creating a new one on each execution? Other extensions such as Python extension are doing that for example.

bildschirmfoto 2017-02-18 um 12 17 53
jpotecki commented 7 years ago

Actually this is an on-going discussion in the team. The reason for the current solution is that it seems to be a common practise among many other IDEs, eg. Intellij Idea, Eclipse etc

dlorch commented 7 years ago

I have to make an addendum to my statement above: when using the debugger with launch configuration "console": "integratedTerminal", the Python extension re-uses the terminal window if possible. Not sure it makes a difference, but just wanted to have it defined more precisely :-)

martrik commented 7 years ago

@dlorch Hi! The new version of Haskelly 0.4.23 includes a boolean configuration named: reuseTerminal, which if set to true will force Haskelly to just use one terminal. We hope you find this useful!

dlorch commented 7 years ago

@martrik Very cool, thanks!