Skip to content

Remove hard-coded inlay hint max length limit #2101

@Krzysztof-Cieslak

Description

@Krzysztof-Cieslak

Discussed in #2100

Originally posted by nkosi23 August 22, 2025
Vscode now has the following setting:

 "[fsharp]": {
    "editor.inlayHints.maximumLength": 0
  }

And setting it to 0 is supposed to disable truncation. However, it looks like Ionide has a hard limit at 30 characters.

This seriously degrades the usefulness of hints in my case, as my type names tend to be long, moreover i do a lot of interop with C# so it is not uncommon to have generic types like Collections.Generic.IReadOnlyList<Appointment> truncated with Collections.Generic.IReadOnlyL.

Is there a way to remove the hard limit? Otherwise, would it be possible to remove it, since vscode already takes care of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions