When using Microsoft Visual Studio Code / Monaco for PHP it’s really annoying to me how double-clicking a variable doesn’t include the dollar sign in the selection.
Go to the settings and search for editor.wordSeparators
:
Word Separators
Characters that will be used as word separators when doing word related navigations or operations.
You can simply remove the $ from that field.