Page 2 of 4
Re: LÖVE-Atom (autocomplete package for Atom)
Posted: Sun Jan 24, 2016 1:32 pm
by rmcode
Pushed a new update which adds snippets for submodule functions (SpriteBatch:add, File:close, etc.).
Unfortunately I can't make the first part of the snippets a variable (so it can be easily replaced after the snippet has been placed in the editor). I'll have to wait until
this enhancement is implemented (*fingers crossed*).
Re: LÖVE-Atom (autocomplete package for Atom)
Posted: Sat Oct 15, 2016 2:14 pm
by rmcode
Updated the package with the latest wiki changes.
Re: LÖVE-Atom (autocomplete package for Atom)
Posted: Sat Oct 15, 2016 4:00 pm
by MadByte
Thanks for the updates.
Re: LÖVE-Atom (autocomplete package for Atom)
Posted: Sun Oct 16, 2016 12:22 am
by Positive07
Hey rmcode is there a way to fix these
So that I can press enter after a for loop or a if statement and actually get the expected result? without ending up with Thread:isRunning instead of then and those things?
I usually have to use my mouse or press left right enter in order to make the pop-up dissappear. I don't know if there is a better way.
Re: LÖVE-Atom (autocomplete package for Atom)
Posted: Sun Oct 16, 2016 12:33 am
by rmcode
It should be fixable by improving the way the plugin searches for completions (it's been on my todo list for a long time ...
https://github.com/rm-code/love-atom/issues/3). I hacked this plugin together mostly by trial and error and by looking at some of the default packages and there is a lot of room for improvement.
I'll take a look at it once I have more time (I have exams coming up in a week
).
Re: LÖVE-Atom (autocomplete package for Atom)
Posted: Sun Oct 16, 2016 1:24 am
by Positive07
Oh! It's fine I can wait. I just wanted to ask for it and maybe see if I can help with it. Thanks
Re: LÖVE-Atom (autocomplete package for Atom)
Posted: Sun Oct 16, 2016 2:07 am
by rmcode
I just pushed a feature branch to the repo which uses fuzzaldrin directly to score the current LOC against the snippet database. If you have some time to spare it would be cool if you could give it a spin (
https://github.com/rm-code/love-atom/tr ... stomPrefix).
It should now also provide auto-completion for prefixes containing periods and colons - so we could finally write love.gr.arc instead of lovegrarc.
Re: LÖVE-Atom (autocomplete package for Atom)
Posted: Sun Oct 16, 2016 2:31 am
by Positive07
I'm totally gonna try this out when I have time (hopefuly soon, I'm close to a few exams too) and report back. Thanks for the fast response
Re: LÖVE-Atom (autocomplete package for Atom)
Posted: Sat Oct 22, 2016 11:42 pm
by rmcode
Released 2.4.0 which features the custom fuzzy logic sorting. So far I like how it behaves.
Feedback is highly appreciated.
Re: LÖVE-Atom (autocomplete package for Atom)
Posted: Sun Oct 23, 2016 7:03 pm
by Sheepolution
Is there a way to get LÖVE's output to show in Atom like with Sublime Text? I can't seem to find it anywhere if it is already doing that.