-
Notifications
You must be signed in to change notification settings - Fork 35
DOCSP-44687 export to playground with Copilot #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
4f18574
422b4d3
f0f7758
e0ac6ad
54aac61
6f4891b
eaa9840
1235acc
dd324ed
235ea3a
b1cf4c2
4edadd0
c363216
2368cd1
1c48330
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,8 @@ Create a New Playground | |
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
You can create a new playground from the :guilabel:`Playgrounds` | ||
panel, the |vsce| *Overview* page, or the |vscode| Command Pallette. | ||
panel, the |vsce| *Overview* page, the |vscode| Command Pallette, or | ||
your project file. | ||
|
||
.. tabs:: | ||
|
||
|
@@ -121,6 +122,25 @@ panel, the |vsce| *Overview* page, or the |vscode| Command Pallette. | |
|
||
.. include:: /includes/steps/open-new-playground.rst | ||
|
||
.. tab:: Your Project File | ||
:tabid: project-file | ||
|
||
1. Open a project file. | ||
|
||
|
||
To open a file in |vscode-short|, click the file name in the | ||
|
||
file explorer. | ||
|
||
#. Highlight the code that you want to open in a playground. | ||
|
||
|
||
#. Right-click to select :guilabel:`Export Code to Playground`. | ||
|
||
Right-click your selected code to open the options menu. | ||
Click :guilabel:`MongoDB Copilot Participant` > | ||
|
||
:guilabel:`Export Code to Playground`. | ||
|
||
When you click :guilabel:`Export Code to Playground`, |vscode-short| | ||
opens a new playground with your selected code. | ||
|
||
|
||
Open a Saved Playground | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ltran-mdb2 I think this might best for this to live in it's own nav as it is a complimentary feature to "Export to Language". We could call it "Test Application Query" in the nav and make the title "Export and Test Application Query in Playgrounds".
Lastly, on both of them (i.e. Export to Language) - could we call out that these features are currently only available for users who have Github Copilot & MongoDB's Copilot extension enabled?