Skip to content

Commit f06da5a

Browse files
committed
Use description for completion item details, rendering import completion namespaces in line.
1 parent acc4e20 commit f06da5a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/features/completionProvider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,8 @@ export default class OmnisharpCompletionProvider extends AbstractProvider implem
124124
const insertRange = omnisharpCompletion.TextEdit ? mapRange(omnisharpCompletion.TextEdit) : undefined;
125125

126126
return {
127-
label: omnisharpCompletion.Label,
127+
label: { label: omnisharpCompletion.Label, description: omnisharpCompletion.Detail },
128128
kind: omnisharpCompletion.Kind - 1,
129-
detail: omnisharpCompletion.Detail,
130129
documentation: docs,
131130
commitCharacters: omnisharpCompletion.CommitCharacters,
132131
preselect: omnisharpCompletion.Preselect,

0 commit comments

Comments
 (0)