fixes #9907: Intellisense is not working when I type . in settings files

This commit is contained in:
Martin Aeschlimann 2016-07-28 18:43:56 +02:00
parent e466584a67
commit 17e0d1c92d

View file

@ -89,7 +89,7 @@ export function activate(context: ExtensionContext) {
context.subscriptions.push(disposable);
languages.setLanguageConfiguration('json', {
wordPattern: /("(?:[^\\\"]*(?:\\.)?)*"?)|(-?\d+\.?\d*([eE][+-]?\d*)?)|-|\w+/
wordPattern: /("(?:[^\\\"]*(?:\\.)?)*"?)|[^\s{}\[\],:]+/
});
});
}