Skip to content

Commit 0fcc008

Browse files
committed
fix settings type: csharp.unitTestDebugingOptions -> csharp.unitTestDebuggingOptions
1 parent 5675c7f commit 0fcc008

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
],
361361
"description": "If the current Linux distribution is not recognized, this option can be used to tell the debugger what version can be used. After changing this option, close VS Code, remove the debugger folder (~/.vscode/extensions/ms-vscode.csharp-<ver>/.debugger) if it has already downloaded, and restart VS Code."
362362
},
363-
"csharp.unitTestDebugingOptions": {
363+
"csharp.unitTestDebuggingOptions": {
364364
"type": "object",
365365
"description": "Options to use with the debugger when launching for unit test debugging. Any launch.json option is valid here.",
366366
"default": {},
@@ -401,7 +401,7 @@
401401
"debugServer": {
402402
"type": "number",
403403
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode",
404-
"default": 4711
404+
"default": 4711
405405
},
406406
"logging": {
407407
"description": "Optional flags to determine what types of messages should be logged to the output window.",

src/features/dotnetTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export function runDotnetTest(testMethod: string, fileName: string, testFramewor
100100
}
101101

102102
function createLaunchConfiguration(program: string, args: string, cwd: string, debuggerEventsPipeName: string) {
103-
let debugOptions = vscode.workspace.getConfiguration('csharp').get('unitTestDebugingOptions');
103+
let debugOptions = vscode.workspace.getConfiguration('csharp').get('unitTestDebuggingOptions');
104104

105105
// Get the initial set of options from the workspace setting
106106
let result: any;

src/tools/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ OptionsSchema.json defines the type for Launch/Attach options.
33

44
# GenerateOptionsSchema
55
If there are any modifications to the OptionsSchema.json file. Please run `gulp generateOptionsSchema` at the repo root.
6-
This will call GenerateOptionsSchema and update the package.json file.
6+
This will call GenerateOptionsSchema and update the package.json file.
77

88
### Important notes:
99

10-
1. Any manual changes to package.json's object.contributes.debuggers[0].configurationAttributes will be
10+
1. Any manual changes to package.json's object.contributes.debuggers[0].configurationAttributes will be
1111
replaced by this generator.
12-
2. This does **NOT** update the schema for csharp.unitTestDebugingOptions. So if the schema change is something valuable in unit test debugging, consider updating that section of package.json (look for `"csharp.unitTestDebugingOptions"`). The schema will work even if this step is omitted, but users will not get IntelliSense help when editing the new option if this step is skipped.
12+
2. This does **NOT** update the schema for csharp.unitTestDebuggingOptions. So if the schema change is something valuable in unit test debugging, consider updating that section of package.json (look for `"csharp.unitTestDebuggingOptions"`). The schema will work even if this step is omitted, but users will not get IntelliSense help when editing the new option if this step is skipped.
1313

1414

15-
If there is any other type of options added in the future, you will need to modify the GenerateOptionsSchema function
15+
If there is any other type of options added in the future, you will need to modify the GenerateOptionsSchema function
1616
to have it appear in package.json. It only adds launch and attach.

0 commit comments

Comments
 (0)