How to setup Visual Studio Code to detect and set the correct encoding on file open

后端 未结 3 1074
暗喜
暗喜 2021-02-01 12:57

I recently started to use Visual Studio Code on Server Systems where I did not have Studio IDE installed. I like it very much but I\'m running into a problem.

When I open

3条回答
  •  借酒劲吻你
    2021-02-01 13:30

    To allow Visual Studio Code to automatically detect the encoding of a file, you can set "files.autoGuessEncoding":true (in the settings.json configuration file).

    https://github.com/Microsoft/vscode/pull/21416

    This obviously requires an updated verison of the application compared to when the question was originally asked.

提交回复
热议问题