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

[Feature Request] @alias hover description / search for description

Open bergerb-com opened this issue 1 year ago • 0 comments

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

bergerb-com avatar Dec 03 '23 16:12 bergerb-com