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

Various settings UI load/save related changes#3529

Merged
Colengms merged 2 commits into
mastermicrosoft/vscode-cpptools:masterfrom
coleng/pathEscaping2microsoft/vscode-cpptools:coleng/pathEscaping2Copy head branch name to clipboard
Apr 25, 2019
Merged

Various settings UI load/save related changes#3529
Colengms merged 2 commits into
mastermicrosoft/vscode-cpptools:masterfrom
coleng/pathEscaping2microsoft/vscode-cpptools:coleng/pathEscaping2Copy head branch name to clipboard

Conversation

@Colengms

Copy link
Copy Markdown
Contributor

Integrated parsePropertiesFileAndHandleSquiggles into parsePropertiesFile(true).

Switched from delayed saving to saving immediately as setting change, using a new event.

Removed some escaping logic from parsePropertiesFile(false) not needed for settings UI.

Changed SettingsPanelViewStateChanged to SettingsPanelActivated, only triggered on activation.

Removed previous fix slash escaping fix.

private configDirty: boolean = false;
private settingsPanelViewStateChanged = new vscode.EventEmitter<ViewStateEvent>();
private settingsPanelActivated = new vscode.EventEmitter<void>();
private settingsPanelStateChanged = new vscode.EventEmitter<void>();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Rename to onConfigValuesChanged?

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.

configValuesChanged? (the other event is not using 'on') Or, use 'on' for both?

Comment thread Extension/src/LanguageServer/settingsPanel.ts Outdated
@michelleangela

Copy link
Copy Markdown
Contributor

Also, add this pull request to our internal "pending change log" list under bug fixes.

@Colengms Colengms requested a review from michelleangela April 25, 2019 00:25
@bobbrow

bobbrow commented Apr 25, 2019

Copy link
Copy Markdown
Member

Since this feature is not yet released in an official channel, any changelog updates would only apply to a future insiders release. It wouldn't need to go in the changelog for 0.23.0.

@Colengms Colengms merged commit 6f4439c into master Apr 25, 2019
@Colengms Colengms deleted the coleng/pathEscaping2 branch April 25, 2019 17:09
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 8, 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.

4 participants

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