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*).
Love-Atom (Smart autocompletion for Atom)
Re: LÖVE-Atom (autocomplete package for Atom)
Updated the package with the latest wiki changes.
Re: LÖVE-Atom (autocomplete package for Atom)
Thanks for the updates.
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: LÖVE-Atom (autocomplete package for Atom)
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.
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.
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Re: LÖVE-Atom (autocomplete package for Atom)
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 ).
I'll take a look at it once I have more time (I have exams coming up in a week ).
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: LÖVE-Atom (autocomplete package for Atom)
Oh! It's fine I can wait. I just wanted to ask for it and maybe see if I can help with it. Thanks
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Re: LÖVE-Atom (autocomplete package for Atom)
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.
It should now also provide auto-completion for prefixes containing periods and colons - so we could finally write love.gr.arc instead of lovegrarc.
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: LÖVE-Atom (autocomplete package for Atom)
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
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Re: LÖVE-Atom (autocomplete package for Atom)
Released 2.4.0 which features the custom fuzzy logic sorting. So far I like how it behaves.
Feedback is highly appreciated.
Feedback is highly appreciated.
- Sheepolution
- Party member
- Posts: 264
- Joined: Mon Mar 04, 2013 9:31 am
- Location: The Netherlands
- Contact:
Re: LÖVE-Atom (autocomplete package for Atom)
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.
Who is online
Users browsing this forum: alexjgriffith, Amazon [Bot] and 5 guests