Skip to content

Commit

Permalink
fix resource tips
Browse files Browse the repository at this point in the history
  • Loading branch information
lyu571 committed Dec 11, 2023
1 parent 3f29387 commit 5c05a4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/autocomplete/TerraformTipsProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ export class TerraformTipsProvider implements CompletionItemProvider {
for (const element of topLevelTypes) {
let topType = element;
if (topType.startsWith(line)) {
const c = new CompletionItem(topType, CompletionItemKind.Enum);
const c = new CompletionItem(`${topType}(tencentcloud)`, CompletionItemKind.Enum);
c.insertText = topType;
c.sortText = TEXT_MIN_SORT;
return [c];
}
Expand Down

0 comments on commit 5c05a4b

Please sign in to comment.