EmmyLua 1.1.9  发布,此次更新主要内容:
- [NEW] 注释可以选择严格模式,即格式写错会报错,默认是容错模式。需在 settings / EmmyLua/ strict doc 中开启  
 
- [NEW] 新注解 ---@language 对lua字符串可进入代码注入(language injector)  
 
- [NEW] 新注解 ---@overload 用于标注重载  
 
- [NEW] 新注解 ---@module 用于兼容 module() 方式创建的模块(不建议使用) 
- [NEW] 在方法上显示分割线(line separator),需在 settings / EmmyLua /show class method line separator 中开启  
 
- [NEW]
 可显示本地变量(local 
variable)变量类型,需在 settings / editor / general /appearance / show parameter name hints#configure / Show local variable type hints 中开启  
 
- [NEW]
 
可显示形参(parameter)类型,需在 settings / editor / general / appearance /show parameter name hints#configure / Show parameter type hints 中开启  
 
- [NEW]
 
可显示函数返回值(return)类型,需在 settings / editor / general / appearance /show parameter name hints#configure / Show function return type hints 中开启  
 
- [FIX] issue 41 
- [IMPROVE] 在关键字如 local, function ... 代码完成时自动在其后添加空格 
- [IMPROVE] 改进Quick Documentation 
- [CHANGE] 在函数/方法代码完成时不创建参数模板 
- [FIX] 解决前置声明local函数的BUG 
- [NEW] 从构造函数推断类型,如 local a = xxx.new() , a 将被推断为 xxx 的类型,并可以设置自定义构造函数名 
- [FIX] 修复在文件尾输入 --[ 崩溃的BUG 
- [NEW] 为Lua5.3的 goto 完善跳转和代码提示 
- [NEW] 增加inspection,同名的local定义将出现同名警告 
EmmyLua 是IntelliJ IDEA平台的一款Lua语言插件,提供强大的语法着色,错误检查,代码完成,代码调试等功能,免费开源欢迎使用。
开源主页
文档地址
下载地址