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

Adding OptionsSchema generation#1937

Merged
WardenGnaw merged 3 commits into
microsoft:mastermicrosoft/vscode-cpptools:masterfrom
WardenGnaw:dev/waan/generateOptionsSchemaWardenGnaw/vscode-cpptools:dev/waan/generateOptionsSchemaCopy head branch name to clipboard
May 4, 2018
Merged

Adding OptionsSchema generation#1937
WardenGnaw merged 3 commits into
microsoft:mastermicrosoft/vscode-cpptools:masterfrom
WardenGnaw:dev/waan/generateOptionsSchemaWardenGnaw/vscode-cpptools:dev/waan/generateOptionsSchemaCopy head branch name to clipboard

Conversation

@WardenGnaw

Copy link
Copy Markdown
Member

This is to prevent repetitive fields from being copy and pasted
improperly.

There are some parts of OptionsSchema.json that needs to be fixed. E.g. logging for cppvsdbg.

This is to prevent repetitive fields from being copy and pasted
improperly.
@WardenGnaw WardenGnaw self-assigned this May 4, 2018
@WardenGnaw WardenGnaw requested review from bobbrow and sean-mcmanus May 4, 2018 20:57
return objects;
}

function mergeReferences(baseDefinitions: any, additionalDefinitions: any) : void {

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.

inconsistent capitalization of functions. We generally follow the JavaScript conventions of camelCasing for functions in the extension, but I know there are some places where PascalCasing has been used. Maybe we need a tslint rule for that.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

There not one in the core ruleset. palantir/tslint#2277

There is a package that does it: https://www.npmjs.com/package/vrsource-tslint-rules#ext-variable-name

I'll add this as its own PR since it might affect a lot of things. And since its a dev-dependency, we dont need to update third party licenses text?

@WardenGnaw WardenGnaw merged commit 8deee74 into microsoft:master May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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