IntelliJ-EmmyLua icon indicating copy to clipboard operation
IntelliJ-EmmyLua copied to clipboard

Lua IDE/Debugger Plugin for IntelliJ IDEA

Results 171 IntelliJ-EmmyLua issues
Sort by recently updated
recently updated
newest added

## 问题 现在的 `@class` 注解, 只支持 `@field` 属性,用于定义一个 `class` 的成员。 ## 期望 增加一个 `@constructor` 注解, 用于给 `@class` 定义构造函数 ## 举例 -- user.lua ``` local function new_user(name) end --- @class entity.User...

enhancement
feature request

Previously, there was an issue where if you provided a generic to a type, it would not properly suggest functions. As you can see, if there is no generic, it...

Environment(环境) -------------- name | version ----------|---------- IDEA version | IU-223.8214.52 EmmyLua version | 1.3.8-IDEA223 OS | Windows 10 What are the steps to reproduce this issue?(重现步骤?) ------------------------------------------------ 1. 新建一个lua文件 2....

bug

Environment(环境) -------------- name | version ----------|---------- IDEA version | IU-223.8214.52 EmmyLua version | 1.3.8-IDEA223 OS | Windows 10 What are the steps to reproduce this issue?(重现步骤?) ------------------------------------------------ 1. 新建一个lua文件 2....

bug

1. 正确实现alias字面值常量在字符串内的补全 ![3VCDQ5R_9~DDQM21~)2J(Y8](https://user-images.githubusercontent.com/40318218/212022325-8be98dae-091e-4cc8-9692-cb0e70dc14c6.png)

enhancement

以 math.lua 举例: emmy-lua 中的 `math` 模块源码如下: ```lua math = {} function math.abs(x) return 0 end .... ``` 因为没有给 `math = {}` 加上 `@class` 申明, 因此当我想扩展lua标准库的 `math` 模块的时候,例如: 我想写一个 `libs.math`...

question

`@class` 注解只能作用在 local / global 变量上, 有没有可能支持作用在匿名的 `table` 上呢? 比如: ```lua local structs = { role = --- @class struct.Role { name = { type=string, } } } ```

question

现在想在方法上备注该方法会抛出异常, 但是翻了一下, 貌似 emmylua 没有 异常相关的注解, 可否加一个 类似 @throws 之类的注解?对应在方法提示上也可以显示出来

IDEA version | [2022.3 Community] EmmyLua version | [v1.3.8] OS | Windows 10] I'm using EmmyLua with Unlua to create Unreal Engine scripts. I'm testing the type hints options: ![hint2](https://user-images.githubusercontent.com/93630866/206595138-9b7c2fe5-0fb0-4c85-8b54-8af4dda3a309.jpg)...

question