
Of course, the g++ command path should be in the PATH variable of Windows system. For example, if you want to compile a C++ source code file hello.cpp, you can give the command g++ hello.cpp -o hello.exe. In the console, we can give the various supported commands including running the compilers. We can toggle the NppExec Console using the hotkey Ctrl ~. It also comes with a help file that describes all the supported commands in detail. It offers many features such as running NppExec scripts and viewing the console window. Once we have installed the NppExec plugin, we can access it from the menubar from under the Plugins. As you can see above, Plugins Admin installed NppExec 0.6 while version 0.7 is available on GitHub. While in the second method through the Plugins Admin, you get a bit old version of the plugin.

There is one difference between these two methods – in the first method (manual), you get the latest version of the plugin.

Launch Notepad++ and select Plugins → Plugins Admin from the menubar.Restart Notepad++ and you have NppExec ready.Extract all the contents of the downloaded ZIP file in step 1, into the plugins sub-folder inside the Notepad++ installation folder.Typically, it is C:\Program Files\Notepad++\. Open the folder where you have installed Notepad++.If you have installed 64-bit version of Notepad++, then download the file with 圆4 in the filename. For Notepad++ versions 7.6 and higher, download the plugin file with PA in the filename, for example, NppExec_07_dll_圆4_PA.zip.

Download the latest version of NppExec plugin from.Install manually by downloading the plugin There are two ways using which you can install NppExec in Notepad++: 1. The output and the exit codes from these commands are displayed in the Notepad++ window itself. For example, if you are writing a C++ program, then you have to test it by switching to a command prompt window and running the compiler (e.g., g++).īut with the help of a Notepad++ plugin NppExec, you can run any commands or external programs right from within the Notepad++ window. But when you want to compile these source code files, you have to switch to another window. Notepad++ is really great for editing source code files.
