Revert "JSON completion provider doesn't work without triggering characters."

This reverts commit d5f9985edb.
pull/582/head
rebornix 2017-07-13 16:34:39 -07:00
parent d5f9985edb
commit 77b9f571f6
2 changed files with 0 additions and 2 deletions

View File

@ -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});

View File

@ -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});