I have found that these VSCode settings in settings.json work:
Code: Select all
{
"[ahk]": {
"files.encoding": "utf8bom",
"files.autoGuessEncoding": false,
}
}
Code: Select all
"files.autoGuessEncoding": true
It works both in VSCode user settings and workspace settings (settings.json files)
VSCode version is 1.62.3
VSCode Extension "AutoHotkey Plus Plus v2.8.1"
AutohotKey 1.1.33.10
I posted this topic just to document it here in autoHotkey Board for others to find.
Of course comment's and questions are welcome.
Regards Bosse