parent
c7837ea750
commit
0d53acce8c
2 changed files with 12 additions and 1 deletions
|
@ -780,6 +780,16 @@ export const SUPPORTED_ENCODINGS: { [encoding: string]: { labelLong: string; lab
|
|||
labelLong: 'Simplified Chinese (GB 2312)',
|
||||
labelShort: 'GB 2312',
|
||||
order: 45
|
||||
},
|
||||
cp865: {
|
||||
labelLong: 'Nordic DOS (CP 865)',
|
||||
labelShort: 'CP 865',
|
||||
order: 46
|
||||
},
|
||||
cp850: {
|
||||
labelLong: 'Western European DOS (CP 850)',
|
||||
labelShort: 'CP 850',
|
||||
order: 47
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -204,7 +204,8 @@ configurationRegistry.registerConfiguration({
|
|||
'enum': Object.keys(SUPPORTED_ENCODINGS),
|
||||
'default': 'utf8',
|
||||
'description': nls.localize('encoding', "The default character set encoding to use when reading and writing files."),
|
||||
'scope': ConfigurationScope.RESOURCE
|
||||
'scope': ConfigurationScope.RESOURCE,
|
||||
'enumDescriptions': Object.keys(SUPPORTED_ENCODINGS).map(key => SUPPORTED_ENCODINGS[key].labelLong)
|
||||
},
|
||||
'files.autoGuessEncoding': {
|
||||
'type': 'boolean',
|
||||
|
|
Loading…
Reference in a new issue