Set
Run, set cmd/k Lua "$ (full_current_path)" & PAUSE & exit
Ii. Principle: the meaning of
cmd/k is to execute the following command, and keep the window after execution;
cmd/k lua equivalent to start –> run –> input cmd–> input lua& nbsp;
$ (full_current_path) means the full path to the current file, which is the notepad++ macro definition & is a connection to multiple commands
Pause to pause after the end of the run. Wait for an arbitrary key to
Exit means close the command-line window (you can omit EXIT if you use cmd/c). )
Three, error and analysis:
1. Environment variable  &NBSP for LUA is not set;
Test: Start-and-run input cmd–> input lua if "Lua" is not an internal or external command, it means that there is no environment variable configured for LUA.
2. Set environment variable
, environment variable, advanced system settings, my Computer, select path to add Lua's bin path to the
Verify again if the version information for LUA appears , which indicates that the setting succeeds
3. If this is set, or not, then turn off the notepad++, restart, and then set (my case is this, after the restart can be)
Four, the shortcut key modification method:
1. On notepad++, select Settings-Shortcut Mapper ... to open the Shortcut Mapper window:
v. the same: command to set up Python
cmd/k python "$ (full_current_path)" & PAUSE & EXIT-Sava
LUA Learning notes--notepad++ settings run Lua and Python