Skip to content

Autocomplete for variable deletes code that follows that is not selected, for no reason #638

@php4fan

Description

@php4fan

This is an absolute disaster.

I have this code:
image

My cursor, as can be seen, is right before the is_array() call in the first if 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:

image

Then I hit Enter to accept it, and KABOOM!!

image

That DELETES the is_array that came after.

I think this is a regression

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions