You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -30,11 +30,12 @@ export class CSharpConfigurationProvider implements vscode.DebugConfigurationPro
30
30
* Note: serverUtils.requestWorkspaceInformation only retrieves one folder for multi-root workspaces. Therefore, generator will be incorrect for all folders
31
31
* except the first in a workspace. Currently, this only works if the requested folder is the same as the server's solution path or folder.
Copy file name to clipboardExpand all lines: src/tools/OptionsSchema.json
+17-47Lines changed: 17 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -176,35 +176,26 @@
176
176
},
177
177
"LaunchBrowserPlatformOptions": {
178
178
"type": "object",
179
+
"required": [ "command" ],
179
180
"properties": {
180
181
"command": {
181
182
"type": "string",
182
-
"description": "The command to execute for launching the web browser",
183
+
"description": "The executable which will start the web browser",
183
184
"default": "open"
184
185
},
185
186
"args": {
186
187
"type": "string",
187
-
"description": "The arguments to pass to the command to open the browser. Use ${auto-detect-url} to automatically use the address the server is listening to",
188
+
"description": "The arguments to pass to the command to open the browser. Use ${auto-detect-url} to automatically use the address the server is listening to.",
188
189
"default": "${auto-detect-url}"
189
190
}
190
191
}
191
192
},
192
193
"LaunchBrowser": {
193
194
"type": "object",
194
-
"description": "Describes options to launch a web browser as part of launch",
195
+
"required": [ "enabled" ],
196
+
"description": "Configures starting a web browser as part of the launch -- should a web browser be started, and if so, what command should be run to start it. This option can be modified to launch a specific browser.",
195
197
"default": {
196
-
"enabled": true,
197
-
"args": "${auto-detect-url}",
198
-
"windows": {
199
-
"command": "cmd.exe",
200
-
"args": "/C start ${auto-detect-url}"
201
-
},
202
-
"osx": {
203
-
"command": "open"
204
-
},
205
-
"linux": {
206
-
"command": "xdg-open"
207
-
}
198
+
"enabled": true
208
199
},
209
200
"properties": {
210
201
"enabled": {
@@ -213,39 +204,29 @@
213
204
"default": true
214
205
},
215
206
"args": {
216
-
"anyOf": [
217
-
{
218
-
"type": "array",
219
-
"description": "Command line arguments passed to the program.",
220
-
"items": {
221
-
"type": "string"
222
-
},
223
-
"default": []
224
-
},
225
-
{
226
-
"type": "string",
227
-
"description": "Stringified version of command line arguments passed to the program.",
228
-
"default": ""
229
-
}
230
-
]
207
+
"type": "string",
208
+
"description": "The arguments to pass to the command to open the browser. This is used only if the platform-specific element (`osx`, `linux` or `windows`) doesn't specify a value for `args`. Use ${auto-detect-url} to automatically use the address the server is listening to.",
0 commit comments