Skip to content
Snippets Groups Projects
Commit 86a2bd12 authored by Stekelenburg, A.V. (Alexander, Student )'s avatar Stekelenburg, A.V. (Alexander, Student )
Browse files

Make saved JSON files look nice

parent cb8f7ca1
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,7 @@ function saveAsJSON(prov: AnalysisResultsProvider) {
: undefined;
vscode.window.showSaveDialog({ defaultUri: defaultUri }).then(f => {
if (f) {
fs.writeFileSync(f.fsPath, JSON.stringify(prov.getJsonObject()));
fs.writeFileSync(f.fsPath, JSON.stringify(prov.getJsonObject(), null, 4));
}
});
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment