Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions source/copilot-export-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ Use the following steps to test your application code in a playground:
Once you export your code to a playground, you can click
:icon-fa5:`play` on the top right of your window to run your query.

You can also convert your code to a driver language with the
:ref:`Export to Language <vsce-export-to-language>` feature.

.. seealso::

- :ref:`vsce-playgrounds`
Expand Down
11 changes: 8 additions & 3 deletions source/export-to-language.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ Export a Query or Pipeline to Language
:class: singlecol

You can export and translate query documents and aggregation pipelines
from a :ref:`playground <vsce-playgrounds>` into a programming language.
You can export queries and pipelines to the following languages:
from a :ref:`playground <vsce-playgrounds>` into a programming language
using the :ref:`vsce-copilot`. You can export queries and pipelines to the
following languages:

- C#
- Go
Expand All @@ -25,6 +26,11 @@ You can export queries and pipelines to the following languages:
- Ruby
- Rust

.. note::

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts on moving this under pre-req or does it not make sense? We can combine it with the note in the pre-req section so it would read like:

The :guilabel:`Export to Language` feature is only available if you enable |copilot|. You can also open a new playground to test and export queries using the Copilot extension. For more information, see [Export and Test Queries with Copilot.](https://deploy-preview-104--docs-mongodb-vscode.netlify.app/copilot-export-test/#std-label-vsce-test-queries-copilot)`

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved the info about requiring copilot under prerequisites! However, I'm inclined to keep this info separate from the existing note because the first point is a necessary detail for the Export to Language feature and the existing note is optional additional information.

The :guilabel:`Export to Language` feature is only available
if you enable |copilot|.

Prerequisites
-------------

Expand All @@ -41,7 +47,6 @@ To open a new playground containing the default template:

.. include:: /includes/steps/open-new-playground.rst


Export a Query Document
-----------------------

Expand Down
Loading