forked from external/vscode-xml
Add XML Tree View
This commit is contained in:
parent
dab5b0c072
commit
c37ac45e80
11 changed files with 388 additions and 12 deletions
|
|
@ -14,7 +14,7 @@ export interface XmlFormattingOptions {
|
|||
export class XmlFormattingOptionsFactory {
|
||||
static getXmlFormattingOptions(formattingOptions: FormattingOptions, eol: EndOfLine): XmlFormattingOptions {
|
||||
const config = workspace.getConfiguration(constants.extensionPrefix);
|
||||
|
||||
|
||||
return {
|
||||
editorOptions: formattingOptions,
|
||||
newLine: (eol === EndOfLine.CRLF) ? "\r\n" : "\n",
|
||||
|
|
@ -23,4 +23,4 @@ export class XmlFormattingOptionsFactory {
|
|||
splitXmlnsOnFormat: config.get<boolean>("splitXmlnsOnFormat")
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue