Sublime Text Build Command

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
BinderNews
Prole
Posts: 1
Joined: Wed Apr 30, 2014 12:44 pm

Sublime Text Build Command

Post by BinderNews »

Hello all. I'm new here but I've been using Love2D for a few months with sublime text. I recently put together a build file for Love for Sublime Text. It's based on the build system from the wiki but I added a few things (file_regex, working_dir, improved project path).
NOTE: I also have support in the file_regex for lume.trace output
About file_regex

Thanks to all you who make Love2D an awesome and easy to use framework. :awesome:

Code: Select all

{
    "selector": "source.lua",
    "cmd": ["C:/Apps/love/love.exe", "${project_path:${folder}}"],
    "file_regex": "^(?:Error: )?\\s*\\[?([\\w/.]*?):([0-9]*):?([0-9]*)",
    "working_dir": "${project_path:${folder}}",
    "shell": true
}
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 63 guests