Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setting to allow to disable Replace Preview #60153

Merged
merged 3 commits into from
Oct 9, 2018
Merged

Add setting to allow to disable Replace Preview #60153

merged 3 commits into from
Oct 9, 2018

Conversation

ToothlessGear
Copy link
Contributor

Introduces a new settings option "search.useReplacePreview" which
allows you to disable "Replace Preview" during a Search/Replace.

Closes #60027

Introduces a new settings option "search.useReplacePreview" which
allows you to disable "Replace Preview" during a Search/Replace.

Closes #60027
Copy link
Member

@roblourens roblourens left a comment

Choose a reason for hiding this comment

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

@roblourens roblourens added this to the October 2018 milestone Oct 8, 2018
@ToothlessGear
Copy link
Contributor Author

Hi,

regarding https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/search/browser/searchActions.ts#L581.
I checked this, but I am not sure how to trigger the alternative path in the condition. The condition seems to be always true and therefore never opens Replace Preview.

@roblourens
Copy link
Member

I see it when clicking the replace button in a file with a bunch of matches.

@ToothlessGear
Copy link
Contributor Author

I think I got it now, thanks for taking the time to review.

Copy link
Member

@roblourens roblourens left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@roblourens roblourens merged commit def5463 into microsoft:master Oct 9, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 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.

Allow disabling "Replace Preview"
2 participants