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 » Tue Jul 28, 2015 11:59 am

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 » Tue Jul 28, 2015 5:05 pm

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 » Tue Jul 28, 2015 10:54 pm

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 » Wed Jul 29, 2015 10:06 am

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 » Wed Dec 09, 2015 3:45 pm

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: 505
Joined: Fri May 03, 2013 6:42 pm
Location: Germany

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

Post by MadByte » Wed Dec 09, 2015 3:49 pm

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 » Wed Dec 09, 2015 3:53 pm

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 » Sun Dec 13, 2015 5:08 pm

Small bugfix update:

Code: Select all

## 2.0.1
- Fixed wiki-urls for love modules

User avatar
SiENcE
Party member
Posts: 785
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

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

Post by SiENcE » Fri Dec 18, 2015 2:53 pm

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 » Thu Dec 31, 2015 11:09 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests