autocomplete-php icon indicating copy to clipboard operation
autocomplete-php copied to clipboard

Completion fail on var name completion

Open Ritooon opened this issue 7 years ago • 13 comments

When I use completion to autocomplete a variable name, it's not replace by the variable name (Like before) but added.

Example :

I begin to write : "$array" It prompt a proposition of completion like "$arrayBigValues" But when I fire "Enter" to accept, it not replace what I type and give this : "$arrayarrayBigValues"

Ritooon avatar Jan 26 '18 14:01 Ritooon

I have been experiencing the same exact issue. It seems that the $ sign is omitted from the autocomplete suggestions which is why the entire variable name is added to the end of the typed characters.

After disabling the autocomplete-php package and typing the first few characters of the php variable, the autocomplete suggestions now show the $ sign and replaces the entire typed variable name when clicking enter.

I like the autocomplete-php package, but have to disable it until this gets fixed.

dstaros avatar Jan 26 '18 18:01 dstaros

I have the same problem. Any suggestions for a workaround or alternate PHP autocomplete package?

tdearborn avatar Feb 13 '18 15:02 tdearborn

Please fix it.

autocomplete_bug

CptAdamica avatar Feb 28 '18 12:02 CptAdamica

Same problem.

Error

jrgilman avatar Mar 03 '18 18:03 jrgilman

something probably have change I doesn't update this package for a time I will try review what happen there

Azakur4 avatar Mar 06 '18 18:03 Azakur4

It's work, thank you! :)

CptAdamica avatar Mar 20 '18 21:03 CptAdamica

Thanks for this fix!

pitininja avatar Mar 21 '18 08:03 pitininja

Man, you're a genius ! Thanks a lot

Ritooon avatar Mar 21 '18 08:03 Ritooon

Hello, the issue still persists. I used autocomplete-php 0.3.7. Test_Img

Skalzo avatar Jun 07 '18 12:06 Skalzo

Me too.

CptAdamica avatar Jun 07 '18 12:06 CptAdamica

Still having this issue with autocomplete-php 0.3.7, any fix yet?

cioroianudenis avatar Jun 14 '18 10:06 cioroianudenis

Any fix yet???

GalacticSun avatar Jul 11 '18 15:07 GalacticSun

Made a fix for this nasty bug here: https://github.com/Azakur4/autocomplete-php/pull/53 Fix is for autocomplete-php v0.3.7. Also made a pull request for the changes. Tested it and it works.

cioroianudenis avatar Aug 31 '18 10:08 cioroianudenis