Skip to content

Commit 7e92176

Browse files
Add '"' and ':' as trigger characters for project.json completion
1 parent 9a25c78 commit 7e92176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/json/jsonContributions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function addJSONProviders(): Disposable {
4545
let contributions = [new ProjectJSONContribution(xhr)];
4646
contributions.forEach(contribution => {
4747
let selector = contribution.getDocumentSelector();
48-
subscriptions.push(languages.registerCompletionItemProvider(selector, new JSONCompletionItemProvider(contribution)));
48+
subscriptions.push(languages.registerCompletionItemProvider(selector, new JSONCompletionItemProvider(contribution), '"', ':'));
4949
subscriptions.push(languages.registerHoverProvider(selector, new JSONHoverProvider(contribution)));
5050
});
5151

0 commit comments

Comments
 (0)