Skip to content

Commit 83d2f06

Browse files
authored
"editor.find.seedSearchStringFromSelection" is ignored (microsoft#203759)
Fixes microsoft#142864
1 parent f40051b commit 83d2f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/search/browser/searchView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ export class SearchView extends ViewPane {
11251125

11261126
private updateTextFromSelection({ allowUnselectedWord = true, allowSearchOnType = true }, editor?: IEditor): boolean {
11271127
const seedSearchStringFromSelection = this.configurationService.getValue<IEditorOptions>('editor').find!.seedSearchStringFromSelection;
1128-
if (!seedSearchStringFromSelection) {
1128+
if (!seedSearchStringFromSelection || seedSearchStringFromSelection === 'never') {
11291129
return false;
11301130
}
11311131

0 commit comments

Comments
 (0)