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

Variable completion sometimes breaks #13

Open
anantoghosh opened this issue Mar 21, 2017 · 3 comments
Open

Variable completion sometimes breaks #13

anantoghosh opened this issue Mar 21, 2017 · 3 comments

Comments

@anantoghosh
Copy link

ide

I'm not 100% sure when it happens, I'm using it with defold and this breaks only on the 'self' variables.

function init(self)
    self.lucky = true
end

Now autocomplete starts suggesting self.l, self.lu ... etc (as in screenshot)

ide2

After restarting atom, the problem goes away for the already declared variables (here: direction, moving, speed) but still breaks for any new variables declared.

ideafter

On Atom 1.14.3 x64
Windows 10 x64

PS: Very useful extension, thanks for making this

@dapetcu21
Copy link
Owner

Thanks for the report. Will look into it, but it might take a while, as I will probably only free up in early April.

@pablomayobre
Copy link
Contributor

I cannot replicate this issue in Atom 1.17 beta 3, Windows 10 x64, autocomplete-lua 0.8.1

I typed the same thing you posted but those erroneous suggestions just weren't there. Is there something I'm missing?

@dapetcu21
Copy link
Owner

This happened to me a few times as well lately. Not still exactly sure how to reproduce, but the issue is definitely there.

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

3 participants