You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reuse doc completion, hover, and definition for @see
This PR improves handling of `@see` contents by reusing machinery introduced
for parsing documentation comments. The behaviour is backwards-compatible
with the old syntax (`@see class#member`).
To avoid code duplication, I've adjusted `TkDocSeeContent` to only include
symbols that are valid in cross-references. The rest is pushed into
`Description`, [which was already present in AST][desc], but remained empty
due to `TkDocSeeContent` consuming the entire line.
Fix#671
[desc]: https://github.com/EmmyLuaLs/emmylua-analyzer-rust/blob/2bb63fa4dca5ddd617b70c08f74bf11a15f2b6f8/crates/emmylua_parser/src/grammar/doc/tag.rs#L386
0 commit comments