Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Seanmcm/windows sdk version#2241

Merged
sean-mcmanus merged 6 commits into
mastermicrosoft/vscode-cpptools:masterfrom
seanmcm/windowsSDKVersionmicrosoft/vscode-cpptools:seanmcm/windowsSDKVersionCopy head branch name to clipboard
Jul 10, 2018
Merged

Seanmcm/windows sdk version#2241
sean-mcmanus merged 6 commits into
mastermicrosoft/vscode-cpptools:masterfrom
seanmcm/windowsSDKVersionmicrosoft/vscode-cpptools:seanmcm/windowsSDKVersionCopy head branch name to clipboard

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"

@bobbrow bobbrow Jul 9, 2018

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 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?

@sean-mcmanus sean-mcmanus Jul 10, 2018

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.

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.