File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ The following table lists the available settings for
2828|vsce|:
2929
3030.. list-table::
31- :widths: 25 50 25
31+ :widths: 25 45 30
3232 :header-rows: 1
3333
3434 * - Setting
@@ -109,6 +109,32 @@ The following table lists the available settings for
109109 collection. Does not affect playground operations.
110110 - ``10``
111111
112+ * - :guilabel:`Preset Connections`
113+ - Specifies a preset list of connections. Use this setting to share
114+ connection configurations in a workspace or global scope.
115+
116+ Edit the ``mdb.presetConnection`` property in your project's
117+ ``settings.json`` file.
118+
119+ Within the ``mdb.presetConnections`` object, you
120+ can specify:
121+
122+ - A ``name`` for the connection.
123+ - A ``connectionString`` for your deployment.
124+
125+ :red:`WARNING:` Do not store sensitive credentials in this setting.
126+ Connection strings are stored in plain text, so they can be easily
127+ accessed.
128+
129+ - .. code-block:: json
130+
131+ [
132+ {
133+ "name": "Preset Connection",
134+ "connectionString": "mongodb://localhost:27017"
135+ }
136+ ]
137+
112138 * - :guilabel:`Send Telemetry`
113139 - If enabled, allows the collection of anonymous diagnostic and
114140 usage telemetry data to help improve |vsce|.
You can’t perform that action at this time.
0 commit comments