Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Task view not showing TODO tags(How to get TODO tags showing in task list)
Task view not showing TODO tags [message #500798] Sat, 28 November 2009 20:55 Go to next message
A Hunt is currently offline A HuntFriend
Messages: 4
Registered: November 2009
Junior Member
Today I wanted to look at tasks on my eclipse project -- and found none were shown. I updated to Galileo (3.5) from 3.4 which brought no change.

The "Task" view settings are correctly configured to show all tasks, with no filtering, similarly all workspace and project settings are at their default, yet no TODO tags in the code will show in the tasks list.

Does anyone know what I am doing wrong / whether this is a bug? (I have done considerable searching, but most of the problems were to do with mylyn which has nothing to do with the standard task list in eclipse.)

Also, a possibly related problem is that the error label annotations in the package explorer view are no longer showing, which has been the case ever since I installed subversive.


Re: Task view not showing TODO tags [message #500837 is a reply to message #500798] Sun, 29 November 2009 12:56 Go to previous messageGo to next message
A Hunt is currently offline A HuntFriend
Messages: 4
Registered: November 2009
Junior Member
I have been doing some testing, and completely reinstalled eclipse from scratch etc:
I have Eclipse 3.5, with subclipse svn client.


For a project I have checked out from SVN neither the error labels in the Package Explorer tree are showing nor the Tasks in the task view. However if I make a new project in the same workspace everything works fine -- both TODO tags and errors showing (Note: in the editor view both tasks and errors are shown with their usual symbols at the left hand side). The strange thing is that there are NO project specific settings, meaning eclipse shouldn't be doing anything differently for my svn project. Could this be a subclipse bug?


Re: Task view not showing TODO tags [message #500847 is a reply to message #500837] Sun, 29 November 2009 16:51 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
A Hunt wrote:
> I have been doing some testing, and completely reinstalled eclipse from
> scratch etc:
> I have Eclipse 3.5, with subclipse svn client.
>
>
> For a project I have checked out from SVN neither the error labels in
> the Package Explorer tree are showing nor the Tasks in the task view.
> However if I make a new project in the same workspace everything works
> fine -- both TODO tags and errors showing (Note: in the editor view both
> tasks and errors are shown with their usual symbols at the left hand
> side). The strange thing is that there are NO project specific settings,
> meaning eclipse shouldn't be doing anything differently for my svn
> project. Could this be a subclipse bug?
Have you checked to make sure that the project is a Java project. If
the SVN project didn't include the .project or .classpath file, you may
have a plain project with no natures.
Re: Task view not showing TODO tags [message #500851 is a reply to message #500847] Sun, 29 November 2009 17:23 Go to previous messageGo to next message
A Hunt is currently offline A HuntFriend
Messages: 4
Registered: November 2009
Junior Member
No Real Name wrote on Sun, 29 November 2009 11:51
A Hunt wrote:
> I have been doing some testing, and completely reinstalled eclipse from
> scratch etc:
> I have Eclipse 3.5, with subclipse svn client.
>
>
> For a project I have checked out from SVN neither the error labels in
> the Package Explorer tree are showing nor the Tasks in the task view.
> However if I make a new project in the same workspace everything works
> fine -- both TODO tags and errors showing (Note: in the editor view both
> tasks and errors are shown with their usual symbols at the left hand
> side). The strange thing is that there are NO project specific settings,
> meaning eclipse shouldn't be doing anything differently for my svn
> project. Could this be a subclipse bug?
Have you checked to make sure that the project is a Java project. If
the SVN project didn't include the .project or .classpath file, you may
have a plain project with no natures.

It is a java project: I originally created it in Eclipse, put it on svn, then checked it out again. However I managed to "solve" the problem by cleaning out all settings file (.project, .classpath, the directory .settings), and making a completely new project into which I only imported the sources: it seems some setting in one of these files had broken the tasks view, but there wasn't a gui option to change this. I'm still doing diffs between the files, but can't find anything obvious.


Re: Task view not showing TODO tags [message #506776 is a reply to message #500851] Sat, 09 January 2010 20:51 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: January 2010
Junior Member
I had the same problem.

It is because I checked files out from a SVN repository.

eclipse created some default .project file that had basically no infos.

I then created a php project from scratch. so eclipse created a php specific .project file with stuff in it.

I then copied the php .project file into the SVN checked out project.

now it works.

the correct .project file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>todotest</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.wst.validation.validationbuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.dltk.core.scriptbuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.eclipse.php.core.PHPNature</nature>
		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
	</natures>
</projectDescription>
Re: Task view not showing TODO tags [message #506777 is a reply to message #506776] Sat, 09 January 2010 21:09 Go to previous messageGo to next message
A Hunt is currently offline A HuntFriend
Messages: 4
Registered: November 2009
Junior Member
Yeah. I eventually got everything working again by deleting the .project file, maybe a few other files, which got the whole thing working again. I'm not sure what the exact reason was though, but I might compare the versions to see what it is.

[Updated on: Sat, 09 January 2010 16:12]

Report message to a moderator

Re: Task view not showing TODO tags [message #507234 is a reply to message #506776] Tue, 12 January 2010 15:07 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 1/9/10 3:51 PM, nikos@vormwald.info wrote:
> I had the same problem.
>
> It is because I checked files out from a SVN repository.
>
> eclipse created some default .project file that had basically no infos.
>
> I then created a php project from scratch. so eclipse created a php
> specific .project file with stuff in it.
>
> I then copied the php .project file into the SVN checked out project.
>
> now it works.
>
> the correct .project file looks like this:

The problem is that whomever checked that project in to SVN should have
included the .project file (and any other .* files that Eclipse creates
for PHP projects). Those files are essential as they tell Eclipse how to
set up the project. They should always be checked in.

Eric


>
> <?xml version="1.0" encoding="UTF-8"?>
> <projectDescription>
> <name>todotest</name>
> <comment></comment>
> <projects>
> </projects>
> <buildSpec>
> <buildCommand>
> <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
> <arguments>
> </arguments>
> </buildCommand>
> <buildCommand>
> <name>org.eclipse.wst.validation.validationbuilder</name>
> <arguments>
> </arguments>
> </buildCommand>
> <buildCommand>
> <name>org.eclipse.dltk.core.scriptbuilder</name>
> <arguments>
> </arguments>
> </buildCommand>
> </buildSpec>
> <natures>
> <nature>org.eclipse.php.core.PHPNature</nature>
> <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
> </natures>
> </projectDescription>
>
Previous Topic:Problem running Eclipse IDE for Java EE on Ubuntu 9.1 and getting error
Next Topic:keyboard shortcuts not visible under Mac OS X
Goto Forum:
  


Current Time: Fri Apr 26 19:34:48 GMT 2024

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

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

Back to the top