Moai SDK for IntelliJ IDEA

Discussion about using Moai SDK - post questions, bugs and issues here.

Moderators: seebs, franciscotufro

Moai SDK for IntelliJ IDEA

Postby plandem » Fri Jan 27, 2012 2:41 pm

Ok, guys and girls. I'm finished my parser/builder for Moai SDK for great free Lua plugin for great free IDE - IntelliJ IDEA.
- Autocomplete - YES
- Quickhelp Documentation (Ctrl + Q) - YES
- External Documentation (Shitft + F1) - YES
- Quick Navigation Tooltips (Ctrl + Hover Mouse) - YES

You can use it for free, of course :)

IntelliJ IDEA official site:
http://www.jetbrains.com/idea/download/index.html

Lua plugin official site:
http://bitbucket.org/sylvanaar2/lua-for-idea/

Short information about installing SDK:
http://bitbucket.org/sylvanaar2/lua-for ... Custom_API

Some useful screencasts for using this plugin that maybe can improve you programming speed (Zen Lua, for example):
http://bitbucket.org/sylvanaar2/lua-for ... Collection
Attachments
moai_sdk.zip
Moai SDK + parser/builder for official doc site
(203.3 KiB) Downloaded 1197 times
Last edited by plandem on Sun Jan 29, 2012 12:08 am, edited 3 times in total.
plandem
 
Posts: 37
Joined: Thu Dec 15, 2011 7:14 am

Re: Moai SDK for IntelliJ IDEA

Postby anddrewscott » Fri Jan 27, 2012 3:02 pm

Are Moai APIs able to be 'put into" IntelliJ IDEA for auto-suggestion?
If this is possible, I might move from textmate.
anddrewscott
 
Posts: 153
Joined: Fri Sep 02, 2011 7:39 am

Re: Moai SDK for IntelliJ IDEA

Postby plandem » Fri Jan 27, 2012 3:07 pm

What do u mean 'put into'?

for example if u type: MOAIAc u will get list with:

MOAIAction
MOAIAction.EVENT_STOP

MOAIAction.addChild
MOAIAction.clear
...
MOAIActionMgr
MOAIActionMgr.getRoot
MOAIActionMgr.setProfilingEnabled

and etc.
plandem
 
Posts: 37
Joined: Thu Dec 15, 2011 7:14 am

Re: Moai SDK for IntelliJ IDEA

Postby anddrewscott » Fri Jan 27, 2012 3:57 pm

That is what I meant, I didn't know the word for it.
anddrewscott
 
Posts: 153
Joined: Fri Sep 02, 2011 7:39 am

Re: Moai SDK for IntelliJ IDEA

Postby plandem » Fri Jan 27, 2012 4:02 pm

But there is still no any smart autocomplete.

I.e.:

Code: Select all
  1. file = io.open("aa", "r")



and autocompelete for:

Code: Select all
  1. file.



will not work. Author is working on it right now, so maybe it will be added in next version.
plandem
 
Posts: 37
Joined: Thu Dec 15, 2011 7:14 am

Re: Moai SDK for IntelliJ IDEA

Postby todd » Fri Jan 27, 2012 8:44 pm

Thanks Plandem - this is great! :D
User avatar
todd
 
Posts: 262
Joined: Fri Mar 25, 2011 1:11 pm

Re: Moai SDK for IntelliJ IDEA

Postby ibisum » Sun Jan 29, 2012 3:37 am

Just wondering - which version of IDEA, 10 or 11?
;
--
ibisum@gmail.com
Got a MOAI snippet? Please consider adding it to http://moaisnippets.info
User avatar
ibisum
 
Posts: 1005
Joined: Mon Oct 17, 2011 1:11 am
Location: Vienna, Austria

Re: Moai SDK for IntelliJ IDEA

Postby plandem » Sun Jan 29, 2012 4:17 am

v11 of course
plandem
 
Posts: 37
Joined: Thu Dec 15, 2011 7:14 am

Re: Moai SDK for IntelliJ IDEA

Postby elcanu » Wed Feb 01, 2012 3:14 pm

AutocoMpletion for a begginer. A lot of thanks!

And what can i do for "autorun" my moai project in Android from IDEA?
elcanu
 
Posts: 3
Joined: Wed Feb 01, 2012 5:37 am

