VSCode-EmmyLua
VSCode-EmmyLua copied to clipboard
Lua IDE/Debugger Plugin for VSCode
hi. I'm using EmmyLua in VSCode along with Gideros framework. Gideros has some extra operators such as +=, -= and so forth. Would you be able to point me in...
 You know, tables are not objects. There are no restrictions on use numbers as keys. Sometimes I want to combine the functionality of an object and an array in...
**插件版本:** vscode emmylua 0.3.49 **问题描述:** f = function () body end 形式的函数定义不能正确解析出函数名 **建议:** 希望能提供属性关联属性访问器的功能 **样例代码:** ``` ---@class BaseBuilding : class ---@field public icon string @图标 local BaseBuilding = Class.inheritsFrom("BaseBuilding") local...
Please, look at this short example: ```lua local class = require "middleclass" ---@type MiddleClass local Fruit = class("Fruit") ---@param color table ---@param size number function Fruit:initialize(color, size) self.color = color...
 I suspect it is because I define a function using a local variable that should be then considered local function but it ends up placed in the global scope.
如 `user.session or user.session.time` 就是错误的表达,若前面 `user.session` 为false,后面的 `user.session.time` 将报错。 事实上,上例应是写错了,实际为 user.session **and** user.session.time ,但肉眼检查困难,类似的错误书写还有 `not user.session and user.session.time` 。 希望提示错误“后面的表达式在语法上错误”
Hi, Is it possible to have EmmyLua ignore (don't parse) certain directories? In my project I have an `out/` directory with bundled and/or minified code. Sometimes "go to definition (F12)"...
如果有多个不同的lua文件,拥有同名全局变量的话,在vscode下跳转到定义很容易跳转到其他不同文件的定义,希望能优先跳转本文件的全局变量。