LotusScript Comment Templates for lsdoc.org (aka LotusScript.doc, aka Javadoc for LotusScript)

I am a big fan of Mikkel Heisterberg’s lsdoc.org for automatic help-page generation for LotusScript code. If you are not familiar with lsdoc.org, it’s similar to javadoc, but for LotusScript.

Ever since the advent of Code Templates, I’ve been using lsdoc-compatible syntax for my comments, and I wanted to share it with you here:

Comment Template – Sub

[code language=”vb”]
‘/*************************************************************************************
‘ * ${element_type} ${element_name}
‘ * @param
‘ * @author ${author}
‘ * @version ${date}
‘ *************************************************************************************/
[/code]

Comment Template – Function
[code language=”vb”]
‘/*************************************************************************************
‘ * ${element_type} ${element_name}:A function to
‘ * @param
‘ * @return
‘ * @author ${author}
‘ * @version ${date}
‘ *************************************************************************************/
[/code]

Comment Template – class
[code language=”vb”]
‘/*************************************************************************************
‘ * A Class to represent
‘ * @author ${author}
‘ * @version ${date}
‘ *************************************************************************************/
[/code]
 
Update:
lsdoc.org is down, Mikkel unfortunately did not renew the domain name and it’s been taken over by some domain parkers. May they rot in hell, those guys! Mikkel told me that he will be probably loading the tool onto openntf, after Easter 2014, so please be patient.