There are also NPP_SAVE and NPP_SAVEALL commands which can be placed in the beginning of your script. For more information, type in the NppExec's Console:
help
help npp_save
help npp_saveall
Also, you can change the action of NppExec's toolbar button. See "NppExec_TechInfo.txt", parameter "ToolbarBtn" for more details.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe I do something wrong but I have to press several keys before compilation starts.
1) CTRL+S or mouse-save-all-files.
2) F6 to invoke NppExec plugin.
3) OK or ENTER to run my .bat file that compiles the code.
I suggest on option to make F6 automatically save all files and run the current bat file to compile, i.e. one button compilation.
Hi:
1. Plugins => NppExec => Save all files on execute
2. Ctrl-F6 to save all and run the current batch file.
Best wishes
Idris
There are also NPP_SAVE and NPP_SAVEALL commands which can be placed in the beginning of your script. For more information, type in the NppExec's Console:
help
help npp_save
help npp_saveall
Also, you can change the action of NppExec's toolbar button. See "NppExec_TechInfo.txt", parameter "ToolbarBtn" for more details.
Thank you very much for help. It is a shame I did not notice these options. :)