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: 454
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

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

Post by rmcode »

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: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

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

Post by Positive07 »

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/pablomayobre)
User avatar
rmcode
Party member
Posts: 454
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

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

Post by rmcode »

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: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

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

Post by Positive07 »

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/pablomayobre)
User avatar
rmcode
Party member
Posts: 454
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

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

Post by rmcode »

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: 454
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

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

Post by rmcode »

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: 454
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: Love-Atom (Smart autocompletion for Atom)

Post by rmcode »

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: 454
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: Love-Atom (Smart autocompletion for Atom)

Post by rmcode »

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: 448
Joined: Sat Sep 24, 2016 11:20 am
Contact:

Re: Love-Atom (Smart autocompletion for Atom)

Post by yetneverdone »

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 »

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: Ahrefs [Bot], Bing [Bot] and 3 guests