This commit is contained in:
Josh Johnson 2018-04-27 23:15:05 -04:00
parent c37ac45e80
commit 6f0bbe3ed7
4 changed files with 5 additions and 5 deletions

View File

@ -48,4 +48,4 @@ export class XQueryCompletionItemProvider implements CompletionItemProvider {
return completionItem;
}
}
}

View File

@ -20,4 +20,4 @@ export function minifyXml(editor: TextEditor, edit: TextEditorEdit): void {
const range = new Range(editor.document.positionAt(0), endPosition);
edit.replace(range, xmlFormatter.minifyXml(editor.document.getText(), xmlFormattingOptions));
}
}

View File

@ -29,4 +29,4 @@ export class XmlFormatterFactory {
return (XmlFormatterFactory._xmlFormatter = xmlFormatterImplementation);
}
}
}

View File

@ -94,7 +94,7 @@ export class XmlTreeDataProvider implements TreeDataProvider<any> {
const array = new Array<any>();
for (let i = 0; i < node.childNodes.length; i++) {
let child = node.childNodes[i];
const child = node.childNodes[i];
if (child.tagName) {
array.push(child);
@ -139,4 +139,4 @@ export class XmlTreeDataProvider implements TreeDataProvider<any> {
this._onDidChangeTreeData.fire();
}
}
}