- VSCode Version: 1.19.3
- OS Version: Windows 10
Steps to Reproduce:
- Add a wordPattern to the language-configuration.json file:
- Perform an action that is reliant upon a word match, such as a DocumentHighlightProvider that triggers when a word is selected. Using test code such as:
if (true) then
print 'test'
.
Clicking on if will correctly trigger, but clicking on . will not. A wordPattern of [\S]+ should match against both.
If you contribute the setting on activate from an extension, it does work correctly:
vscode.languages.setLanguageConfiguration('langID', {wordPattern: /[\S]+/});
Steps to Reproduce:
Clicking on
ifwill correctly trigger, but clicking on.will not. A wordPattern of[\S]+should match against both.If you contribute the setting on activate from an extension, it does work correctly: