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
However I think it makes sense to report this here as well since I don't think there are many consumers of this API in the first place.
Context
documentation_url will only return a result for base RuboCop cops. Per the methods documentation, extensions are encouraged to implement this themselves but none I know of do, including all the official ones.
👋 Thanks for the report, and for creating the issue upstream. I don't think there's really anything we can do within ruby-lsp for this currently. Once rubocop/rubocop#12884 is resolved, this should start to work. If not, feel free to re-open.
Description
Here is how it looks like for buildin cops:
RuboCop Rails (and all other extensions):
This may be an upstream issue rubocop/rubocop#12884
However I think it makes sense to report this here as well since I don't think there are many consumers of this API in the first place.
Context
documentation_url
will only return a result for base RuboCop cops. Per the methods documentation, extensions are encouraged to implement this themselves but none I know of do, including all the official ones.https://github.com/rubocop/rubocop/blob/7f9595aa3ca3524f888b1464c4eeb7e15aabfc22/lib/rubocop/cop/base.rb#L63-L69
rubocop --show-docs-url Rails/Exit
prints the correct result, however it relies on private API.The text was updated successfully, but these errors were encountered: