Menu

Suggestion: press one button to compile

2008-01-18
2012-11-14
  • Nobody/Anonymous

      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.

     

     
    • Nobody/Anonymous

      Hi:

      1. Plugins => NppExec => Save all files on execute
      2. Ctrl-F6 to save all and run the current batch file.

      Best wishes
      Idris

       
    • DV

      DV - 2008-01-21

      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.

       
    • Nobody/Anonymous

      Thank you very much for help.  It is a shame I did not notice these options. :)