Notepad++ Console via NppExec plugin

Setup Notepad++ Console via NppExec plugin


Intro - Setup Notepad++ Console via NppExec plugin Tutorial of CodingTrabla

In this tutorial, we will add console functionality to Notepad++ using the NppExec plugin.


Solving : 


Step 1: Open the Plugins Admin in Notepad++.

Run the Notepad++ application on your Windows system. In the top menu, click on the "Plugins" menu item, then click on the "Plugins Admin" submenu item.

Step 1: Open the Plugins Admin in Notepad++


Step 2: Find and install the NppExec plugin.

Now we are in the Plugins Admin dialog. In the search field, type 'NppExec' and press the 'Next' button. Then select the NppExec plugin by enabling the checkbox in the search output. After that, press the 'Install' button in the upper right corner of the dialog window.

Find and install the NppExec plugin


Step 3 : Confirm Notepad++ restart. 

In the 'Notepad++ is about to exit' dialog, click 'Yes' to restart the application and apply the new changes.

Confirm Notepad++ restart


Step 4 : Open the NppExec Console.

Now, open the NppExec Console by clicking the newly appeared icon in the toolbar.

Open the NppExec Console


Step 5 : Test NppExec Console.

To test the NppExec console, type the 'dir' command and press Enter.

Test NppExec Console


Step 6 : Explore the NppExec plugin folder.

First, click on the 'Plugins' menu item, then click on the 'Open Plugins Folder...' submenu item.

Click Plugins than Open Plugins folder

We are seeing the Notepad++ plugins folder. Click on the 'NppExec' folder.

Notepad++ plugins folder

As we can see in the folder, the NppExec plugin is a DLL file.

DLL file of the NppExec plugin of Notepad++

Now let's check NppExec folder with C++ headers files. 

They're essentially the complete plugin SDK for extending Notepad++. 

NppExec uses all four together. 

It talks to Notepad++ itself via Notepad_plus_msgs.h. 

It triggers menu actions via menuCmdID.h. 

It manipulate the editor/text directly via Scintilla.h. 

It uses NppExec's own scripting search/replace via BaseDef.h.

Now let's check NppExec folder with C++ headers files

Now let's check 'doc' folder of NppExec plugin.

The README.txt file provides a brief introduction to the plugin's core features, basic installation instructions, and troubleshooting tips for the manual.

The NppExec.txt file acts as a comprehensive reference guide listing all available commands, variables, and internal functions supported by the plugin.

The NppExec_HelpAll.txt file contains the full text of the "help all" command, detailing every console command and keyboard shortcut in a single searchable document.

The NppExec_Manual.chm file is a compiled Windows Help file that serves as the official interactive user guide for the plugin.

The NppExec_TechInfo.txt file describes advanced, "hidden" configuration settings that can be manually adjusted within the plugin's .ini file.

The fparser.html is a documentation for the C++ library used by NppExec to parse and evaluate mathematical expressions within scripts.

The style.css file is a cascading style sheet used to define the visual layout and formatting for the HTML documentation files.

Now let's check 'doc' folder of NppExec plugin

Well Done

Awesome! We successfully installed NppExec plugin and explored plugin folder files.