lua-language-server
lua-language-server copied to clipboard
[Feature Request] @alias hover description / search for description
It would be really nice, to have a popup, when hovering over a @alias.
---@alias DeviceSide
---| '"left"' # The left side of the device
---| '"right"' # The right side of the device
---| '"top"' # The top side of the device
---| '"bottom"' # The bottom side of the device
---| '"front"' # The front side of the device
---| '"back"' # The back side of the device
---@param side DeviceSide
local function checkSide(side) end
Hover description eg:
checkSide("left")
when hovering over "left", display a popup with the text: The left side of the device
Search for description When beginning to type:
checkSide(left side
it would be great, if the IntelliSense would show the entry "left" -- The left side of the device