lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

A language server that offers Lua language support - programmed in Lua

Results 496 lua-language-server issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Its seems like operators can only be defined one way? I want number * Vec3 to be Vec3. Am I missing something? **To Reproduce** ```lua --- @class...

enhancement

`@generic` seems to be behaving weirdly when being used in a class. ```lua ---@class Array: { [integer]: T } ---@type Array local arr = {} -- correctly warns that I...

enhancement
type check
generic

I've been looking to add more python style function calls where you can mix both have positional arguments and keyword arguments. It almost works already 😄 except type checking is...

enhancement
type check

If I have any class, and I get a warning like the following on a function that is being given a class field as a parameter (e.g., `tohex(class_name.class_field)`): ``` Cannot...

enhancement
type check

Latest Vscode, Latest Master ```lua ---@generic V: string ---@param list V[] ---@return {[V]: true} util.list_to_map = function(list) local map = {} for k, value in pairs(list) do map[value] = true...

bug
generic

At present a variable's nil check is recognised as meaning the variable can't have a type of nil within the code block, but this doesn't work for object fields. Setup...

enhancement

Vscode / Extension 3.5 Initially I tried to use .luarc.json file per workspace but everything is too similiar and one change means changing them for all Current Layout Root/Folder/WorkspaceA Root/Folder/WorkspaceB...

enhancement

As per the title meta/spell is not included in vscode releases. Additionally a setting to disable the spell meta, and a setting for paths to a user dictionary if these...

enhancement

If we know enough information about the type passed into `unpack`, we could infer the unpacked values as a result. For example: ![image](https://user-images.githubusercontent.com/7483747/179793161-b5225125-0205-4d41-a43d-d06038f2c58d.png) We know that both `x` and `y`...

enhancement

Infers `a` and `aa` correctly but not the rest ```lua ---@diagnostic disable: codestyle-check, spell-check, unused-local ---@alias AnyChild A|B|C ---@class PARENT local PARENT = {} ---@class A: PARENT local A =...

enhancement