Bruce Stemplewski
Bruce Stemplewski

Reputation: 1343

TODO tag comments for SSJS in Xpages in Notes Version 9

At one of the Lotusspere sessions in Orlando, the //TODO comment tag was mentioned. I thought that this was an extremely useful feature but sadly in looks to me like it does not work in SSJS?

Task Tags in XSP sources

Any chance this has been fixed in version 9? It does work in 8, but you need to place it outside your SSJS code block.

Upvotes: 1

Views: 241

Answers (2)

Paul Stephen Withers
Paul Stephen Withers

Reputation: 15729

It may have been my session. It's standard Eclipse functionality, so only works in certain editors like the XML Editor. You may have hit the same gotcha I hit during preparation. Enabling it in the Tasks view is not enough. You need to enable it in the relevant editors in the Preferences. Open up preferences and type "Task" in the filter box. It should then get picked up from any SSJS in the source pane. It gets updated when the project is built.

Upvotes: 1

Per Henrik Lausten
Per Henrik Lausten

Reputation: 21709

I am using the Domino Designer 9 beta build from December (the public beta). The Task Tags functionality still does not include TODO tags in SSJS script libraries and SSJS code blocks.

--

Do the following to control what contents the Tasks view shows:

  • Choose the Configure Contents

    enter image description here

  • Select "On any element in same project" enter image description here

You can do the same with the Problems view.

Upvotes: 4

Related Questions