Skip to content

Commit cec623a

Browse files
committed
Fix fuzzy match slider
1 parent 2672e6d commit cec623a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
10521052
preferredLanguage,
10531053
writeDelayMs,
10541054
terminalOutputLineLimit,
1055+
fuzzyMatchThreshold,
10551056
} = await this.getState()
10561057

10571058
const allowedCommands = vscode.workspace
@@ -1082,6 +1083,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
10821083
preferredLanguage: preferredLanguage ?? 'English',
10831084
writeDelayMs: writeDelayMs ?? 1000,
10841085
terminalOutputLineLimit: terminalOutputLineLimit ?? 500,
1086+
fuzzyMatchThreshold: fuzzyMatchThreshold ?? 1.0,
10851087
}
10861088
}
10871089

webview-ui/src/components/settings/SettingsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
257257
<span style={{ fontWeight: "500", minWidth: '100px' }}>Match precision</span>
258258
<input
259259
type="range"
260-
min="0.9"
260+
min="0.8"
261261
max="1"
262262
step="0.005"
263263
value={fuzzyMatchThreshold ?? 1.0}

0 commit comments

Comments
 (0)