How to compile and run C files from within Notepad++ using NppExec plugin?
问题 How can I configure the NppExec plugin for Notepad++? I would like NppExec to compile my C files, run them, and show their output, all within Notepad++. 回答1: Here's a procedure for Perl, just adapt it for C. Hope it helps. Open Notepad++ Type F6 to open the execute window Write the following commands: npp_save <-- Saves the current document CD $(CURRENT_DIRECTORY) <-- Moves to the current directory perl.exe -c -w "$(FILE_NAME)" <-- executes the command perl.exe -c -w , example: perl.exe -c -w