Love-Atom (Smart autocompletion for Atom)

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
rmcode
Party member
Posts: 453
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: LÖVE-Atom (autocomplete package for Atom)

Post by rmcode » Sun Oct 23, 2016 7:14 pm

Sheepolution wrote: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.
You mean the console output? I haven't tried it myself since I'm using the Mac OS terminal to launch my games, but maybe you could launch your games through this (or any other terminal plugin):
https://atom.io/packages/atom-terminal-panel

User avatar
Positive07
Party member
Posts: 999
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: LÖVE-Atom (autocomplete package for Atom)

Post by Positive07 » Sun Oct 23, 2016 8:58 pm

I suggest build-love, it's way simpler and does what you expect and more (it highlights the errores reported by LÖVE too).

Sorry rm-code I havent been coding much so I didnt have the oportunity to test, I surely will report when I have a chance
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(Github.com/Positive07)

User avatar
rmcode
Party member
Posts: 453
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: LÖVE-Atom (autocomplete package for Atom)

Post by rmcode » Fri Oct 28, 2016 10:20 pm

Released 2.4.1 which fixes the fuzzaldrin package dependency (woops).
Positive07 wrote:I suggest build-love, it's way simpler and does what you expect and more (it highlights the errores reported by LÖVE too).
I don't really get how to set it up :rofl:

User avatar
Positive07
Party member
Posts: 999
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: LÖVE-Atom (autocomplete package for Atom)

Post by Positive07 » Sat Oct 29, 2016 4:42 am

I just installed it with LÖVE executable in my path and it simply worked haha.

Currently it should have a configuration to set the path of the LÖVE executable though. Then you just press F7 (or whatever atom-build uses in you OS) and it should call the love executable with the current project folder.
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(Github.com/Positive07)

User avatar
rmcode
Party member
Posts: 453
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: LÖVE-Atom (autocomplete package for Atom)

Post by rmcode » Mon Oct 31, 2016 9:46 pm

Released 2.4.2 with updated API docs to celebrate the release of LÖVE 0.10.2 :nyu:

User avatar
rmcode
Party member
Posts: 453
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: LÖVE-Atom (autocomplete package for Atom)

Post by rmcode » Sun Mar 26, 2017 10:53 am

Published version 2.5.0 which makes it easier to work with Types such as Canvas, Text and so on. The snippets now start with a variable (a bug with autocomplete prevent me from adding this earlier) which can be replaced just like arguments:

Image

User avatar
rmcode
Party member
Posts: 453
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: Love-Atom (Smart autocompletion for Atom)

Post by rmcode » Sun Apr 30, 2017 11:49 am

Published version 3.0.0 which uses autocomplete-lua to provide smart autocompletion for functions, variants and even variables.

Image

Example of type-aware suggestions:
Image

User avatar
rmcode
Party member
Posts: 453
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: Love-Atom (Smart autocompletion for Atom)

Post by rmcode » Sat Nov 18, 2017 5:42 pm

Published version 3.1.5 which fixes a bug where type methods would be created without their first argument.

User avatar
yetneverdone
Party member
Posts: 302
Joined: Sat Sep 24, 2016 11:20 am
Contact:

Re: Love-Atom (Smart autocompletion for Atom)

Post by yetneverdone » Sat Nov 18, 2017 11:29 pm

Really awesome! I hope there's like this for sublime or vim

FrenchMasterSword
Prole
Posts: 3
Joined: Sat Jan 20, 2018 4:27 pm

Re: Love-Atom (Smart autocompletion for Atom)

Post by FrenchMasterSword » Sat Jan 20, 2018 4:47 pm

Thanks a lot, it's really awesome !
No need for an unexistant full HTML löve documentation now to check something without connexion ^^
OH WAIT

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests