In particular, for php, traditionally in other editors (for example, np ++), when you double-click a variable name, for example, select only the name without "$". In VSCode, it selects the variable name plus "$", and often the tail "-", if any.
To accept
$foo->bar();
Current behavior:
double click 'foo' selects:
$foo-
Desired behavior:
double click 'foo' selects:
foo
Edit: here is the github issue: https://github.com/Microsoft/vscode/issues/2036
source
share