Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Looking for a programming environment for Lua.
Started by GBT3101 Aug 27 2013 08:30 AM

- - - - -
22 replies to this topic
outlaw eclipse ide
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

GBT3101

[GLOBAL: userInfoPane.html]
GBT3101
  • Observer

  • 4 posts
  • Corona SDK

I'm usually working with eclipse for any other language, but I see that this is not the best choice for Lua (except you can recommend a good Add-on for eclipse especialy for lua).

 

I've tried Outlaw, but it seems to have TOO MANY bugs and problems it's driving me nuts!

just for example, when I setup the adress for my Corona SDK, once I try to lunch my project I get that:

(the adress is: C:\Program Files (x86)\Corona Labs\Corona SDK\Corona Simulator.exe)

 

Attached File  Outlaw.png   94.99KB   23 downloads

 

for god's sake, it doesn't recognize spaces.

 

I would like a decent suggestion on which software should I program Lua?



[TOPIC: post.html]
#2

jstrahan

[GLOBAL: userInfoPane.html]
jstrahan
  • Corona Geek

  • 1,926 posts
  • Corona SDK

[TOPIC: post.html]
#3

GBT3101

[GLOBAL: userInfoPane.html]
GBT3101
  • Observer

  • 4 posts
  • Corona SDK

Amm, can you please elaborate a bit?



[TOPIC: post.html]
#4

JonPM

[GLOBAL: userInfoPane.html]
JonPM
  • Corona Geek

  • 1,077 posts
  • Corona SDK

Lua Glider



[TOPIC: post.html]
#5

GBT3101

[GLOBAL: userInfoPane.html]
GBT3101
  • Observer

  • 4 posts
  • Corona SDK

I would really love to use an  Add-on for eclipse, however I've tried this one:

http://flashapplications.de/?p=946

 

and when I try to install the URL: http://luaeclipse.luaforge.net/update-site/site.xml

eclipse says it can't find it... I'm going nuts with this lua



[TOPIC: post.html]
#6

mikehaberle

[GLOBAL: userInfoPane.html]
mikehaberle
  • Observer

  • 2 posts
  • Corona SDK

Amm, can you please elaborate a bit?

Sublime is a popular text editor that works well with many languages.

 

Notepad++ is another option (and is free), but doesn't natively have autocompletion for LUA.

 

There's also DECODA.

 

You mentioned Eclipse. Check out: http://www.eclipse.org/koneki/ldt/



[TOPIC: post.html]
#7

jasonhoekstra

[GLOBAL: userInfoPane.html]
jasonhoekstra
  • Observer

  • 5 posts
  • Corona SDK

+1 on Sublime.  It's a simple editor out of the box with syntax highlighting, indentation support and easy to navigate between a directory of files.  There is a lot of power under the hood with its macros to make life easier in re-formating code, bulk search and replace and etc - but to start, it's quick and gets what you need.  Sublime + Corona SDK in the background offer a good development combo.



[TOPIC: post.html]
#8

JonPM

[GLOBAL: userInfoPane.html]
JonPM
  • Corona Geek

  • 1,077 posts
  • Corona SDK

What add-on do you guys use with Sublime to get the Corona APIs?



[TOPIC: post.html]
#9

GBT3101

[GLOBAL: userInfoPane.html]
GBT3101
  • Observer

  • 4 posts
  • Corona SDK

hi mikehaberle, how do you use corona SDK and eclipse with this Add-On?

I can write in lua now but I got error when I try to lunch the project.

 

and if I use sublime, how do I make it lunch in Corona SDK?



[TOPIC: post.html]
#10

jstrahan

[GLOBAL: userInfoPane.html]
jstrahan
  • Corona Geek

  • 1,926 posts
  • Corona SDK

[TOPIC: post.html]
#11

jonjonsson

[GLOBAL: userInfoPane.html]
jonjonsson
  • Corona Geek

  • 1,051 posts
  • Corona SDK

I have wanted to try Sublime but pages upon pages about how to set it up, ain't noboddy got time for that!



[TOPIC: post.html]
#12

jstrahan

[GLOBAL: userInfoPane.html]
jstrahan
  • Corona Geek

  • 1,926 posts
  • Corona SDK

Beats dealing with bugs in others. At lease it does to me

[TOPIC: post.html]
#13

MochiBits

[GLOBAL: userInfoPane.html]
MochiBits
  • Contributor

  • 134 posts
  • Enterprise

Lua Glider works for me. Some UI things are touchy, but overall it get the job done.



[TOPIC: post.html]
#14

jstrahan

[GLOBAL: userInfoPane.html]
jstrahan
  • Corona Geek

  • 1,926 posts
  • Corona SDK

I have glider and like using it. Except it just feels cluttered to me. And have you seen all the bugs ppl post

[TOPIC: post.html]
#15

