fixes #9907: Intellisense is not working when I type . in settings files
This commit is contained in:
parent
e466584a67
commit
17e0d1c92d
|
@ -89,7 +89,7 @@ export function activate(context: ExtensionContext) {
|
|||
context.subscriptions.push(disposable);
|
||||
|
||||
languages.setLanguageConfiguration('json', {
|
||||
wordPattern: /("(?:[^\\\"]*(?:\\.)?)*"?)|(-?\d+\.?\d*([eE][+-]?\d*)?)|-|\w+/
|
||||
wordPattern: /("(?:[^\\\"]*(?:\\.)?)*"?)|[^\s{}\[\],:]+/
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue