Skip to content

Commit d6f311d

Browse files
authored
Merge pull request microsoft#234306 from microsoft/osortega/find-history-default-insiders
Making find history default to workspace in insiders
2 parents ce8e5bb + d4900d2 commit d6f311d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/editor/common/config/editorOptions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { USUAL_WORD_SEPARATORS } from '../core/wordHelper.js';
1616
import * as nls from '../../../nls.js';
1717
import { AccessibilitySupport } from '../../../platform/accessibility/common/accessibility.js';
1818
import { IConfigurationPropertySchema } from '../../../platform/configuration/common/configurationRegistry.js';
19+
import product from '../../../platform/product/common/product.js';
1920

2021
//#region typed options
2122

@@ -1727,7 +1728,7 @@ class EditorFind extends BaseEditorOption<EditorOption.find, IEditorFindOptions,
17271728
'editor.find.history': {
17281729
type: 'string',
17291730
enum: ['never', 'workspace'],
1730-
default: defaults.findSearchHistory,
1731+
default: typeof product.quality === 'string' && product.quality !== 'stable' ? 'workspace' : 'none',
17311732
enumDescriptions: [
17321733
nls.localize('editor.find.history.never', 'Do not store search history from the find widget.'),
17331734
nls.localize('editor.find.history.workspace', 'Store search history across the active workspace'),

0 commit comments

Comments
 (0)