Skip to content

Commit

Permalink
fixes #9907: Intellisense is not working when I type . in settings files
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Jul 28, 2016
1 parent e466584 commit 17e0d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/json/client/src/jsonMain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function activate(context: ExtensionContext) {
context.subscriptions.push(disposable);

languages.setLanguageConfiguration('json', {
wordPattern: /("(?:[^\\\"]*(?:\\.)?)*"?)|(-?\d+\.?\d*([eE][+-]?\d*)?)|-|\w+/
wordPattern: /("(?:[^\\\"]*(?:\\.)?)*"?)|[^\s{}\[\],:]+/
});
});
}
Expand Down

0 comments on commit 17e0d1c

Please sign in to comment.