An Idea!

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Lemons
Prole
Posts: 5
Joined: Tue Dec 02, 2008 12:03 am
Contact:

An Idea!

Post by Lemons » Tue Dec 02, 2008 3:49 am

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
In the great words of the song Jessica by the Allman Brothers Band, "..."

Dvondrake
Prole
Posts: 29
Joined: Sun Oct 26, 2008 5:53 pm

Re: An Idea!

Post by Dvondrake » Tue Dec 02, 2008 4:57 am

---
Last edited by Dvondrake on Mon Jan 21, 2019 10:20 pm, edited 1 time in total.

User avatar
mike
Administrator
Posts: 364
Joined: Mon Feb 04, 2008 5:24 pm

Re: An Idea!

Post by mike » Tue Dec 02, 2008 6:46 am

I use Notepad++ too... is there a way to customize its Lua highlighter to understand things like love.graphics.newImage and such?
Now posting IN STEREO (where available)

User avatar
bartbes
Sex machine
Posts: 4944
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: An Idea!

Post by bartbes » Tue Dec 02, 2008 6:55 am

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..

User avatar
Lemons
Prole
Posts: 5
Joined: Tue Dec 02, 2008 12:03 am
Contact:

Re: An Idea!

Post by Lemons » Tue Dec 02, 2008 3:40 pm

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?
In the great words of the song Jessica by the Allman Brothers Band, "..."

User avatar
bartbes
Sex machine
Posts: 4944
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: An Idea!

Post by bartbes » Tue Dec 02, 2008 3:54 pm

something like:

Code: Select all

#!/bin/bash

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

User avatar
rude
Administrator
Posts: 1051
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: An Idea!

Post by rude » Tue Dec 02, 2008 5:33 pm

... why not run directly from a folder?

User avatar
Merkoth
Party member
Posts: 186
Joined: Mon Feb 04, 2008 11:43 pm
Location: Buenos Aires, Argentina

Re: An Idea!

Post by Merkoth » Tue Dec 02, 2008 8:01 pm

+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/).

User avatar
farvardin
Party member
Posts: 161
Joined: Sat Jun 28, 2008 6:46 pm

Re: An Idea!

Post by farvardin » Tue Dec 02, 2008 8:33 pm

GEANY is cool for coding with lua.

User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Re: An Idea!

Post by Kaze » Tue Dec 02, 2008 9:42 pm

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

Post Reply

Who is online

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