Skip to content

Commit 72eb58f

Browse files
committed
rearrange ASP task
1 parent 90b1013 commit 72eb58f

File tree

1 file changed

+46
-46
lines changed

1 file changed

+46
-46
lines changed

source/connect.txt

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -104,52 +104,6 @@ Create a Connection
104104

105105
.. include:: /includes/steps/starting-vsce-connect-with-advanced-connection-settings.rst
106106

107-
.. _vsce-activate-connection:
108-
109-
Activate a Connection
110-
---------------------
111-
112-
You can connect |vsce| to only one deployment at a time. To change the
113-
active connection to a different deployment, or to connect to a
114-
deployment from which you were disconnected:
115-
116-
.. include:: /includes/steps/activate-connection.rst
117-
118-
Launch MongoDB Shell
119-
~~~~~~~~~~~~~~~~~~~~
120-
121-
You can connect the :mongosh:`MongoDB Shell </>` or legacy
122-
:binary:`mongo <mongo>` shell to your active deployment.
123-
124-
125-
Considerations
126-
``````````````
127-
128-
- The shell that |vsce| uses to connect to your deployment is
129-
determined by the :guilabel:`Shell` setting in your
130-
:ref:`extension settings <vsce-settings>`. You can choose either
131-
the :mongosh:`MongoDB Shell </>` or the legacy :binary:`mongo <mongo>` shell.
132-
133-
- The path to your selected shell must exist in your system's ``PATH``.
134-
If it does not exist in your ``PATH``, the operation errors.
135-
136-
Procedure
137-
`````````
138-
139-
To connect the shell to your active deployment:
140-
141-
a. In the |vsce| :guilabel:`Connections` list, right-click your active
142-
deployment.
143-
144-
#. Select :guilabel:`Launch MongoDB Shell`.
145-
146-
|vsce| opens the :guilabel:`Terminal` window in VS Code and launches
147-
the shell connected to your selected deployment.
148-
149-
.. seealso::
150-
151-
:mongosh:`Perform CRUD Operations in the MongoDB Shell </crud>`
152-
153107

154108
.. _vsce-connect-task-atlas-streams:
155109

@@ -216,6 +170,52 @@ For details on how to configure Atlas Stream Processing, see
216170
:figwidth: 700px
217171
:alt: Image of a stream processing template
218172

173+
.. _vsce-activate-connection:
174+
175+
Activate a Connection
176+
---------------------
177+
178+
You can connect |vsce| to only one deployment at a time. To change the
179+
active connection to a different deployment, or to connect to a
180+
deployment from which you were disconnected:
181+
182+
.. include:: /includes/steps/activate-connection.rst
183+
184+
Launch MongoDB Shell
185+
~~~~~~~~~~~~~~~~~~~~
186+
187+
You can connect the :mongosh:`MongoDB Shell </>` or legacy
188+
:binary:`mongo <mongo>` shell to your active deployment.
189+
190+
191+
Considerations
192+
``````````````
193+
194+
- The shell that |vsce| uses to connect to your deployment is
195+
determined by the :guilabel:`Shell` setting in your
196+
:ref:`extension settings <vsce-settings>`. You can choose either
197+
the :mongosh:`MongoDB Shell </>` or the legacy :binary:`mongo <mongo>` shell.
198+
199+
- The path to your selected shell must exist in your system's ``PATH``.
200+
If it does not exist in your ``PATH``, the operation errors.
201+
202+
Procedure
203+
`````````
204+
205+
To connect the shell to your active deployment:
206+
207+
a. In the |vsce| :guilabel:`Connections` list, right-click your active
208+
deployment.
209+
210+
#. Select :guilabel:`Launch MongoDB Shell`.
211+
212+
|vsce| opens the :guilabel:`Terminal` window in VS Code and launches
213+
the shell connected to your selected deployment.
214+
215+
.. seealso::
216+
217+
:mongosh:`Perform CRUD Operations in the MongoDB Shell </crud>`
218+
219219
.. _vsce-edit-connection-task:
220220

221221
Edit a Connection

0 commit comments

Comments
 (0)