From 77b9f571f67a2bfd9adf25a1e40bd2e5c7d8e34b Mon Sep 17 00:00:00 2001 From: rebornix Date: Thu, 13 Jul 2017 16:34:39 -0700 Subject: [PATCH] Revert "JSON completion provider doesn't work without triggering characters." This reverts commit d5f9985edbe088c0ff645e9cf8aeac18976991f9. --- .../extending-language-services-completion-provider-example.html | 1 - .../completion-provider-example/sample.js | 1 - 2 files changed, 2 deletions(-) diff --git a/test/playground.generated/extending-language-services-completion-provider-example.html b/test/playground.generated/extending-language-services-completion-provider-example.html index 4d81feea..c61819ef 100644 --- a/test/playground.generated/extending-language-services-completion-provider-example.html +++ b/test/playground.generated/extending-language-services-completion-provider-example.html @@ -63,7 +63,6 @@ function createDependencyProposals() { monaco.languages.registerCompletionItemProvider('json', { - triggerCharacters: ['\"'], provideCompletionItems: function(model, position) { // find out if we are completing a property in the 'dependencies' object. var textUntilPosition = model.getValueInRange({startLineNumber: 1, startColumn: 1, endLineNumber: position.lineNumber, endColumn: position.column}); diff --git a/website/playground/new-samples/extending-language-services/completion-provider-example/sample.js b/website/playground/new-samples/extending-language-services/completion-provider-example/sample.js index 4a8b2913..4f58251e 100644 --- a/website/playground/new-samples/extending-language-services/completion-provider-example/sample.js +++ b/website/playground/new-samples/extending-language-services/completion-provider-example/sample.js @@ -25,7 +25,6 @@ function createDependencyProposals() { monaco.languages.registerCompletionItemProvider('json', { - triggerCharacters: ['\"'], provideCompletionItems: function(model, position) { // find out if we are completing a property in the 'dependencies' object. var textUntilPosition = model.getValueInRange({startLineNumber: 1, startColumn: 1, endLineNumber: position.lineNumber, endColumn: position.column});