<!-- TODO: --> Notation

Having trouble installing Oxygen? Got a bug to report? Post it all here.
croaker
Posts: 7
Joined: Tue Mar 29, 2005 6:45 pm

<!-- TODO: --> Notation

Post by croaker »

Eclipse supports the use of

Code: Select all

<!-- TODO: -->
Notation within many of it's editors such that those comments are automatically parsed into the Eclipse Tasks view.

Does the Oxygen plugin support this? It seems not...

Any plans to add it, it's very useful...

Croaker
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Croaker,

Yes, there are plans for adding this, there is a bug already with this on our bugzilla. Currently it is scheduled to be fixed in the 6.1 release.

Best Regards,
George
ArmchairDeity
Posts: 2
Joined: Sun Jun 22, 2008 4:05 am

Re: <!-- TODO: --> Notation

Post by ArmchairDeity »

Was this ever done? I'm on oXygen 9 and it seems that this does not work... I add a <!-- TODO: --> to the XML file and save it and the tasks do not show up in the Eclipse TASK panel. I would say this is an essential feature and, as you said, was supposed to be in 6.1.

Please advise?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: <!-- TODO: --> Notation

Post by sorin_ristache »

Hello,

Yes, adding XML comments that contain TODO to the Tasks view works correctly. I added a comment

Code: Select all

<!- TODO This is a comment -->
to an XML file opened in the Oxygen XML Editor panel and when I saved the file the text This is a comment was added to the Tasks view.

What is your Eclipse build number (you can see it in the Help -> About Eclipse dialog) and what is your Oxygen build number (you can see it in Window -> Preferences -> Oxygen)?


Regards,
Sorin
ArmchairDeity
Posts: 2
Joined: Sun Jun 22, 2008 4:05 am

Re: <!-- TODO: --> Notation

Post by ArmchairDeity »

Oxygen 9.1 build 2007122116

Eclipse Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
Build id: M20070921-1145

I add <!-- TODO with a bunch of text -->

And the Tasks panel refreshes by my todo never shows up.

Also, would:

<!-- TODO: do something to fix this -->

show up in Tasks even with the : at the end of the word TODO?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: <!-- TODO: --> Notation

Post by sorin_ristache »

Hello,

I am sorry, I cannot reproduce the problem. I tried with the Oxygen plugin 9.2 in the build M20070921-1145 of Eclipse 3.1 and any XML file edited with the Oxygen XML Editor adds any XML comment that contains TODO to the Tasks view of Eclipse. Please make sure that you edit the file with the Oxygen XML Editor and that the contents between the <!-- and --> starts with TODO (capital letters).

Does Eclipse log any error to the Error Log view or to the Eclipse log file (the file [your-Eclipse-workspace-folder]/.metadata/.log on disk) when you save an XML file containing a TODO comment that is not added to the Tasks view? What is the icon displayed in the title of the XML editor panel when you add/edit the XML comment and save the XML file?


Regards,
Sorin
Post Reply