Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@deprecated doesn't actually do anything #40

Open
adriweb opened this issue Jan 12, 2021 · 1 comment
Open

@deprecated doesn't actually do anything #40

adriweb opened this issue Jan 12, 2021 · 1 comment

Comments

@adriweb
Copy link

adriweb commented Jan 12, 2021

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
Copy link
Author

adriweb commented Jan 16, 2021

Looks like someone created the same ticket on emmylua heh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant