Is anyone aware of a VSCode extension that will au...
# cfml-general
g
Is anyone aware of a VSCode extension that will auto document CFML functions? Thanks!
b
If you just mean javadoc style comments, the vscode cfml extension can.
g
Which one?, please? All I have managed to do is; "/** And it autocreates the closing brace and inserts "*" when you hit enter. I'm hoping to have it document the arguments.
b
That is the one… vscode-cfml
I believe it only works in cfcs (and only on cfscript functions of course).
Another gotcha is that it documents from the content on disk, so save the file first
g
Thanks.
b
You’ll want to uninstall/disable any other cfml highlighting extensions or you can get some weird behavior
g
Thanks got it working... Had to disable all of them to get it to work - I'll add them back in one at a time to see which was the offending one. Thanks again!
b
I know the "coldfusion" extension causes problems if it is installed/enabled while vscode-cfml is
That is the full extension name.
👍 1
b
Not completely related, but “Better Comments” has some nifty JavaDoc highlighting features for
@param
Also for todo, return, etc