Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

To Do in java

Hi,

I am working in eclipse and coding on it some java web applications. My question is how to put to do so that i can comeback to that part of the code later. How do i come back for that particular To Do if there are 100 To D0 I put. can I uniquely name or number them?



please advise
Any links resources ideas highly appreciated. Thanks in advance
SOLUTION
Avatar of CPColin
CPColin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gudii9

ASKER

how to automcatically add TODO without typing. Any shortcut for that?
Not that I know of.
SOLUTION
Avatar of Ken Butters
Ken Butters
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gudii9

ASKER

How to type TODO

just type like

// TODO

or do i need to give space in between TO and DO and also space after //
Please advise
Just try it; Eclipse will make the font bold and put a blue mark along the right edge of the window when you get it right.
The trigger is to just have "TODO" inside of a comment.

By default it is case sensitive... so needs to be upper case TODO.

You can view all of your TODO tasks in a separate window pane easily by going to Window / Show View / Tasks

A separate window will show all your tasks that have TODO on them. You can double click on TODO to open the source code that has that TODO in it.

Attached is the screenshot of the TODO where you could add other tags similar to the TODO if you wanted to.  I believe the default is to have a Fixme and xxx as well.  

(At least I don't remember customizing them for myself and I have those).
3-3-2014-1-04-00-PM.jpg
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Joe....

Thanks ... believe that opens the same tasks window as this from my prev comment:
You can view all of your TODO tasks in a separate window pane easily by going to Window / Show View / Tasks
Unless the tasks is not visible in your dropdown... but it should be if you are working the default Java perspective.
You are correct - I didn't read very carefully.
Avatar of gudii9

ASKER

I jsut copy pastef // TODO

 which worked fine
If that is the solution you are happy with then you should award points to Joe.  He had that very suggestion:

 
I couldn't find a shortcut, but typing //TODO isn't really a lot of work.