Skip to content

Mixed encoding projects can cause the LSP server to loop-restart #232

@nickbattle

Description

@nickbattle

If you have a project with a mixture of UTF-8 and UTF-16LE source files, the server is told to shutdown and restart in a loop?

Strangely, the LSP message exchanges look reasonable - there isn't an exception thrown, for example, just error messages from the parser when the UTF-16LE file is parsed, as expected.

The Client does pop up a warning about the non-UTF-8 file, but we should probably do better that allowing the restart loop?

Metadata

Metadata

Assignees

No one assigned

    Labels

    UI bugSomething isn't working in the VSCode UIVDMJ bugSomething is wrong in the LSP/DAP servers or VDMJ itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions