Open php4fan opened 4 weeks ago
I think this is handled by VSCode itself. It sees the entire character sequence as a single word, so it replaces it.
I just tried an Extension bisect and I can't reproduce when the DEVSENSE extension is disabled.
interesting :) let's see why we do that ... I guess we just replace the entire token on position (for legacy reasons)
This is an absolute disaster.
I have this code:
My cursor, as can be seen, is right before the
is_array()
call in the firstif
condition.I want to add another condition right before that, that is
$fetchImageInfo &&
, which is a variable that exists.So, I start typing the variable and I get the expected autocomplete suggestion:
Then I hit Enter to accept it, and KABOOM!!
That DELETES the
is_array
that came after.I think this is a regression