File tree Expand file tree Collapse file tree 1 file changed +26
-6
lines changed Expand file tree Collapse file tree 1 file changed +26
-6
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,32 @@ files with the ``.mongodb`` extension as playgrounds.
30
30
31
31
.. include:: /includes/admonitions/note-playgrounds.rst
32
32
33
- |vsce| splits your Playground window to display the results of your
34
- Playground in |json| format in the right-side pane labeled ``Playground
35
- Results.json``. If you disabled split-view, |vsce| displays the
36
- Playground results in |json| format in a new tab to the right of
37
- your Playground. You cannot edit the results in the results pane.
38
- You can save the results to a file.
33
+ |vsce| splits your Playground window to display your
34
+ :guilabel:`Playground Result` in the right-side pane. You can perform
35
+ one of two actions on the result depending on the query you ran in
36
+ the Playground.
37
+
38
+ - You may save *any* :guilabel:`Playground Result` to a file.
39
+
40
+ - You may edit any |json| document that |vsce| returns in the
41
+ :guilabel:`Playground Result` from a
42
+ :doc:`findOne or find query </read-document-playground>`.
43
+
44
+ |vsce| returns these results in |json| format with |json| syntax
45
+ highlighting. Each |json| document has an :guilabel:`Edit Document`
46
+ link at its top.
47
+
48
+ 1. Click :guilabel:`Edit Document` at the top of the document you
49
+ want to edit.
50
+
51
+ |vsce| opens this one |json| document in a new window as an
52
+ editable document.
53
+
54
+ 2. Make any changes you need.
55
+
56
+ 3. Press :kbd:`Ctrl+S` (:kbd:`Cmd+S` on macOS) to save those changes
57
+ in the database.
58
+
39
59
40
60
Prerequisite
41
61
------------
You can’t perform that action at this time.
0 commit comments