Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completion fail on var name completion #50

Open
Ritooon opened this issue Jan 26, 2018 · 13 comments
Open

Completion fail on var name completion #50

Ritooon opened this issue Jan 26, 2018 · 13 comments

Comments

@Ritooon
Copy link

Ritooon commented Jan 26, 2018

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"

@dstaros
Copy link

dstaros commented Jan 26, 2018

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.

@tdearborn
Copy link

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

@CptAdamica
Copy link

CptAdamica commented Feb 28, 2018

Please fix it.

autocomplete_bug

@jrgilman
Copy link

jrgilman commented Mar 3, 2018

Same problem.

Error

@Azakur4
Copy link
Owner

Azakur4 commented Mar 6, 2018

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

@CptAdamica
Copy link

CptAdamica commented Mar 20, 2018

It's work, thank you! :)

@pitininja
Copy link

Thanks for this fix!

@Ritooon
Copy link
Author

Ritooon commented Mar 21, 2018

Man, you're a genius ! Thanks a lot

@Skalzo
Copy link

Skalzo commented Jun 7, 2018

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

@CptAdamica
Copy link

Me too.

@cioroianudenis
Copy link

cioroianudenis commented Jun 14, 2018

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

@GalacticSun
Copy link

Any fix yet???

cioroianudenis added a commit to cioroianudenis/autocomplete-php that referenced this issue Aug 31, 2018
@cioroianudenis
Copy link

cioroianudenis commented Aug 31, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

11 participants