Skip to content

Feat: warn about unknown/misspelled doc tags #610

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

Merged
merged 2 commits into from
Jul 15, 2025

Conversation

taminomara
Copy link
Contributor

Since we export all unknown doc tags in doc cli, there's currently no way of knowing if the user added a custom doc tag, or misspelled an existing one.

This PR attempts to fix this by introducing functionality to define known custom doc tags in .emmyrc.json.

It implements a diagnostic checker for unknown doc tags, completion suggestions for known tags, and quick-fix actions to add unknown tags to the config.

Note: I didn't add translations, but left relevant TODOs in locale files.

Since we export all unknown doc tags in doc cli, there's currently no way of knowing if the user added a custom doc tag, or misspelled an existing one.

This PR attempts tp fix this by introducing functionality to define known custom doc tags in `.emmyrc.json`.

It implements a diagnostic checker for unknown doc tags, completion suggestions for known tags, and quick-fix actions to add unknown tags to the config.

Note: I didn't add translations, but left relevant TODOs in locale files.
@CppCXY CppCXY merged commit a217258 into EmmyLuaLs:main Jul 15, 2025
17 checks passed
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

Successfully merging this pull request may close these issues.

2 participants