|
|
Re: LDT code analysis and code assistance is not working [message #891733 is a reply to message #891291] |
Mon, 25 June 2012 16:23 |
|
Hi Cheyi Lin,
Your code needs to be documented so as LDT can know what are the different methods contained in your module:
---
-- @module m
local m = {}
------------------------------------------------------------------------------
-- Print something
-- @function [parent=#m] print
function m.print()
print("hello")
end
------------------------------------------------------------------------------
-- Test something
-- @function [parent=#m] test
function m.test()
m.print()
end
return m
The reason behind the decision to go for a documentation format, and the perspectives there are of having heuristics to automatically detect some patterns & drive the code assistance is largely discussed here: http://www.eclipse.org/forums/index.php/mv/msg/351391/871701/#msg_871701
Please let us know if you still need help!
Benjamin.
My blog: http://blog.benjamin-cabe.com
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03847 seconds