地址:http://lua-users.org/wiki/LuaPowerPatches
Advanced readline support (5.2, 5.1, 5.0)
This patch adds the following features to the existing readline support in Lua 5.x:
- Completion of keywords and global variable names.
- Recursive and metatable-aware completion of variable names.
- Context sensitive delimiter completion.
- Save/restore the history to/from a file (
LUA_HISTORY
env variable).
- Set a limit for the size of the history (
LUA_HISTSIZE
env variable).
- Set the app name to allow for
$if lua ... $endif
in ~/.inputrc
.
After applying the patch start Lua and try these (replace ~
with the TAB key):
~~
fu~foo() ret~fa~end<CR>
io~~~s~~~o~~~w~"foo\n")<CR>
分享到:
相关推荐
LUA虚拟机,提供对LUA代码进行编译/解释执行的功能。LUA类库常量(常量)。LUA类库常量掩码,提供给 LUA.加载类库() 使用.LUA类型 (常量)。LUA数据类型值。用以判断LUA传递到应用程序环境中的数据类型的一组常量。...
可以作用于LUA编写代码提示 当编写Lua时出现对于Unity代码的提示 节省编写Lua的时间 减少程序猿的痛苦
很全面的实例代码,luacurl网络连接、luafilesystem、luajson、luasocket、luasql、luatask、luaxml、md5
LUA脚本支持库|LUA脚本支持库
lua网络验证系统 lua代码 php后台源码 请勿商业运营,违法使用和传播!仅供研究学习使用!
介于许多小伙伴 打开lua官网很慢,下载lua源代码很慢,传一个lua5.4.6最新版本的源代码
Lua脚本支持库
LUA5.0源代码LUA5.0源代码LUA5.0源代码LUA5.0源代码LUA5.0源代码LUA5.0源代码LUA5.0源代码LUA5.0源代码LUA5.0源代码LUA5.0源代码LUA5.0源代码
Lua代码性能分析 Lua代码性能分析
strokeit批量生成代码片段.lua,strokeit批量生成代码片段.lua,strokeit批量生成代码片段.lua
用vsdoe开发cocos2dx-lua的辅助文件,用于代码提示,提高代码效率。一并提交了制作脚本。 cocos2dx-lua,vscode代码提示文件,附带制作脚本
所有版本LUA源码 lua-5.3.5 lua-5.3.4 lua-5.3.3 lua-5.3.2 lua-5.3.1 lua-5.3.0 lua-5.2.4 lua-5.2.3 lua-5.2.2 lua-5.2.1 lua-5.2.0 lua-5.1.5 lua-5.1.4 lua-5.1.3 lua-5.1.2 lua-5.1.1 lua-5.1 lua-5.0.3 lua-...
表情符号 :speech_balloon:Lua的基本表情符号支持模块 :crescent_moon:例子 local emoji = require ( " emoji " )print (emoji. emojify ( " I :heart: :tea:! " ))-- > "I :red_heart: :teacup_without_handle:!...
lua for循环代码示例,比较简单,仅供参考测试
lua测试代码
SourceInsight菜单中,依次选择:Options > Preferences,然后选择Languages选项页。 点击Import按钮,选择Lua.CLF,添加语言支持,在列表中即可看到 Lua 一项。...SourceInsight对Lua语言的支持即设置完毕。
Unity_Xlua_lua代码调用UnityUI组件代码.
这个工具可以计算代码行数,但是需要自己添加文件,但是可以计算lua代码行数,比较方便.