Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

Lua Language Server Notation #15

@YvanCywan

Description

@YvanCywan

Lua Language Server Notation should very much be utilised in CoreScripts.

https://github.com/LuaLS/lua-language-server/wiki/Annotations

This provides automatic support for intellisense on VSCode (I'm pretty sure some other IDEs/editors that support Lua Language Server) and can be used to to provide additional context for reading files.

Example:

---@param seconds number
---@return boolean isWithinTime
local function isOnTime(seconds)
    return seconds < 5
end

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions