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
{{ message }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
It is VS Code issue. You can observe similar effect in C#. We actually DO terminate code block with signature (bounded by triple-ticks) but VS Code leaks formatting into the subsequent code. I opened microsoft/vscode#49018 long time ago, but it did not repro in a simple case. Or maybe not use html as a language for preformatted block.
Interestingly, if I copy some of the hover code and forcibly call RestTextConverter.ToMarkdown on the doc (even through it's already markdown), I get something slightly better:
From the debugger I can see it adding HTML style line breaks, which seem to work for some reason. The original string that would have been returned does appear to be as you describe. Weird.
(Mind you that RestTextConverter would have already been called, so it's basically being called twice...)
The function signature and docstring are getting mixed together, so the actual text bit is getting syntax formatted. For example:
This only happens with completion, as I can hover and see:
Where the docstring isn't being treated that way.
The text was updated successfully, but these errors were encountered: