Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » TODO not showing up as tasks
TODO not showing up as tasks [message #723348] Thu, 08 September 2011 11:43 Go to next message
Atharva  is currently offline Atharva Friend
Messages: 11
Registered: July 2010
Junior Member
I think I've done everything as suggested.

1. TODO is a defined tag under Compiler->Task Tags

2. Under the tasks view, I have tried Show All, defined a custom configuration for TODO, etc.

3. Ensured project is built

4. Ensured there are no "build path errors"

BTW, I can see tasks in CSS and XSL files, but not from Java/Javascript files.

Thanks in advance!
Re: TODO not showing up as tasks [message #723647 is a reply to message #723348] Fri, 09 September 2011 04:05 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam KandulaFriend
Messages: 444
Registered: July 2009
Senior Member
Did you make sure that the TODO tag is also defined in the project properties rather than just the workspace preferences. I cannot find any other reason.
Re: TODO not showing up as tasks [message #723667 is a reply to message #723647] Fri, 09 September 2011 06:14 Go to previous messageGo to next message
Atharva  is currently offline Atharva Friend
Messages: 11
Registered: July 2010
Junior Member
I don't have any project specific settings. It uses the workspace settings.
Re: TODO not showing up as tasks [message #724846 is a reply to message #723348] Tue, 13 September 2011 10:40 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 08.09.2011 13:43, Atharva wrote:
> I think I've done everything as suggested.
>
> 1. TODO is a defined tag under Compiler->Task Tags
>
> 2. Under the tasks view, I have tried Show All, defined a custom
> configuration for TODO, etc.
>
> 3. Ensured project is built
>
> 4. Ensured there are no "build path errors"
>
> BTW, I can see tasks in CSS and XSL files, but not from
> Java/Javascript files.
You mean you can't see it in both, Java and Javascript or just in one of
them?

Dani
>
> Thanks in advance!
Re: TODO not showing up as tasks [message #725151 is a reply to message #724846] Wed, 14 September 2011 05:50 Go to previous messageGo to next message
Atharva  is currently offline Atharva Friend
Messages: 11
Registered: July 2010
Junior Member
I can't see it in both.
Re: TODO not showing up as tasks [message #725186 is a reply to message #725151] Wed, 14 September 2011 06:54 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 14.09.2011 07:50, Atharva wrote:
> I can't see it in both.
Strange. Are you sure that the file where you add the TODO is on the
Java build path?

Dani
Re: TODO not showing up as tasks [message #725220 is a reply to message #725186] Wed, 14 September 2011 09:32 Go to previous messageGo to next message
Atharva  is currently offline Atharva Friend
Messages: 11
Registered: July 2010
Junior Member
Yes. I use an external ANT build file to build. Does that make a difference?
Re: TODO not showing up as tasks [message #725299 is a reply to message #725220] Wed, 14 September 2011 13:17 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 14.09.2011 11:32, Atharva wrote:
> Yes. I use an external ANT build file to build. Does that make a
> difference?
Yes it does: the TODO markers are created by the Eclipse Java compiler.
If you don't run it, you won't get the TODO markers.

Dani
Re: TODO not showing up as tasks [message #725669 is a reply to message #725299] Thu, 15 September 2011 13:58 Go to previous messageGo to next message
Atharva  is currently offline Atharva Friend
Messages: 11
Registered: July 2010
Junior Member
I would think that Eclipse just needs to pre-process the files, not really compile them? Any way to do that?
Re: TODO not showing up as tasks [message #725942 is a reply to message #725669] Fri, 16 September 2011 07:42 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 15.09.2011 15:58, Atharva wrote:
> I would think that Eclipse just needs to pre-process the files, not
> really compile them? Any way to do that?
There is not option for the compiler to do this. You need to do it yourself.

Dani
Previous Topic:Should JDT compiler complain about unused methods here?
Next Topic:starting eclips
Goto Forum:
  


Current Time: Fri Apr 19 15:21:55 GMT 2024

Powered by FUDForum. Page generated in 0.02144 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top