Page 1 of 2

An Idea!

Posted: Tue Dec 02, 2008 3:49 am
by Lemons
I think it would be cool if Löve had a text editor/compiler, is anyone with me on that?
And if so, i'd help make one :D

Re: An Idea!

Posted: Tue Dec 02, 2008 4:57 am
by Dvondrake
---

Re: An Idea!

Posted: Tue Dec 02, 2008 6:46 am
by mike
I use Notepad++ too... is there a way to customize its Lua highlighter to understand things like love.graphics.newImage and such?

Re: An Idea!

Posted: Tue Dec 02, 2008 6:55 am
by bartbes
I'm using GEdit (not sure about which letters need uppercase), the built-in gnome editor.
Though, as mike says I would like to add the löve functions as well.. hmm might have to search for where those syntax files are located..

Re: An Idea!

Posted: Tue Dec 02, 2008 3:40 pm
by Lemons
Well i've been using TextMate, and it's been annoying to keep changing the folders extension from .love to .zip
Does anyone have a unix command that would make it so when i run the script it takes all the files and makes them into a .love?

Re: An Idea!

Posted: Tue Dec 02, 2008 3:54 pm
by bartbes
something like:

Code: Select all

#!/bin/bash

cd $1
zip ../$1 *
cd ..
mv ${1}.zip ${1}.love
?

Re: An Idea!

Posted: Tue Dec 02, 2008 5:33 pm
by rude
... why not run directly from a folder?

Re: An Idea!

Posted: Tue Dec 02, 2008 8:01 pm
by Merkoth
+1 to bartbes
+1 to rude

I don't remember if Notepad++ is able to do this, but you can make custom "lexers" for Programmer's Notepad (http://www.pnotepad.org/).

Re: An Idea!

Posted: Tue Dec 02, 2008 8:33 pm
by farvardin
GEANY is cool for coding with lua.

Re: An Idea!

Posted: Tue Dec 02, 2008 9:42 pm
by Kaze
mike wrote:I use Notepad++ too... is there a way to customize its Lua highlighter to understand things like love.graphics.newImage and such?
In langs.xml, replace the Lua "language" block with:

EDIT: Can't post super-long code blocks.
http://errur.com/f/download/3513_lovehighlight.txt