Set the editor.wordSeparators option to "editor.wordSeparators": "~!@#%^&*()-=+[{]}\|;:'\",.<>/?". This is essentially the default value with$` removed.
Enter this in the editor
$this->stuff
this stuff
and $this thing
Place the cursor at the beginning of line 1 and press CMD+D to highlight the word $this. Nothing happens. Further, moving the cursor to anywhere within the word $this and pressing CMD+D highlights this, effectively ignoring the editor.wordSeparators.
Side note: using the mouse does seem to honor the setting.
(4 theme extensions excluded)
Steps to Reproduce:
editor.wordSeparators
option to"editor.wordSeparators": "
~!@#%^&*()-=+[{]}\|;:'\",.<>/?". This is essentially the default value with
$` removed.CMD+D
to highlight the word$this
. Nothing happens. Further, moving the cursor to anywhere within the word$this
and pressingCMD+D
highlightsthis
, effectively ignoring theeditor.wordSeparators
.Reproduces without extensions: Yes