Menu

Suggestion on NppExec

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

    We should enter CURRENT path when user clicked the "Show Console Dialog". That would be very helpful if the user is programming. For example, suppose the user is programming in ASM, he can simply open console from the toolbar, type 'MASM xxxx.asm' to compile the program, needn't to change the directory manually.

     
    • DV

      DV - 2008-01-04

      Well, you can type this command just once:
      "$(CURRENT_DIRECTORY)\masm.exe" "$(FULL_CURRENT_PATH)"
      and then, after execution of this command, press the Arrow Up key to activate this command again.
      Moreover, you can do the same thing even after you restart Notepad++ because now the command history is saved and restored.
      (I assume you have the "Console Commands History" option enabled).

       
    • DV

      DV - 2008-01-03

      F6
      "c:\program files\masm\masm.exe" "$(full_current_path)" // "xxx.asm"
      OK

      (... modifying our xxx.asm ...)
      Ctrl+F6

      (... modifying our xxx.asm ...)
      Ctrl+F6

      Is it what you need?

       
    • Nobody/Anonymous

      No, what I mean is execute 'cd "$(full_current_path)" ' when user open the console. In that case, we can simply use 'masm xxx.asm' to compile the file.