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++.
You can now compile and run C++ programs from within Notepad++. To test the set up, copy the following program into a new Notepad++ tab and save the file as hello. cpp to a convenient location like the Desktop. Select C++ compile script from the dropdown list.
Here's a procedure for Perl, just adapt it for C. Hope it helps.
npp_save
<-- Saves the current documentCD $(CURRENT_DIRECTORY)
<-- Moves to the current directoryperl.exe -c -w "$(FILE_NAME)"
<-- executes the command perl.exe -c -w , example: perl.exe -c -w test.pl
(-c = compile -w = warnings) If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With