开发者

lua ide with syntax sensitive reminder

开发者 https://www.devze.com 2023-02-26 06:53 出处:网络
I am using Corona to develop ios app. I use XCode as IDE. B开发者_StackOverflowut I found that XCode does not support Lua syntax sensitive reminder as it does in Objective-c.

I am using Corona to develop ios app. I use XCode as IDE. B开发者_StackOverflowut I found that XCode does not support Lua syntax sensitive reminder as it does in Objective-c. Is there an Mac IDE can integrate Corona keyword dictionary and highlight to help and accelerate coding? And if it can support project files navigation will be better!

Welcome any comment


TextAdept might also be interesting, since it's super-extensible, and already has an LPEG lexer for Lua, which could easily be adjusted for supporting Corona. And everything is scripted in Lua, so no extra language to learn ;)


You may try ZeroBrane Studio Lua IDE. I've recently added Love2d and Moai auto-complete (there are several demos on the website) and it should be possible to add Corona API too, but I can't find a good description or documentation for the API calls.

The APIs I've implemented provide not only function names, but also a description, arguments, and return parameters (this is a snippet from one of Moai functions):

  addChild = {
    type = "function",
    description = "Attaches a child action for updating.",
    args = '(self: MOAIAction, child: MOAIAction)',
    returns = '(self: MOAIAction)',
  },

If there is a description like this for Corona SDK, I should be able to incorporate it into the IDE.


This might be interesting. Its provided by the community and not very stable, but, its worth a shot. This shows a eclipse walkthrough.


The Lua plugin in IntelliJ has support for the Corona API (full disclosure I am the author)

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

0

精彩评论

暂无评论...
验证码 换一张
取 消