|Simple Koneki question (or maybe not) [message #805565]
||Thu, 23 February 2012 17:51
| Lua Bowski
Registered: February 2012
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!
Powered by FUDForum
. Page generated in 0.07681 seconds