Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>LÖVE SnippetsNew to Visual Studio Code? Get it now.
LÖVE Snippets

LÖVE Snippets

yorik1984

|
1 install
| (0) | Free
A comprehensive collection of code snippets for the LÖVE framework
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
LÖVE snippets logo

  ♡ LÖVE ♡ VS Code Snippets  

LÖVE Snippets Generator License Lua LÖVE API

This extension brings the love2d-snippets collection to VS Code. For more detailed information, see the main snippets repository.

love.load()

🚀 Features

  • Universal snippet collection – the generated JSON files work in any editor that supports VS Code-style snippets compatible with any VS Code snippets loader. The snippets/ folder contains prepared snippet JSON files for all LÖVE modules
  • Standalone script – run in repository workflows (GitHub Actions, CI/CD, or plugin repos) to generate snippets automatically
  • GitHub Actions automation – optional CI workflow re-runs the generator to keep snippets up to date when the official love-api changes
  • Full API coverage – generates snippets for all modules, functions, callbacks, type methods, constructors, getters/setters, enums, and conf.lua

📝 What's included

  • Modules
  • Callbacks
  • Functions and Type methods
  • Constructors
  • Getters and setters
  • Enums as choice snippets
  • Conf snippets
  • package.json manifest listing the snippet files

For full instructions, see USAGE.md.

⚙️ Example settings

  • editor.tabSize – The number of spaces a tab character is displayed as.
  • editor.insertSpaces – When enabled (true), pressing Tab inserts spaces. When disabled (false), it inserts a tab character.
{
    "[lua]": {
        "editor.tabSize": 4,
        "editor.insertSpaces": true
    }
}

📜 License

MIT License

Built with ♡ for the LÖVE community
Report Issue· Discussion· LÖVE
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft