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

An Idea!

Post 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
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 »

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

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: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: An Idea!

Post 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..
User avatar
Lemons
Prole
Posts: 5
Joined: Tue Dec 02, 2008 12:03 am

Re: An Idea!

Post 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?
In the great words of the song Jessica by the Allman Brothers Band, "..."
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: An Idea!

Post by bartbes »

something like:

Code: Select all

#!/bin/bash

cd $1
zip ../$1 *
cd ..
mv ${1}.zip ${1}.love
?
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: An Idea!

Post by rude »

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

+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: 167
Joined: Sat Jun 28, 2008 6:46 pm

Re: An Idea!

Post by farvardin »

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 »

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: No registered users and 2 guests