commit
5d8c285b06
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export class XmlFormattingEditProvider implements vsc.DocumentFormattingEditProv
|
||||||
};
|
};
|
||||||
|
|
||||||
let formatter = new XmlFormatter(formatterOptions);
|
let formatter = new XmlFormatter(formatterOptions);
|
||||||
let xml = formatter.format(document.getText());
|
let xml = formatter.format(document.getText(range));
|
||||||
|
|
||||||
return [ vsc.TextEdit.replace(range, xml) ];
|
return [ vsc.TextEdit.replace(range, xml) ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue