Fixup
This commit is contained in:
parent
47c405a9f5
commit
883893aaab
3 changed files with 4 additions and 2 deletions
|
@ -5,6 +5,8 @@ All notable changes to the "vscode-appwrite" extension will be documented in thi
|
||||||
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
|
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.1.3] - 2021-6-17
|
||||||
## Added
|
## Added
|
||||||
- New feature! JSON strings inside documents will now be automatically formatted as JSON when viewing documents. You can turn this feature off via the `appwrite.formatJsonStrings` setting.
|
- New feature! JSON strings inside documents will now be automatically formatted as JSON when viewing documents. You can turn this feature off via the `appwrite.formatJsonStrings` setting.
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "vscode-appwrite",
|
"name": "vscode-appwrite",
|
||||||
"displayName": "Appwrite",
|
"displayName": "Appwrite",
|
||||||
"description": "Manage your Appwrite resources right from VS Code!",
|
"description": "Manage your Appwrite resources right from VS Code!",
|
||||||
"version": "0.1.2",
|
"version": "0.1.3",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.55.0"
|
"vscode": "^1.55.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -20,7 +20,7 @@ export async function viewDocumentAsJson(documentTreeItem: DocumentTreeItem): Pr
|
||||||
Object.entries(document).forEach(([key, value]) => {
|
Object.entries(document).forEach(([key, value]) => {
|
||||||
if (typeof value === "string") {
|
if (typeof value === "string") {
|
||||||
const result = parseJSONString(value);
|
const result = parseJSONString(value);
|
||||||
document[key] = result;
|
document[key] = result.value;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue