Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

My Work On a Lua IDE
Started by akhtar Sep 25 2010 02:40 PM

- - - - -
58 replies to this topic
[TOPIC CONTROLS]
Page 2 of 3 1 2 3
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

bsoisoi

[GLOBAL: userInfoPane.html]
bsoisoi
  • Observer

  • 11 posts
  • Guests

It is an obvious feature. However, the Corona SDK runtime is proprietary, so I'm doubtful that it'll ever happen without direct involvement from Corona.
uid: 21649 topic_id: 2200 reply_id: 32665


[TOPIC: post.html]
#27

afonseca

[GLOBAL: userInfoPane.html]
afonseca
  • Enthusiast

  • 87 posts
  • Corona SDK

Just an update, I got the latest version and the issue above has been fixed. I'm starting to use this as my primary editor now and will post feedback here as I go. One thing I'd like to see improved is the way parameters are displayed. It would be nice if it highlights the hint for each parameter as you type one without removing the tooltip in case there are many parameters. I think Eclipse and other IDE's do it this way so it's what I'm used to.
uid: 8692 topic_id: 2200 reply_id: 33347


[TOPIC: post.html]
#28

cixate

[GLOBAL: userInfoPane.html]
cixate
  • Observer

  • 15 posts
  • Corona SDK

Thanks akhtar, as an IntelliJ fan I found this plugin through the normal plugin installer. It has been working great!
uid: 2927 topic_id: 2200 reply_id: 34043


[TOPIC: post.html]
#29

afonseca

[GLOBAL: userInfoPane.html]
afonseca
  • Enthusiast

  • 87 posts
  • Corona SDK

Hey akhtar, I've been using this as my main editor for Lua/Corona and it's been working great with the plugin. I have run into a few bugs that I'd like to report. Is there a place to do so, I could post here but don't want to clutter up this thread if there's a better place. Please keep developing this, it has alot of potential.
uid: 8692 topic_id: 2200 reply_id: 34723


[TOPIC: post.html]
#30

awinograd

[GLOBAL: userInfoPane.html]
awinograd
  • Enthusiast

  • 85 posts
  • Guests

I just found this. Akhtar, I love you.
uid: 49205 topic_id: 2200 reply_id: 38733


[TOPIC: post.html]
#31

akhtar

[GLOBAL: userInfoPane.html]
akhtar
  • Enthusiast

  • 61 posts
  • Guests

Great. Report any issues you run into here:

https://bitbucket.org/sylvanaar2/lua-for-idea/issues?status=new&status=open
uid: 846 topic_id: 2200 reply_id: 38736


[TOPIC: post.html]
#32

afonseca

[GLOBAL: userInfoPane.html]
afonseca
  • Enthusiast

  • 87 posts
  • Corona SDK

akhtar, just an update on using the IDE for a bit longer. It's my primary editor now with your plug-ins and I love it! I'll be creating some enhancement requests on your site but this tool has already saved me a ton of time and pain compared to what I was using before. I also shared it with my friend and he's already a fan after using it for a day. Please keep updating it and adding to it as it's a great help.
uid: 8692 topic_id: 2200 reply_id: 38853


[TOPIC: post.html]
#33

WauloK

[GLOBAL: userInfoPane.html]
WauloK
  • Contributor

  • 668 posts
  • Guests

Neat! :)
uid: 10389 topic_id: 2200 reply_id: 38883


[TOPIC: post.html]
#34

notts_forest_

[GLOBAL: userInfoPane.html]
notts_forest_
  • Enthusiast

  • 43 posts
  • Corona SDK

Where is the lua sdk stored on a mac? this looks really useful!
uid: 68741 topic_id: 2200 reply_id: 40442


[TOPIC: post.html]
#35

akhtar

[GLOBAL: userInfoPane.html]
akhtar
  • Enthusiast

  • 61 posts
  • Guests

You have to download it yourself from the bitbucket page here:

https://bitbucket.org/sylvanaar2/idlua-sdk-corona/wiki/Home
uid: 846 topic_id: 2200 reply_id: 40558


[TOPIC: post.html]
#36

nahuel.bergamo

[GLOBAL: userInfoPane.html]
nahuel.bergamo
  • Observer

  • 1 posts
  • Corona SDK

Hi, how are you? this seems to be a really interesting project, is it still under active development?

Cheers,
Nahuel.
uid: 77774 topic_id: 2200 reply_id: 46998


[TOPIC: post.html]
#37

akhtar

[GLOBAL: userInfoPane.html]
akhtar
  • Enthusiast

  • 61 posts
  • Guests

Yes. It is.

I am re-evaluating how I want to continue. I am interested in trying to attract some more developers to the project going forward, but I would describe my development pace over the past 18 months as being quite active. I think feature-wise this is one of the best options out there. I think on average a new version has been released every 1-2 weeks sometimes more.

The only real issue I think this project has is that it takes a little effort to set things up the first time - after you do it once though - it becomes really trivial. This does have a an upside as my users tend to not need a lot of hand holding - but I would like to broaden the appeal of the tool in any case. People still even use LuaEclipse - and it hasn't really been updated in years. I need to figure out how to improve that situation.

Personally, I do all my Lua editing this way now - it is just so much better having features like auto-complete, syntax checking, code formatting, and semantic awareness. Not to mention that the IDE itself provides a full set of tools for development in general and is cross platform.
uid: 846 topic_id: 2200 reply_id: 47006


[TOPIC: post.html]
#38

brettmaddern

[GLOBAL: userInfoPane.html]
brettmaddern
  • Enthusiast

  • 31 posts
  • Guests

Hi I'm stuck on installing this...

I setup a new project in thwe wizard, when I get to "specify the Lua binaries directory" it already is populated with kaluha (unlike the screencast) if I add a new one I cannot find the Lua SDK despite downloading every zip I can find on the bitbucket page (really confusing lots of zips all over the place unsure which ones I need)

Can somebody please let me know which zips I need from the bitbucket page, and where to find the Lua 5.1.4 SDK?

Thanks!
uid: 43961 topic_id: 2200 reply_id: 47275


[TOPIC: post.html]
#39

akhtar

[GLOBAL: userInfoPane.html]
akhtar
  • Enthusiast

  • 61 posts
  • Guests

It is where you install Lua. You would need to download Lua itself.

BUT you don't have to, you can choose kahlua if you want and set it up as your sdk. Using a native Lua interpreter isn't crucial for you as a corona developer since you won't actually be running your code via IntelliJ.
uid: 846 topic_id: 2200 reply_id: 47293


[TOPIC: post.html]
#40

brettmaddern

[GLOBAL: userInfoPane.html]
brettmaddern
  • Enthusiast

  • 31 posts
  • Guests

Hi akhtar,

appreciate your reply...

Ok so I've installed sylvanaar2-idlua-sdk-corona and its now listed in external libraries for my empty template, if I click on the corona_api.lua file within the external library group I can see the corona sdk commands...

So I make a file called main.lua in my project group, it shows the standard lua tips but none for corona, the screencast doesn't mention any other steps, but I'm obviously missing something...

uid: 43961 topic_id: 2200 reply_id: 47297


[TOPIC: post.html]
#41

akhtar

[GLOBAL: userInfoPane.html]
akhtar
  • Enthusiast

  • 61 posts
  • Guests

So you did this?

https://bitbucket.org/sylvanaar2/lua-for-idea/wiki/Installing_a_Custom_API

If you did - it should work. You can try File|Invalidate Caches to see if that helps.

I just tried it myself to verify that it was working. I typed "disp" and got all the completions for display.whatever
uid: 846 topic_id: 2200 reply_id: 47298


[TOPIC: post.html]
#42

brettmaddern

[GLOBAL: userInfoPane.html]
brettmaddern
  • Enthusiast

  • 31 posts
  • Guests

yep done that and the external library is listed.

I can get the first part of the code completion to work, ie i type:

"di"

code completion pops up with "display" (the only thing listed)

there are no options for display.newGroup() etc
uid: 43961 topic_id: 2200 reply_id: 47299


[TOPIC: post.html]
#43

brettmaddern

[GLOBAL: userInfoPane.html]
brettmaddern
  • Enthusiast

  • 31 posts
  • Guests

Ok I invalidated the caches as you suggested and it now fully completes.

Thanks for your help this really useful!
uid: 43961 topic_id: 2200 reply_id: 47300


[TOPIC: post.html]
#44

brettmaddern

[GLOBAL: userInfoPane.html]
brettmaddern
  • Enthusiast

  • 31 posts
  • Guests

oop one last thing like magenda I can't get the function arguments/parameters to show in the tooltips

for instance the tooltip for display.newRect()

shows [Corona API] display.newRect()

It seems like the properties file in the zip file you pointed me to has the arguments in, so I don't think I need to download the files that you pointed magenda to...

************** edit ******************

Ok I've just spotted that not all of the properties are listed for every command, so the ones that are included are working correctly.

Thanks again!
uid: 43961 topic_id: 2200 reply_id: 47303


[TOPIC: post.html]
#45

arncota

[GLOBAL: userInfoPane.html]
arncota
  • Observer

  • 5 posts
  • Corona SDK

Any tips on how to set this up on a Mac? Do I need to do a separate Lua install? I am trying to find my Lua SKD, but I dont see it, I thought maybe it came with Corona?
uid: 83074 topic_id: 2200 reply_id: 50440


[TOPIC: post.html]
#46

afonseca

[GLOBAL: userInfoPane.html]
afonseca
  • Enthusiast

  • 87 posts
  • Corona SDK

It doesn't come with Corona, I ended up downloading the Lua SDK myself and putting it my Documents directory. You may not need to do that as it looks like the Mac already comes with Lua in /usr/local/bin but maybe I couldn't find it at the time.
uid: 8692 topic_id: 2200 reply_id: 50445


[TOPIC: post.html]
#47

codepunk_schmidt

[GLOBAL: userInfoPane.html]
codepunk_schmidt
  • Observer

  • 17 posts
  • Corona SDK

You've done great work but I can't use it due to a limitation in the editor itself. Maybe I'm missing it. TextMate allows you to group individual files in "virtual directories" or groups. Not sure how else to explain it. Basically, I have groups called spritesheets, extern (e.g. director goes here), objects, enemies, powerups, config, etc... These aren't actually directories on the filesystem though which is nice since all lua files need to be in the base folder. IntelliJ only allows you to group files in directories and these are actual directories on the file system. Is there a way to create file groups in the project file itself rather than directories?
uid: 19383 topic_id: 2200 reply_id: 50451


[TOPIC: post.html]
#48

akhtar

[GLOBAL: userInfoPane.html]
akhtar
  • Enthusiast

  • 61 posts
  • Guests

Not that I am aware of.

That doesn't mean there isn't a way to accomplish what you want, I just don't know offhand how to do what you want.
uid: 846 topic_id: 2200 reply_id: 50453


[TOPIC: post.html]
#49

noBlad

[GLOBAL: userInfoPane.html]
noBlad
  • Observer

  • 3 posts
  • Corona SDK

Hi,

How this page http://developer.anscamobile.com/resources/apis/ can be used to generate those files:
corona_api.lua
corona_api.doclua
api-reference.html

or did I missed something in the tutorials ?

Does this information is processed somewhere by 3-rd person ?
This is done for CPM quite often but format of text is different.

Regards
Tom
uid: 99683 topic_id: 2200 reply_id: 68810


[TOPIC: post.html]
#50

akhtar

[GLOBAL: userInfoPane.html]
akhtar
  • Enthusiast

  • 61 posts
  • Guests

Well there are already some, and it would probably be pretty easy to take the CPM files and turn them into the format I am using. Anyone could do it, it isnt complicated at all.
uid: 846 topic_id: 2200 reply_id: 68826



[topic_controls]
Page 2 of 3 1 2 3
 
[/topic_controls]