Skip to content

Commit 15c67a7

Browse files
committed
Fixes issue when filterText is not already in lowercase.
1 parent b5bb9c5 commit 15c67a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export class InlineCompletionsSession extends BaseGhostTextWidgetModel {
285285
const cursorPosition = model.validatePosition(this.editor.getPosition());
286286
this.filteredCompletions = this.cache.value.completions.filter(c => {
287287
const originalValue = model.getValueInRange(c.synchronizedRange).toLowerCase();
288-
const filterText = c.inlineCompletion.filterText;
288+
const filterText = c.inlineCompletion.filterText.toLowerCase();
289289

290290
const indent = model.getLineIndentColumn(c.synchronizedRange.startLineNumber);
291291

0 commit comments

Comments
 (0)