Compare commits

..

2 commits

Author SHA1 Message Date
alexweininger
87122f8695 Update changelog 2021-06-17 16:16:30 -07:00
alexweininger
87c0d61ed3 Add setting to format json strings when viewing a document 2021-06-17 16:07:34 -07:00
4 changed files with 2 additions and 52 deletions

View file

@ -1,48 +0,0 @@
name: Bug Report
description: File a bug report
title: "[Bug] "
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: repro
attributes:
label: Reproduction steps
description: "How do you trigger this bug? Please walk us through it step by step."
value: |
1.
2.
3.
...
render: bash
validations:
required: true
- type: dropdown
id: version
attributes:
label: Version
description: What version of VS Code are you using?
options:
- Stable (Default)
- Insiders
validations:
required: true
- type: dropdown
id: os
attributes:
label: What operating system are you seeing the problem on?
multiple: true
options:
- All
- Windows
- macOS
- Linux
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell

View file

@ -5,8 +5,6 @@ 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.

View file

@ -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.3", "version": "0.1.2",
"engines": { "engines": {
"vscode": "^1.55.0" "vscode": "^1.55.0"
}, },

View file

@ -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.value; document[key] = result;
} }
}); });
} }