lua-language-server
lua-language-server copied to clipboard
Feature Request: Deprecate fields and parameters
Could really use a clean way to mark specific field and parameters as deprecated. Currently I'm adding @**[DEPRECATED]** to the start of the comments for the field/parameter, but this doesn't change the name with a strike-through (as happens with functions).
You can use ---@deprecated
for field.
But there is no way for parameter.
You can use ---@deprecated for field.
how 🤔 im trying
---@class foo
---@deprecated
---@field example string
foo = {}
but it does not work
Would like to see this as well.