Open masq6r opened 7 years ago
On the Class Library template with RC3 + VSIX this doesn't fail:
Could you share the code where you noticed this?
And @vasily-kirichenko is correct; the .NET method example is Signature Help, which actually builds up information differently, so you'll likely see different info even if there isn't a regression.
I investigated the issue a bit and found it could be a localization issue for F#. If change the language to English, I could see the full help. But when I switch to a local language like Chinese the help doesn't show for some functions. Some local text might be missing so the full help doesn't show.
Ah! That is a bug indeed, then. Do you still get localized error messages and things like that, or is this only something you've seen in QuickInfo when highlighting an item in a completion list?
Yes I can see the localized error messages... I guess some functions don't have the translated complete local help text (e.g. List.item
)
Okay, in that case I'll update this issue and re-open. Definitely a bug, but it's good that you're still getting other things localized. Thanks for drilling down into the issue @CodEFouR.
Renaming this to cover the general fact that FSHarp.Core XML doc help has never been localised
Note I believe we would need to:
implement this tag https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/xmldoc/recommended-tags#include
get the XML doc comments out of the FSharp.Core source files so they can go through localization
@dsyme, we would have to generate localizable xml files as well as improve probing, probably leveraging the .xlf infrastructure. We could do it, and the localizers would pick it up and produce new text, it would actually be great to do.
This is a localized Fench VS with English language tooltips read from the xml docs file.
The quick info shows only the signature but not the help information for some F# functions: Compared to a .NET method:
If I open the same project in VS 2015 Community the quick info shows fully.
OS: Windows 10 with latest patch VS 2017 Community RC3 Visual F# Tools extension