Skip to content

Broken documentation links shown in VS Code from Ionide that is generated by F# Compiler #12017

@Jaimeloeuf

Description

@Jaimeloeuf

Issue:
The links generated by F# compiler and passed to VS Code Ionide links are broken and links to a 404 - Page not found


Expected behavior
Expected link to be valid


Actual behavior

  • When there are code issues detected, an error message is shown: The non-generic type 'Program.Example' does not expect any type arguments, but here is given 1 type argument(s) F# Compiler(33)
  • Where 33 is an underlined link that can be clicked, and upon clicking it, it brings me to https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/compiler-messages/fs0033 and this is a invalid link, below attached is a screen shot of the site.
    Screenshot of site
  • The full error message generated is
    image

I assume this issue is with F# compiler since I was unable to find any references to the documentation site by searching around in the Ionide repo, but was able to find references to the error message within this repo, thus am opening here. Do let me know if this is the wrong place!


Repro steps

  1. Create F# project in VS Code
  2. Write some invalid code and wait for compiler to show error
  3. Click on link to learn more to see the error site

This works with all the errors I had so far, not just error 33.

I am not too sure how to fix this too, but do let me know if this is something I can help fix and make a PR too.


Related information

  • Windows 10
  • dotnet --version gives 5.0.300
  • Visual Studio Code 1.59.1 3866c3553be8b268c8a7f8c0482c0c0177aa8bfa x64
  • Ionide v5.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions