castwide / vscode-solargraph

A Visual Studio Code extension for Solargraph.
Other
423 stars 25 forks source link

Odd behavior when using yard `@!parse` and code completion #176

Closed olbrich closed 4 years ago

olbrich commented 4 years ago

image

Using solargraph 0.39.7 and ruby 2.6.5

Note that the default argument of the parsed class method is pulling in a chunk of the comment on the top level class.

The rendered yard docs are correct and do not have this problem.

castwide commented 4 years ago

Confirmed. I'll have it fixed in the next gem release.

castwide commented 4 years ago

This should work as expected in the latest gem (0.39.11).