Re: Moai SDK for IntelliJ IDEA

Postby southlight » Thu Feb 02, 2012 10:15 am

Hi,

May be someone can help me.

I had installed the IntelliJ IDEA CE 11 and installed the LUA plugin from the plugin manager.
I go to Create Lua Module and In the Lua SDK wizard only see Kahlua, not Lua SDK. So I go to configure and add Lua SDK.

Now, where in the world is Lua SDK to download from? :) I'm using win7

Is there any template for IntelliJ IDEA CE 11 with a window host config?

Many thanks
southlight
 
Posts: 5
Joined: Tue Jan 31, 2012 10:00 am

Re: Moai SDK for IntelliJ IDEA

Postby plandem » Thu Feb 02, 2012 1:53 pm

i got my LuaSDK from:
http://code.google.com/p/luaforwindows/downloads/list

and i got this URL from official site of Lua
plandem
 
Posts: 37
Joined: Thu Dec 15, 2011 7:14 am

Re: Moai SDK for IntelliJ IDEA

Postby southlight » Thu Feb 02, 2012 2:56 pm

Hi plandem,

Many thanks for the link.

Thanks a lot
southlight
 
Posts: 5
Joined: Tue Jan 31, 2012 10:00 am

Re: Moai SDK for IntelliJ IDEA

Postby sixman9 » Fri Feb 03, 2012 10:52 am

Hi Plandem,
Hey, do you think it would be much work rolling Ymobe's 'Rapanui' Moai wrapper API into your autocompletion setup?

I'm not sure if they've published HTML documentation, however, this could be done directly from their Lua code using this Doxygen-lua plugin. I also came across this Lua documenting page, which might also give you some mileage.

Great Job so far, hope I can honour it with some [great] coding ;)

Cheers

Rich
sixman9
 
Posts: 14
Joined: Tue Jan 17, 2012 5:32 pm

Re: Moai SDK for IntelliJ IDEA

Postby plamen » Mon Feb 06, 2012 5:02 am

Awesome job!
plamen
 
Posts: 21
Joined: Sat Jan 28, 2012 1:20 am

Re: Moai SDK for IntelliJ IDEA

Postby graytest » Fri Mar 30, 2012 7:02 am

This is great help! Thanks a lot!

Before I got this I used Notepad++ to write the code and then ran a bat-file to execute the moai.exe with the moai config file and my own main.lua.

When I run my main.lua from Intellij it is run using the lua.exe. Can I change this somehow or should I keep running the bat file outside the ide? Thanks in advance!
graytest
 
Posts: 3
Joined: Mon Nov 07, 2011 4:54 am

Re: Moai SDK for IntelliJ IDEA

Postby Odie » Sat Mar 31, 2012 1:49 am

Hi plandem!

Can you throw the builder into a git repository (or whatever preferred version control tool)? I was trying out the builder just now and came across a bug. Would love to be able to submit a patch.
User avatar
Odie
 
Posts: 8
Joined: Mon Mar 05, 2012 10:37 am
Location: Taipei, Taiwan

Re: Moai SDK for IntelliJ IDEA

Postby Jubaz » Wed Apr 18, 2012 11:10 am

Please, can someone explain step by step how to set up the IntelliJ to work well with Moai?
Jubaz
 
Posts: 9
Joined: Wed Apr 18, 2012 11:08 am

Re: Moai SDK for IntelliJ IDEA

Postby Jubaz » Wed Apr 18, 2012 12:48 pm

It's working now!! Thanks you very much!

But I still don't know how to run the application from IntelliJ.
Jubaz
 
Posts: 9
Joined: Wed Apr 18, 2012 11:08 am

Re: Moai SDK for IntelliJ IDEA

Postby Jubaz » Wed Apr 18, 2012 1:10 pm

It worked!!! Now I can start to coding!! :D
Jubaz
 
Posts: 9
Joined: Wed Apr 18, 2012 11:08 am

Re: Moai SDK for IntelliJ IDEA

Postby jau » Tue Apr 24, 2012 9:29 am

Jubaz, I can execute lau files with moai interpreter, but...:

1) how to config intellij with moai autocomplete?
2) how to debug intellij + moai interpreter?

thanks in advance!
jau
 
Posts: 7
Joined: Tue Apr 24, 2012 9:22 am

Next

Return to Moai SDK

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x