Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsSimple Koneki question (or maybe not)
https://www.eclipse.org/forums/index.php/mv/msg/297258/805565/#msg_805565
I just downloaded Koneki a few days ago and love it. I was using TextMate (Mac-based editor), which has Lua syntax highlighting but not the Eclipse-templates stuff Koneki comes with. My day job is usually C/C++, and eclipse-templates have never been much use for me in that language, but for Lua it's great because I don't use it enough to have things like pairs vs. ipairs for loop syntax burned in my brain yet.
So my question: the company where I work has exposed an API in Lua so people can write Lua scripts that use the exposed API function calls and pre-loaded variables for accessing and invoking stuff in their products. Right now I have to go back-forth to an API document (created by Doxygen), to remember what functions are exposed in what API objects, their arguments, etc. That's something I'd like to do away with, by using ctrl-space completion in Koneki/Eclipse. But just writing more eclipse-templates isn't going to do that, as far as I can tell. Do I have to go into writing Java code and create a DOM/AST, in order to do something like that? I don't care about running the code or even debugging it through Koneki - just the creation/editing.
I'm not looking for anyone to do the work for me - I'm willing to do the work, but I was wondering how much work that would be, and where I can go to learn how. (I've tried perusing the Git repository for Koneki but it's hard to figure out where the actual code is that does anything but boilerplates and inventories for Java, and Eclipse FAQs are very confusing and not detailed enough)
It seems to me that there must be a lot of custom/proprietary APIs exposed into Lua by different people, for which a way to provide their respective API info into Koneki/Eclipse would make it super-popular.
I'd be grateful for any pointers/clues. Thanks in advance!]]>Lua Bowski2012-02-23T22:51:34-00:00Re: Simple Koneki question (or maybe not)
https://www.eclipse.org/forums/index.php/mv/msg/297258/805753/#msg_805753
Nice job!
]]>Lua Bowski2012-02-24T05:03:48-00:00Re: Simple Koneki question (or maybe not)
https://www.eclipse.org/forums/index.php/mv/msg/297258/805847/#msg_805847
Lua Bowski wrote on Fri, 24 February 2012 06:03
Oooohhh wait a sec - I just found and downloaded the super-secret beta-version Koneki [...]
I am litterally rolling on the floor laughing!
Please keep us posted! We are definitely looking for feedback before making this available in the official version.
FWIW, you might want to have a special look at the "luadocumentor" command-line tool which, with some tweaks, could allow you to automatically generate the SDK definition files from your code documented with Doxygen.]]>Benjamin Cabé2012-02-24T08:02:10-00:00Re: Simple Koneki question (or maybe not)
https://www.eclipse.org/forums/index.php/mv/msg/297258/805902/#msg_805902
If you have Maven 3 on your system, testing it should be quite easy:
You will end up with the built products in product/target/products]]>Benjamin Cabé2012-02-24T09:23:01-00:00Re: Simple Koneki question (or maybe not)
https://www.eclipse.org/forums/index.php/mv/msg/297258/806224/#msg_806224
]]>Lua Bowski2012-02-24T18:16:05-00:00