Caleb P

[GLOBAL: userInfoPane.html]
Caleb P
  • Corona Geek

  • 1,424 posts
  • Corona SDK

Sublime Text!

Sublime Text!

Sublime Text!

Sublime Text!

Sublime Text!

Sublime Text!

 

Really... I've checked around, and there is no comparison. (except maybe Brackets, but it slows down pretty quickly - plus, it's a work in progress)

 

And I don't know what @jonjonsson is talking about - I got it, opened it, and there you go. Done.

 

- C



[TOPIC: post.html]
#16

jonjonsson

[GLOBAL: userInfoPane.html]
jonjonsson
  • Corona Geek

  • 1,051 posts
  • Corona SDK

I've now spent more than a day with sublime, setting up and using.

 

From Netbeans and Glider I'm accustomed to few things that I'm not willing to let go:

 

Problem: Live runtime error reporting. So when I make a mistake like forgetting to put 'end' or whatever, I know it instantly.

Solved: Installed https://github.com/lano78/SublimeCoronaSDK It's not as nice as Glider, its harder to spot errors, but good enough.

 

Problem: Live diff from last commit. So when I add a new feature I see instantly what I'm changing where. Easy to review changes on the fly.

Solved: Found nothing for Mercurial, so converted to Git and installed GitGutter: https://github.com/jisaacks/GitGutter Again its not as nice, I can't hover over and see before version etc. But alright anyway.

 

So my conclusion was that I was going to use Sublime because Glider is quite a battery hog Sublime is really cool and light.

 

But turns out I have been spoiled by Glider. I LOVE the fact that Glider highlights globals in my code. It saves much more time than I had realized. Specially these days when I'm doing GameCenter and Facebook integration and making a build every 5 minutes. Example, first screenshot is Sublime, error not so easy to spot, second is Glider and its really obvious.

 

Sublime: 

Glider:

 

I looked into adding as a plugin to Sublime, the Lua plugin above uses Luac which can list globals, but its not as easy as it sounds I think. 



[TOPIC: post.html]
#17

jstrahan

[GLOBAL: userInfoPane.html]
jstrahan
  • Corona Geek

  • 1,926 posts
  • Corona SDK

@jonjonsson

i agree with you point above. i was the same way but after about a week of using sublime i got use to it and now i use it all the time. i will still use glider from time to time for certain things but 99% of the time its sublime now



[TOPIC: post.html]
#18

jonjonsson

[GLOBAL: userInfoPane.html]
jonjonsson
  • Corona Geek

  • 1,051 posts
  • Corona SDK

Yeah I know what you mean. I just really miss that, the other things I can live without.

 

I looked a bit more into modifying or making a plugin and I'm half way there. Right now it lists the globals in the console as soon as they appear, just have to make it highlight them in the code. I guess I'll make it my weekend project.



[TOPIC: post.html]
#19

piotrz55

[GLOBAL: userInfoPane.html]
piotrz55
  • Contributor

  • 754 posts
  • Corona SDK

Just comment passing :)

 



[TOPIC: post.html]
#20

sunmils

[GLOBAL: userInfoPane.html]
sunmils
  • Contributor

  • 197 posts
  • Corona SDK

glider, editor and the debugger, are really good if you learned the basics.



[TOPIC: post.html]
#21

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,457 posts
  • Corona SDK

LUA Glider FTW.  Custom templates are sweet.   :ph34r:



[TOPIC: post.html]
#22

MochiBits

[GLOBAL: userInfoPane.html]
MochiBits
  • Contributor

  • 134 posts
  • Enterprise

I just got onboard with Sublime Text 3, and so far in one day of use, I can say I love it.

Being a long time VI guy, I missed the control in LuaGlider. ST3 is perfect.

My needs:
- Fast (LuaGlider has been super slow lately)
- Dark color schemes
- VI bindings
- Easy build process
- File tree view
- Easy navigation shortcuts

It's 70$, but well worth it.

[TOPIC: post.html]
#23

Caleb P

[GLOBAL: userInfoPane.html]
Caleb P
  • Corona Geek

  • 1,424 posts
  • Corona SDK

Just discovered another great editor for free: Eddie. It's not well known, but it's surprisingly fast and powerful. It's perfect for those who don't want to spend $70 on ST(2/3), but still want a great editor.

It's also got the key feature that, in my opinion, decides whether a text editor is even worth thinking of - a file tree. I cannot cope with editors that only let you open single files. In Eddie, you get a separate window that you can use.
 

There are some things missing (an easy way to create themes, like ST has theme files instead of color buttons; a gutter with line numbers, rather than a current line bar at the top; code folding), but overall, it's a pretty nice editor.


[EDIT:] Link: http://www.el34.com/downloads.html
 

- C




[topic_controls]
[/topic_controls]