mnem / SublimeLove

LÖVE support for SublimeText2

Home Page:http://love2d.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

SublimeLove is a package for Sublime Text 2 supporting the Love2D API.

Currently in alpha and still heavily a work in progress.

Installation

You can install this package by running the following command in your ST2 Packages directory:

git clone git://github.com/minism/SublimeLove.git

Features

Syntax highlighting

Hit ctrl/cmd+P, or go to View > Syntax, and set the syntax of your open file to "Lua (Love)" to enable highlighting for the Love2D API functions. On my editor, lua files are now defaulting to this syntax, but I'm not sure how to control that.

Auto completion

Pressing ctrl+space in an open Love file will show the autocompletions for the API functions. ST2 currently has some issues with autocomplete that other plugins are also dealing with, so its not perfect yet. One major issue is that the period key breaks tokens and doesn't get included as part of the autocomplete query.

Build system

To use the build command, the Love executable needs to be on your system PATH. Then, go to Tools > Build System and select "Love". Hit F7 or cmd+B to run your Love program.

Links

About

LÖVE support for SublimeText2

http://love2d.org


Languages

Language:Python 100.0%