Page 3 of 4

Re: IDE for Lua and LOVE?

Posted: Fri Nov 04, 2011 1:33 am
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.

Re: IDE for Lua and LOVE?

Posted: Fri Nov 04, 2011 9:43 am
by Robin
Try

Code: Select all

build love .

Re: IDE for Lua and LOVE?

Posted: Fri Nov 04, 2011 3:47 pm
by bobbin
Robin wrote:Try

Code: Select all

build love .
that fires love, not my script

Re: IDE for Lua and LOVE?

Posted: Fri Nov 04, 2011 3:51 pm
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?

Re: IDE for Lua and LOVE?

Posted: Fri Nov 04, 2011 3:55 pm
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

Re: IDE for Lua and LOVE?

Posted: Fri Nov 04, 2011 3:59 pm
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.

Re: IDE for Lua and LOVE?

Posted: Fri Nov 04, 2011 4:26 pm
by Robin
*Facepalm*
I assumed you kept the rest of the file intact. I guess I should have specified.

Re: IDE for Lua and LOVE?

Posted: Tue Nov 08, 2011 6:21 am
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.

Re: IDE for Lua and LOVE?

Posted: Tue Nov 08, 2011 6:46 am
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
								}
			},

Re: IDE for Lua and LOVE?

Posted: Tue Nov 08, 2011 2:10 pm
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. :)