Skip to content

Allow defining the size of arrays #1081

Open
@C3pa

Description

@C3pa

Feature request
I'd want a way to define the size of arrays. I propose the following:

---@type string[3]
local arr = {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeat/LuaCats AnnotationsRelated to Lua Language Server Annotations (LuaCats)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions