Skip to content

Seanmcm/windows sdk version#2241

Merged
sean-mcmanus merged 6 commits into
masterfrom
seanmcm/windowsSDKVersion
Jul 10, 2018
Merged

Seanmcm/windows sdk version#2241
sean-mcmanus merged 6 commits into
masterfrom
seanmcm/windowsSDKVersion

Conversation

@sean-mcmanus
Copy link
Copy Markdown
Contributor

I'm still reviewing/testing this some more, so you could wait a while if you want...

@sean-mcmanus sean-mcmanus requested review from bobbrow and grdowns July 7, 2018 03:32
Comment thread Extension/package.json Outdated
"description": "The value to use in a configuration if \"macFrameworkPath\" is not specified, or the values to insert if \"${default}\" is present in \"macFrameworkPath\".",
"scope": "resource"
},
"C_Cpp.default.windowsSDKVersion": {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SDK should be Sdk per convention

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, okay -- that's easier to read :)

Comment thread Extension/c_cpp_properties.schema.json Outdated
},
"windowsSDKVersion": {
"description": "Version of the Windows SDK include path to use on Windows, e.g. '10.0.17134.0'.",
"type": "string"
Copy link
Copy Markdown
Member

@bobbrow bobbrow Jul 9, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably add patternProperties (reference) to this so we can get squiggles for invalid versions. (see the env property).

The regexp is this, I think: ^\d{2}\.\d{1}\.\d{5}\.\d{1}$

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

Comment thread Extension/c_cpp_properties.schema.json Outdated
"windowsSdkVersion": {
"description": "Version of the Windows SDK include path to use on Windows, e.g. '10.0.17134.0'.",
"type": "string",
"pattern": "^\\d{2}\\.\\d{1}\\.\\d{5}\\.\\d{1}$|^8.1$"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 8.1 part should have a backslash before the dot

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops...

Comment thread Extension/package.json
],
"default": null,
"description": "Version of the Windows SDK include path to use on Windows, e.g. '10.0.17134.0'.",
"scope": "resource"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the pattern go in here too?

Copy link
Copy Markdown
Contributor Author

@sean-mcmanus sean-mcmanus Jul 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm...it doesn't seem to be required...I could try adding it...oh, this is the default one...I didn't test that yet...

@sean-mcmanus sean-mcmanus merged commit 879d880 into master Jul 10, 2018
@bobbrow bobbrow deleted the seanmcm/windowsSDKVersion branch July 12, 2018 22:20
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants