• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

love-atom

Adds snippets for the LÖVE game development framework.
  • #lua
  • #snippets
  • #snippet
  • #löve
  • #love2d
rm-code
3.1.8 11,722
7
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Love-Atom

Version License

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

gif

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. example1

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

The autocompletion suggestions are generated automatically using the LÖVE API which is following the official LÖVE wiki.

Installation

You can install the package through Atom's package manager or by running apm install love-atom in your terminal.

Dependencies

The following dependencies will be installed automatically if they are missing:

  • language-lua
  • autocomplete-lua

Using a custom language package

If you want to use a different language package you can simply remove the language-lua dependency from love-atom. Open the love-atom package by heading to your settings and clicking on "View Code":

view-code

Open the package.json and look for the "package-deps" entry at the bottom.

"package-deps": [
  "language-lua",
  "autocomplete-lua"
]

Remove the "language-lua", line and save. Atom will no longer try to install the language-lua from now on.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by