Lua IDE

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
farvardin
Party member
Posts: 167
Joined: Sat Jun 28, 2008 6:46 pm

Lua IDE

Post by farvardin »

I don't know which editor you're using for editing your Lua files, but I've just found Geany is very conveniant for this purpose: syntax highligh, code folding, lists of all functions used, autocompletion and such.

http://geany.uvena.de/

(it's multiplatform also)
User avatar
Merkoth
Party member
Posts: 186
Joined: Mon Feb 04, 2008 11:43 pm
Location: Buenos Aires, Argentina

Re: Lua IDE

Post by Merkoth »

My personal favorite is vim, but if you want something more visual, I like Komodo Edit.
User avatar
mastastealth
Prole
Posts: 30
Joined: Thu Jul 03, 2008 2:44 am
Location: Barranquilla, Colombia
Contact:

Re: Lua IDE

Post by mastastealth »

Currently using Notepad++. I just wish there was a way (maybe there is?) to have it so while I type different functions and stuff, I can get a tooltip come up with the possible choices of what I'm writing. E.g. I type in "love.graphics." and then it will list all the possible choices like "draw" or "setColor".
User avatar
hagish
Citizen
Posts: 85
Joined: Thu May 01, 2008 12:51 pm
Contact:

Re: Lua IDE

Post by hagish »

in the last years i mostly used scite but currently geany it is :)
User avatar
Tenoch
Citizen
Posts: 76
Joined: Mon Jul 21, 2008 7:49 am

Re: Lua IDE

Post by Tenoch »

I used geany a lot, as well as scite and vim.
But today I mainly use gEdit. With a lot of plugins, it's a nice editor.
"When in doubt, use brute force." Ken Thompson
Green_Hell
Citizen
Posts: 94
Joined: Thu Feb 21, 2008 1:11 am

Re: Lua IDE

Post by Green_Hell »

PROLOGUE

Well, what I'm going to show you is how I edit scripts including LÖVE Lua scripts. Some people believe that the IDE is the only way and some people don't. I wanted IDE too. I required it to be lightweight but powerful, customisable, and in debian repository. I tried Geany http://geany.uvena.de/ but it disappointed me. It has built in support for Lua with some good features, but you can't practically do anything else. I wanted more. I knew about other IDE's on Linux but they weren't lightweight enough for me. So I decided to keep using stupid default text editor in gnome desktop called gedit. I've always thought about it as a replacement for notepad in windows. I was quite happy with it's encoding support and syntax highlighting. And I heard that it can be better with plug-ins. I did some research and found tutorials how to make gedit a TexMate clone. Tex Mate http://macromates.com/ the Macintosh text editor glorified by Rails developers. It inspired me and in a day i had IDE with templates, class browser, word completion, bracket completion, intelligent run/compile functions ant the powerful TexMate like code snippets. Now I have quite convenient nearly IDE and almost full control of what it can do.

CONTENTS
  1. Templates
  2. Wow! Snippets
  3. Code completion?
  4. Bracketing
  5. The Folding is dead. Long live the Class browser!
  6. Terminal's velocity
  7. Sexy tool-belt
Image
ScreenCast

EPILOGUE

This is for those who are interested.

Used Plugins There aren't all of them just the important.

Links My Lua Snippets including a few LÖVE related
http://inlove.googlecode.com/svn/trunk/ ... it/lua.xml

Where are the scripts?
I'm going to share them only on demand. Not that they were so cool and precious. It's because they are buggy and stupid. If you feel to fix them you're welcome.

I hope it was helpful.

Green Hell
>>I love LÖVE.<<
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest