Skip to content

tsserver: need to be able to send content on open #5530

@dbaeumer

Description

@dbaeumer

Since the tsserver can crash (for example due to memory limits) we added code to VSCode to restart the server. However if a TS file is not saved we can't bring the server back in sync since the open command reads the content from disk. To enable the restart case the open command must accept the content as well. To not break existing client the content can be made optional and if not provided read from disk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issueHelp WantedYou can do thisSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions