Auto hide Notepad++ console dialog?

11

2

I use Notepad++ for development and the NPPExec plugin to execute the code. To execute, I press Ctrl-F6 to Execute the program. This invokes the console dialog to show the output of the compiler.

What I find annoying is that there is no way to toggle the console dialog off. There is an option Toggle Console ( Ctrl-~ ) but this does not toggle it off, instead just transfers the focus back to the editor.

Is there a plugin or some work around to auto hide the console dialog ?

notepad++

Animesh

Posted 2011-12-05T08:12:23.137

Reputation: 688

Answers

16

It's not obvious, but you can fix the "toggle console off" feature:

In the Console, press F3 or F7 and check "Hide toggled Console" in the appeared bottom controls. (Or you can press Ctrl+T in the Console to get the same effect.)

You can also prevent the console from automatically appearing for a given script by including the following line at the top of your NppExec code:

NPP_CONSOLE 0

acatalept

Posted 2011-12-05T08:12:23.137

Reputation: 596

even better, add it on the bottom of the NppExec exec code; that way the console will briefly appear and auto-close on NppExec code end – user235035 – 2014-12-24T17:14:51.537

3also you can use Ctrl + ~ to switch in and out of the console window. – mythealias – 2012-10-28T01:06:51.203