Open renatolond opened 7 months ago
With this class
class FooBar # @param param [String] My Cool Param def method1(param); end # @param param (see #method1) def method2(param); end end
(I realize in the screenshots it's showing the name param1, but I fixed it and the result is the same)
If I generate the yard docs, method2 gets the params described:
However, it seems that solargraph does not pick up the param for method2: While it picks up for method1:
method2
method1
It seems using the see for all params also does not work
class FooBar # @param param1 [String] My Cool Param def method1(param); end # @param (see #method1) def method2(param); end end
Solargraph version:
❯ solargraph -v 0.49.0
The (see x) syntax isn't currently supported in Solargraph, but it's useful enough that I'll try to get it into the next release.
(see x)
With this class
(I realize in the screenshots it's showing the name param1, but I fixed it and the result is the same)
If I generate the yard docs, method2 gets the params described:![image](https://github.com/castwide/solargraph/assets/173791/a4d65661-c2b1-485b-8b68-cbfc92431b2b)
However, it seems that solargraph does not pick up the param for
While it picks up for ![image](https://github.com/castwide/solargraph/assets/173791/f5bc622f-a428-45b8-82d0-b62c66b5eb59)
method2
:method1
:It seems using the see for all params also does not work
Solargraph version: