Page 1 of 4

What software/methods do you use to edit/run your code?

Posted: Wed Oct 14, 2009 1:48 am
by LaggyNewbie
I just started developing with love and this is what I am currently doing:
1) Opening my .love in 7zip
2) running .lua in Notepad++ from 7zip
3) saving, closing Notepad++
4) 7zip sees changes, clicking ok to update archive
5) Running .love
6) Step #2

There must be an easier way?

Re: What software/methods do you use to edit/run your code?

Posted: Wed Oct 14, 2009 2:56 am
by Almost
I too use notepad ++

However, while I'm developing I have the files in a folder, and just drag the folder onto a shortcut to love that is on my desktop to run it.
Also: I use winrar, not 7zip.. I've never tried 7zip.

Re: What software/methods do you use to edit/run your code?

Posted: Wed Oct 14, 2009 3:53 am
by TechnoCat
I too keep it in a folder and then drag the folder onto a love shortcut. 7zip and WinRAR are almost identical. Except 7zip is free.

Re: What software/methods do you use to edit/run your code?

Posted: Wed Oct 14, 2009 1:54 pm
by Robin
I use a folder, and just use a terminal window:

Code: Select all

>love .

Re: What software/methods do you use to edit/run your code?

Posted: Wed Oct 14, 2009 3:45 pm
by osgeld
Robin wrote:I use a folder, and just use a terminal window:

Code: Select all

>love .
ditto

Re: What software/methods do you use to edit/run your code?

Posted: Wed Oct 14, 2009 3:53 pm
by dtaylorl
In Ubuntu:
1. Open a terminal and cd a directory with all of my love projects:
cd '/home/username/Development/love'
2. Edit my .lua files in Geany and save them in a project directory: /home/username/Development/love/projectname/
3. Use terminal to run the file:
love projectname

Much easier than dealing with zipping/unzipping .love files.

Re: What software/methods do you use to edit/run your code?

Posted: Thu Oct 15, 2009 6:56 am
by Igmon
Three "lovely" things:

1) Eclipse with luaeclipse plugin
2) Decoda for debugging (you have to compile love in windows to acquire the .pdb file for use with its debugging features). Though you can technically use Decoda alone for ide, I like eclipse better for code management.
3) WinRar

Re: What software/methods do you use to edit/run your code?

Posted: Thu Oct 15, 2009 7:27 am
by nevon
dtaylorl wrote:In Ubuntu:
1. Open a terminal and cd a directory with all of my love projects:
cd '/home/username/Development/love'
2. Edit my .lua files in Geany and save them in a project directory: /home/username/Development/love/projectname/
3. Use terminal to run the file:
love projectname

Much easier than dealing with zipping/unzipping .love files.
I do exactly the same thing, only I always have a terminal running (in the form of Guake), so I only have to press F12 to have it drop down.

Re: What software/methods do you use to edit/run your code?

Posted: Sat Oct 17, 2009 8:46 am
by Tenoch
Geany has a fancy (but simple) customizable shortcut on F5 to run programs. For Lua files it defaults to running "lua filename" in a terminal, but you can easily change it in "Build" -> "Set includes and arguments" to "love .".

Plus, Geany is a nice editor.

Re: What software/methods do you use to edit/run your code?

Posted: Sat Oct 17, 2009 5:03 pm
by dtaylorl
Tenoch, that tip is very useful. I didn't realize that it was so simple to change the way the "execute" command works in Geany. It means I don't have to switch to a terminal every time I want to run my game!