YarnSpinnerTool / YarnSpinner

Yarn Spinner is a tool for building interactive dialogue in games!
https://yarnspinner.dev
MIT License
2.3k stars 201 forks source link

yarn function comments are being truncated to the first line #378

Closed McJones closed 6 months ago

McJones commented 9 months ago

As it currently stands any document comments on a YarnFunction attributed method are slurped up and presented by the LSP when you hover over the function in a Yarn file. However the hover is being truncated to the first line.

See attached

Screen Shot 2023-11-24 at 1 46 34 pm Screen Shot 2023-11-24 at 1 46 43 pm
desplesda commented 9 months ago

Looking at the tooltip, it looks like it's truncating at the XML tag, rather than at the end of the line.