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.
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.