Hi,
I'm coming from an issue that I've opened in rubocop-yard here ksss/rubocop-yard#35
I would like to be able to use @param [:some_symbol, :some_other_symbol] or @param ['some_string', 'some_other_symbol'] without having rubocop complain. I mainly rely on YARD for better solargraph LSP code completion/navigation.
The reason why the plugin complains, apparently, is that it depends on YARD::Tags::TypesExplainer, which does not seem to support it (or it got broken at some point?).
Strangely enough, when I tried it on https://yardoc.org/types.html - which, as mentioned, it uses a similar implementation to TypesExplainer - it seems to work as expected? (although I don't understand how looking at the code)
Would this make sense?
Hi,
I'm coming from an issue that I've opened in
rubocop-yardhere ksss/rubocop-yard#35I would like to be able to use
@param [:some_symbol, :some_other_symbol]or@param ['some_string', 'some_other_symbol']without having rubocop complain. I mainly rely on YARD for better solargraph LSP code completion/navigation.The reason why the plugin complains, apparently, is that it depends on
YARD::Tags::TypesExplainer, which does not seem to support it (or it got broken at some point?).Strangely enough, when I tried it on https://yardoc.org/types.html - which, as mentioned, it uses a similar implementation to TypesExplainer - it seems to work as expected? (although I don't understand how looking at the code)
Would this make sense?