Copy and paste the following script into the Commands box.Ĭd $(CURRENT_DIRECTORY) // go to directory of the current file.Find the NppExec plugin in the list and install it.Plugins > Plugin Manger > Show Plugin Manager Set the number of spaces to use in place of a tab to 3 or 4 by clicking and changing the Tab size field.Īfter you have set the system path, you can set up Notepad++ to compile programs.Check Replace by space (see image below).
Preferences.->Language (since version 7.1) or Settings->Preferences.->Tab Settings (previous versions) How To Setup Notepad for Writing C++ Programs