IntelliJ-Luanalysis
IntelliJ-Luanalysis copied to clipboard
@deprecated doesn't actually do anything
Environment
name | version |
---|---|
IDEA version | 2020.3.1 (IC-203.6682.168) |
Luanalysis version | 1.2.1 (also tested on master as of Jan 11th) |
OS | Linux Ubuntu 20.10 |
What are the steps to reproduce this issue?
- Enable the
Lua > Lua deprecation
inspection if it isn't already - Annotate a class or a function with
@deprecated Use foobar instead
(or without the words after the tag, it doesn't matter) - Use said deprecated symbol anywhere
What happens?
Only the words written after @deprecated
end up being shown in the documentation popup of a symbol (but not mentioning Deprecated
), and no actual warning or visual representation (like strikethrough) on the usage of the deprecated symbol.
What were you expecting to happen?
The "standard" visual+warnings feedback when trying to use deprecated functions/classes, if this inspection is enabled.
Looks like someone created the same ticket on emmylua heh