-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugfile-explorerExplorer widget issuesExplorer widget issuesverifiedVerification succeededVerification succeeded
Milestone
Description
Steps to Reproduce:
- let an extension configure a custom encoding for its language, e.g. for markdown via
package.json:
"configurationDefaults": {
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": false,
"files.encoding": "utf16be"
}
}- open a markdown file (it should show up as garbage)
- reload window
=> file is back to UTF-8
=> the encoding configuration is only resolved later after the file has already loaded
Suggest fix is to store the encoding information of the file into storage and restore it after restart from there.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugfile-explorerExplorer widget issuesExplorer widget issuesverifiedVerification succeededVerification succeeded