• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

[How To]Let EditPlus Support LUA Language (Windows)

原作者: [db:作者] 来自: [db:来源] 收藏 邀请
  1. Download Lua package LuaForWindows from Google Code.
  2. 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.)
  3. Setup EditPlus
    1. Tools -> Preference -> Settings & syntax
      1. Click "Add" button;
      2. Input "lua" after "Description:";
      3. Input "lua" after "File extensions:";
      4. Input "C:\Program Files\EditPlus 2\lua51.stx" after "Syntax file:"; (Please Note: the stx file can be download here.)
      5. Input "function [a-zA-Z0-9]+\([a-zA-Z0-9 ,]+\)\n.*\nend" after "Function pattern:";
      6. Click "Apply" button.
    2. Tools -> Preference -> User Tools
      1. Click "Add Tool >>" button;
      2. Input "Lua5" after "Menu text:";
      3. Input "C:\Program Files\Lua\5.1\lua.exe" after "Command:";
      4. Input "$(FilePath)" after "Argument:";
      5. Input "$(FileDir)" after "Inital directory:";
      6. Make sure the checkbox "Capture output" is checked;
      7. Make sure the checkbox "Save open files" is checked;

      8. Click "Output Pattern" button.
        1. Make sure the checkbox "Use default output pattern" is unchecked;
        2. Input "^(.:\\.*):([0-9]):.*" under "Regular expression:"
        3. Choice "Tagged Expression1" after "File Name:";
        4. Choice "Tagged Expression2" after "Line:";
        5. Click "OK" button.

      9. Click "Apply" button.

Enjoy Lua in EditPlus. 

转载于:https://www.cnblogs.com/Magicworks/archive/2010/12/06/1897767.html


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Lua入门记录发布时间:2022-07-22
下一篇:
[通用技术]在不同语言中用协程实现全排列算法(C++/Lua/Python/C#) ...发布时间:2022-07-22
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap