I'm using the run external command to launch a compiler, but everytime i make changes to the code I have to hit ctrl-s to save and only then can run the command.
I was wondering if there's a command i can program into the run external window to also save the file(s) before firing off the compiler.
e.g. save $(CURRENT_FILE(S))
or is there another easier way to do this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using the run external command to launch a compiler, but everytime i make changes to the code I have to hit ctrl-s to save and only then can run the command.
I was wondering if there's a command i can program into the run external window to also save the file(s) before firing off the compiler.
e.g. save $(CURRENT_FILE(S))
or is there another easier way to do this?
You could use npp_exec plugin:
npp_save - save current file in Notepad++
npp_save <file> - save specified file opened in Notepad++
then with npp_run you can launch your external compiler
All this command can be part of a script that you can run from the plugin
Regards
Mauro