File tree 1 file changed +27
-1
lines changed
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
28
28
|vsce|:
29
29
30
30
.. list-table::
31
- :widths: 25 50 25
31
+ :widths: 25 45 30
32
32
:header-rows: 1
33
33
34
34
* - Setting
@@ -109,6 +109,32 @@ The following table lists the available settings for
109
109
collection. Does not affect playground operations.
110
110
- ``10``
111
111
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
+
112
138
* - :guilabel:`Send Telemetry`
113
139
- If enabled, allows the collection of anonymous diagnostic and
114
140
usage telemetry data to help improve |vsce|.
You can’t perform that action at this time.
0 commit comments