Skip to content

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