LUA Learning notes--notepad++ settings run Lua and Python

Source: Internet
Author: User
Tags lua


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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.