Skip to content

Inlay hints should accept a list of files, not individual files #45380

Open
@DanielRosenwasser

Description

@DanielRosenwasser

Inlay hints can be affected by edits in other files. That means you can end up in situations where 2 files can be edited side-by-side where one ends up with stale inlay hints.

image

To spare editors from making multiple requests, we should consider accepting a list of files instead of a single file as an argument.

Tracking on VS Code's side: microsoft/vscode#130430

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRelates to the public API for TypeScriptDomain: Inlay HintsDomain: TSServerIssues related to the TSServerRevisitAn issue worth coming back to

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions