diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 40b5d6367..58bdb02f5 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -1166,4 +1166,4 @@ "ovsx": "^0.8.3", "typescript": "^5.2.2" } -} \ No newline at end of file +} diff --git a/editors/vscode/package.other.json b/editors/vscode/package.other.json new file mode 100644 index 000000000..8d1b7fb68 --- /dev/null +++ b/editors/vscode/package.other.json @@ -0,0 +1,14 @@ +{ + "$schema": "vscode://schemas/vscode-extensions", + "contributes": { + "configuration": { + "properties": { + "tinymist.preview.background": { + "markdownDescription": "This configuration is only used for the editors that doesn't support lsp well, e.g. helix and zed. When it is enabled, the preview server is started in the background with a random port. You can discover the background previewers by running `tinymist preview`.", + "type": "boolean", + "default": false + } + } + } + } +}