Skip to content

communicating file encoding #286

Description

Some programming languages use magic comments at the beginning to specify the encoding of the file. The server and client need to agree on the encoding, so that positions and ranges match. Should the protocol sync this information? Or do we rely on the client and server implementations doing the right thing?

VScode doesn't have support for magic comments yet (created microsoft/vscode#32764).

#96 (comment) mentions something about this, but I can't find any follow-up.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions