[How To]Let EditPlus Support LUA Language (Windows)
2010-12-06 15:04
375 查看
Download Lua package LuaForWindows from Google Code.
Install Lua package. (Lua for Windows installs Lua language, SciTE based Lua IDE and Lua modules to the directory of you choice at install time.)
Setup EditPlus
Tools -> Preference -> Settings & syntax
Click "Add" button;
Input "lua" after "Description:";
Input "lua" after "File extensions:";
Input "C:\Program Files\EditPlus 2\lua51.stx" after "Syntax file:"; (Please Note: the stx file can be download here.)
Input "function [a-zA-Z0-9]+\([a-zA-Z0-9 ,]+\)\n.*\nend" after "Function pattern:";
Click "Apply" button.
Tools -> Preference -> User Tools
Click "Add Tool >>" button;
Input "Lua5" after "Menu text:";
Input "C:\Program Files\Lua\5.1\lua.exe" after "Command:";
Input "$(FilePath)" after "Argument:";
Input "$(FileDir)" after "Inital directory:";
Make sure the checkbox "Capture output" is checked;
Make sure the checkbox "Save open files" is checked;
Click "Output Pattern" button.
Make sure the checkbox "Use default output pattern" is unchecked;
Input "^(.:\\.*):([0-9]):.*" under "Regular expression:"
Choice "Tagged Expression1" after "File Name:";
Choice "Tagged Expression2" after "Line:";
Click "OK" button.
Click "Apply" button.
Enjoy Lua in EditPlus.
Install Lua package. (Lua for Windows installs Lua language, SciTE based Lua IDE and Lua modules to the directory of you choice at install time.)
Setup EditPlus
Tools -> Preference -> Settings & syntax
Click "Add" button;
Input "lua" after "Description:";
Input "lua" after "File extensions:";
Input "C:\Program Files\EditPlus 2\lua51.stx" after "Syntax file:"; (Please Note: the stx file can be download here.)
Input "function [a-zA-Z0-9]+\([a-zA-Z0-9 ,]+\)\n.*\nend" after "Function pattern:";
Click "Apply" button.
Tools -> Preference -> User Tools
Click "Add Tool >>" button;
Input "Lua5" after "Menu text:";
Input "C:\Program Files\Lua\5.1\lua.exe" after "Command:";
Input "$(FilePath)" after "Argument:";
Input "$(FileDir)" after "Inital directory:";
Make sure the checkbox "Capture output" is checked;
Make sure the checkbox "Save open files" is checked;
Click "Output Pattern" button.
Make sure the checkbox "Use default output pattern" is unchecked;
Input "^(.:\\.*):([0-9]):.*" under "Regular expression:"
Choice "Tagged Expression1" after "File Name:";
Choice "Tagged Expression2" after "Line:";
Click "OK" button.
Click "Apply" button.
Enjoy Lua in EditPlus.
相关文章推荐
- How to Add Perl CGI Script Support to Your Apache Server on Windows
- lua study -- how to call lua function use C language
- How to let IE support HTML5 tags(aside, section, header, footer, etc..)
- Windows how to exec programme which implemented with .net language
- How to change the language of oracle sqlplus from chinese to english in windows(如何将oracle sql plus中的中文变成英文版)
- How to Exploit Multiple Monitor Support in Memphis and Windows NT 5.0
- how to deal with the situation that the language support option disappears in linux ubuntu
- How to build cURL static library with SSL support on Windows
- How to Create a Automated Task that Runs at a Set Time in Windows 7
- Lua For Windows环境配置及Editplus编辑工具使用
- How to launch Windows applications (Notepad) / Call Batch files from a C#/.NET console application.
- How to Set Up Your Own Home Seedbox (in Windows)
- How to reset a Roaming Profile in Windows 7
- Error:Jack is required to support java 8 language features. Either enable Jack or remove sourceCompa
- How to Set Classpath for Java on Windows and Linux
- how to use a SQLite database in a standalone program with an HTML interface and VBScript as the programming language
- How To Monitor Remote Windows Machine Using Nagios on Linux
- How to improve my oral language skill?
- How to Make Windows Start Up Faster---如何提高windows启动速度
- How to access system messages in Linux? Does Linux have something like Windows Event Log?