Revert "JSON completion provider doesn't work without triggering characters."
This reverts commit d5f9985edb
.
pull/582/head
parent
d5f9985edb
commit
77b9f571f6
|
@ -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});
|
||||
|
|
|
@ -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});
|
||||
|
|
Loading…
Reference in New Issue