IntelliJ-Luanalysis icon indicating copy to clipboard operation
IntelliJ-Luanalysis copied to clipboard

@deprecated doesn't actually do anything

Open adriweb opened this issue 3 years ago • 1 comments

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?

  1. Enable the Lua > Lua deprecation inspection if it isn't already
  2. Annotate a class or a function with @deprecated Use foobar instead (or without the words after the tag, it doesn't matter)
  3. 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.

adriweb avatar Jan 12 '21 20:01 adriweb

Looks like someone created the same ticket on emmylua heh

adriweb avatar Jan 16 '21 19:01 adriweb