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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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).
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?
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.