diff --git a/source/copilot-export-test.txt b/source/copilot-export-test.txt index 7f5d3a7..4c09d7f 100644 --- a/source/copilot-export-test.txt +++ b/source/copilot-export-test.txt @@ -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 ` feature. + .. seealso:: - :ref:`vsce-playgrounds` diff --git a/source/export-to-language.txt b/source/export-to-language.txt index d4a91f9..597c131 100644 --- a/source/export-to-language.txt +++ b/source/export-to-language.txt @@ -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 ` into a programming language. -You can export queries and pipelines to the following languages: +from a :ref:`playground ` into a programming language +using the :ref:`vsce-copilot`. You can export queries and pipelines to the +following languages: - C# - Go @@ -25,9 +26,15 @@ You can export queries and pipelines to the following languages: - Ruby - Rust +.. note:: + + + Prerequisites ------------- +You must enable the |copilot| to use the :guilabel:`Export to Language` feature. + You must open a playground that contains a query document or pipeline you want to export. @@ -41,7 +48,6 @@ To open a new playground containing the default template: .. include:: /includes/steps/open-new-playground.rst - Export a Query Document -----------------------