fsprojects / fsharp-language-server

Other
219 stars 37 forks source link

Xml documentation of custom functions not formatted #48

Open FedericoBinda opened 5 years ago

FedericoBinda commented 5 years ago

Hi

A small issue: when I hover with the mouse over a function that I defined myself and has xml documentation, the xml is not rendered.

georgewfraser commented 5 years ago

Would you mind making a tiny but complete example in the sample/ directory? That will make it easy to write a test of the missing functionality.

FedericoBinda commented 5 years ago

Well, I encountered another issue while trying to do what you asked. I will try to clarify the original issue first and the new issue next.

I am working with vscode on a Mac and using your extension. In my projects I normally use verbose syntax (I don't know if that matters). When I hover over one of the standard library functions, it shows the documentation, and it is formatted correctly (see screenshot below).

screenshot 2019-02-22 at 07 30 52

However, if I define my own function and then hover over it, the text is unformatted (see screenshot below).

screenshot 2019-02-22 at 07 33 20

Now, the new issue I have is the following. I created a new project to do what you asked, and the intellisense did not work at all for the project! I got the message that you see in this screenshot:

screenshot 2019-02-22 at 07 23 28

georgewfraser commented 5 years ago

You need an .fsproj file that references Library.fs, so that FSLS can figure out how to compile Library.fs