File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,33 @@ 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 that can be shared in a workspace
114
+ or global scope.
115
+
116
+ Edit this setting through the ``mdb.presetConnection`` property in
117
+ your project's ``settings.json`` file.
118
+
119
+ Within the ``mdb.presetConnections`` object, you
120
+ can specify:
121
+
122
+ - A ``name`` for the connection.
123
+
124
+ - A ``connectionString`` for your deployment.
125
+
126
+ :red:`WARNING:` Do not store sensitive credentials in this setting.
127
+ Connection strings are stored in plain text, so they can be easily
128
+ accessed.
129
+
130
+ - .. code-block:: json
131
+
132
+ [
133
+ {
134
+ "name": "Preset Connection",
135
+ "connectionString": "mongodb://localhost:27017"
136
+ }
137
+ ]
138
+
112
139
* - :guilabel:`Send Telemetry`
113
140
- If enabled, allows the collection of anonymous diagnostic and
114
141
usage telemetry data to help improve |vsce|.
You can’t perform that action at this time.
0 commit comments