Skip to content

Commit 162c502

Browse files
committed
better wording for sort text
1 parent 5f40623 commit 162c502

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/editor/contrib/suggest/suggestWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ class SuggestionDetails {
311311
let md = '';
312312
md += `score: ${item.score[0]}${item.word ? `, compared '${item.completion.filterText && (item.completion.filterText + ' (filterText)') || item.completion.label}' with '${item.word}'` : ' (no prefix)'}\n`;
313313
md += `distance: ${item.distance}, see localityBonus-setting\n`;
314-
md += `index: ${item.idx}, ${item.completion.sortText && (`'${item.completion.sortText}' (sortText)`) || 'extension order'}\n`;
314+
md += `index: ${item.idx}, based on ${item.completion.sortText && `sortText: "${item.completion.sortText}"` || 'label'}\n`;
315315
documentation = new MarkdownString().appendCodeblock('empty', md);
316316
detail = `Provider: ${item.provider._debugDisplayName}`;
317317
}

0 commit comments

Comments
 (0)