atom-autocomplete-lua icon indicating copy to clipboard operation
atom-autocomplete-lua copied to clipboard

Variable completion sometimes breaks

Open anantoghosh opened this issue 8 years ago • 3 comments

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

anantoghosh avatar Mar 21 '17 17:03 anantoghosh

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

dapetcu21 avatar Mar 21 '17 18:03 dapetcu21

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?

pablomayobre avatar Apr 23 '17 21:04 pablomayobre

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

dapetcu21 avatar Aug 17 '17 08:08 dapetcu21