IDE for Lua and LOVE?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
bobbin
Prole
Posts: 4
Joined: Thu Nov 03, 2011 10:36 pm

Re: IDE for Lua and LOVE?

Post by bobbin »

thanks, but I don't understand.

Sublime Text creates this love.sublime-build file:

Code: Select all

build make
lineNumberRegex ^(...*?):([0-9]*):?([0-9]*)
showWhenFinished true
workingDir $FileDir
how is it that it has to be to work?

I change "make" with "love" and that fires löve when I build, but it doesn't execute the file.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: IDE for Lua and LOVE?

Post by Robin »

Try

Code: Select all

build love .
Help us help you: attach a .love.
bobbin
Prole
Posts: 4
Joined: Thu Nov 03, 2011 10:36 pm

Re: IDE for Lua and LOVE?

Post by bobbin »

Robin wrote:Try

Code: Select all

build love .
that fires love, not my script
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: IDE for Lua and LOVE?

Post by kikito »

bobbin wrote:
Robin wrote:Try

Code: Select all

build love .
that fires love, not my script
Do you have the dot at the end?
When I write def I mean function.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: IDE for Lua and LOVE?

Post by TechnoCat »

bobbin wrote:
Robin wrote:Try

Code: Select all

build love .
that fires love, not my script
Because it should be

Code: Select all

build love .
workingDir $FileDir
http://www.sublimetext.com/docs/build
bobbin
Prole
Posts: 4
Joined: Thu Nov 03, 2011 10:36 pm

Re: IDE for Lua and LOVE?

Post by bobbin »

TechnoCat wrote:
bobbin wrote:
Robin wrote:Try

Code: Select all

build love .
that fires love, not my script
Because it should be

Code: Select all

build love .
workingDir $FileDir
http://www.sublimetext.com/docs/build

It works. thank you so much.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: IDE for Lua and LOVE?

Post by Robin »

*Facepalm*
I assumed you kept the rest of the file intact. I guess I should have specified.
Help us help you: attach a .love.
minism
Prole
Posts: 20
Joined: Tue Nov 01, 2011 5:32 am

Re: IDE for Lua and LOVE?

Post by minism »

For those using SublimeText2, I'm currently working on a package for Love2D development. Just the basics to begin with: A build system, syntax highlighting, and library auto-completion. Will start a thread when it goes to alpha.
MaxGhost
Prole
Posts: 2
Joined: Tue Nov 08, 2011 6:41 am

Re: IDE for Lua and LOVE?

Post by MaxGhost »

minism wrote:For those using SublimeText2, I'm currently working on a package for Love2D development. Just the basics to begin with: A build system, syntax highlighting, and library auto-completion. Will start a thread when it goes to alpha.
Just hearing that makes me so excited. I've been looking everywhere for a way to set up a hotkey to run my current love folder, best I came up with was a right-click to on the folder in the side bar to run it, but that's tedious (rightclick->open with->LOVE).

For those interested, this is put in Side Bar.sublimesettings

Make sure to change the path to work with your install.

Code: Select all

			{
				"caption": "LÖVE",
				"id": "side-bar-files-open-with-love",

				"command": "side_bar_files_open_with",
				"args": {
									"paths": [],
									"application": "C:\\Program Files (x86)\\LOVE\\love.exe",
									"extensions":"" //anything
								}
			},
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: IDE for Lua and LOVE?

Post by coffee »

slime wrote:I like Sublime Text 2.
I'm too enjoying Sublime. Mostly because it's simple, fast, have Lua (and all other stuff syntax) have smart word wrap code. I only would like to have a snippets sidebar.
minism wrote:For those using SublimeText2, I'm currently working on a package for Love2D development. Just the basics to begin with: A build system, syntax highlighting, and library auto-completion. Will start a thread when it goes to alpha.
If you at least add the remain LOVE syntax highlighting and library auto-completion would be great. Thank you. :)
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests