Page 1 of 4

Love-Atom (Smart autocompletion for Atom)

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

Re: LÖVE autocomplete package for Atom

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

Re: LÖVE autocomplete package for Atom

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

Re: LÖVE autocomplete package for Atom

Posted: Wed Jul 29, 2015 10:06 am
by rmcode
Pushed a minor update:

Code: Select all

## 1.1.0

- Updated snippets for callbacks to produce a function body

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

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

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

Posted: Wed Dec 09, 2015 3:49 pm
by MadByte
Thanks for updating it! +1

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

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

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

Posted: Sun Dec 13, 2015 5:08 pm
by rmcode
Small bugfix update:

Code: Select all

## 2.0.1
- Fixed wiki-urls for love modules

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

Posted: Fri Dec 18, 2015 2:53 pm
by SiENcE
Thanks very much. Now i only need a git integration for Atom and a debugger .).

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

Posted: Thu Dec 31, 2015 11:09 am
by rmcode
Pushed an update to enable autocompletion in moonscript files :awesome: