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:

Love-Atom (Smart autocompletion for Atom)

Post by rmcode »

Love-Atom adds smart autocompletion for the LÖVE framework in Atom.

Image

Usage
Love-Atom adds a custom provider on top of autocomplete-lua and will suggest autocompletion based on your input.

Love-Atom will provide suggestions for functions with multiple variants.
Image

Love-Atom even offers type-aware autocompletion for variables returned by the LÖVE framework.
Image

The package can be found here:
https://atom.io/packages/love-atom

The source code lives on github:
https://github.com/rm-code/love-atom

You can install the package in Atom's preferences / package manager or in your terminal:

Code: Select all

apm install love-atom
Last edited by rmcode on Sun Apr 30, 2017 11:47 am, edited 5 times in total.
User avatar
bakpakin
Party member
Posts: 114
Joined: Sun Mar 15, 2015 9:29 am
Location: Boston

Re: LÖVE autocomplete package for Atom

Post by bakpakin »

Finally! Thank you so much. I've been wanting to do this for a while now, but other things and the hassle of learning coffeescript made me put it of. I suppose I really should learn some coffeescript if I'm going to use atom. Anyway, thank you!
((_((_CRAYOLA_((_((_> GitHub <_((_((_CRAYOLA_((_(()
User avatar
rmcode
Party member
Posts: 454
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: LÖVE autocomplete package for Atom

Post by rmcode »

bakpakin wrote:Finally! Thank you so much. I've been wanting to do this for a while now, but other things and the hassle of learning coffeescript made me put it of. I suppose I really should learn some coffeescript if I'm going to use atom. Anyway, thank you!
Hehe, the coffeescript part is negligible though :) The main part was writing a lua script for generating the snippet.cson file from the love-api.
User avatar
rmcode
Party member
Posts: 454
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: LÖVE autocomplete package for Atom

Post by rmcode »

Pushed a minor update:

Code: Select all

## 1.1.0

- Updated snippets for callbacks to produce a function body
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 »

Release a major update:

Code: Select all

## 2.0.0
- LÖVE-Atom now uses a real autocomplete+ provider to provide code suggestions
	- Added description to the bottom of the suggestion list
	- Added "more" link which points to the function's wiki page
	
Please note: LÖVE-Atom uses the latest development version of the LÖVE-API which is based on LÖVE 0.10.0
It now doesn't use snippets anymore, but instead provides its suggestions via the autocomplete+ package. This makes it a lot more flexible (e.g. I can display function descriptions in the menu) and also a bit nicer to use.
User avatar
MadByte
Party member
Posts: 533
Joined: Fri May 03, 2013 6:42 pm
Location: Braunschweig, Germany

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

Post by MadByte »

Thanks for updating it! +1
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 »

MadByte wrote:Thanks for updating it! +1
You are welcome :nyu: I just hope people don't get confused because it uses the 0.10.0 version of the api already :?

Also: If you find any problems give me a heads-up!
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 »

Small bugfix update:

Code: Select all

## 2.0.1
- Fixed wiki-urls for love modules
User avatar
SiENcE
Party member
Posts: 792
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

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

Post by SiENcE »

Thanks very much. Now i only need a git integration for Atom and a debugger .).
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 »

Pushed an update to enable autocompletion in moonscript files :awesome:
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 51 guests