DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

How does AI transform chaos engineering from an experiment into a critical capability? Learn how to effectively operationalize the chaos.

Data quality isn't just a technical issue: It impacts an organization's compliance, operational efficiency, and customer satisfaction.

Are you a front-end or full-stack developer frustrated by front-end distractions? Learn to move forward with tooling and clear boundaries.

Developer Experience: Demand to support engineering teams has risen, and there is a shift from traditional DevOps to workflow improvements.

Related

  • Containerize Gradle Apps and Deploy to Kubernetes With JKube Kubernetes Gradle Plugin
  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 3: Understanding Janus
  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 2: Understanding Neo4j
  • Introducing Graph Concepts in Java With Eclipse JNoSQL

Trending

  • What is Microsoft Fabric for Azure Cloud (Beyond the Buzz) and How It Competes with Snowflake and Databricks
  • What They Don’t Teach You About Starting Your First IT Job
  • Jakarta WebSocket Essentials: A Guide to Full-Duplex Communication in Java
  • When Agile Teams Fake Progress: The Hidden Danger of Status Over Substance
  1. DZone
  2. Coding
  3. Frameworks
  4. To-Do Lists with Eclipse Tasks View

To-Do Lists with Eclipse Tasks View

To-do lists are another cool feature of the Eclipse IDE. If you don't already use this tool, then this article is worth a quick read.

By 
Erich Styger user avatar
Erich Styger
·
May. 29, 16 · Tutorial
Likes (3)
Comment
Save
Tweet
Share
23.6K Views

Join the DZone community and get the full member experience.

Join For Free

Eclipse has a cool feature which might not be known to everyone: the "To-Do" (or Tasks) List which keeps track of what I have to do:

Tasks View

Tasks View

The name ‘Tasks’ for that view is somewhat misleading, as it has nothing to do with tasks of an operating system. That view is very powerful as it collects to-do’s, bug locations or anything I want in a central place and view.

If that view is not open, use the menu Window > Show View to open it:

Show Tasks View

Show Tasks View

One easy usage of this view is to have markers in the source comments like this one:

/* todo this is a to-do */

Eclipse parses the source files in the background and it will show up in the Tasks list like this:

TODO added

TODO added

The cool thing is that I can double-click on the entry and it will jump to the source/line.

I’m using such ‘TODO’ for my labs and classes to have students be able to jump directly to the source line.

It accepts different style of markers, and they can be in C and C++ comments:

/* TODO this is the normal way *//* todo this is another to-do *//*! \todo this is a doxygen to-do */// TODO this is a C++ to-do comment

It adds markers to the source view too and I can easily spot them:

Markers ini Source View

Markers ini Source View

Task Tags

By default, the following task tags in comments are recognized

  • TODO
  • FIXME
  • XXX

They are all case insensitive by default. The task tags can be configured under Window > Preferences > C/C++ > Task Tags. There I can add/remove tags, assign a priority:

Task Tag Settings

Task Tag Settings

Adding Tasks

With the context menu in the view I can add ‘traditional’ to-do list items:

Adding Task

Adding Task

Then I can provide a description with a priority:

Adding New Task Properties

Adding New Task Properties

Then they get listed too, and I can check the check mark to have an item completed:

Task Items in Task List

Task Items in Task List

Summary

"Tasks" markers are a good way to annotate source files with to-do’s or bug entries. The Tasks view lists them and I can use them as shortcuts to the source place.

There are other advanced usage of markers in combination with version control systems and team collaboration tools: that way assignments can be put out for the teams to work on. But that would be subject of a different article.

Happy Tasking:-)

LINKS

  • Tasks View in Eclipse: http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fctskview.htm
Task (computing) Eclipse

Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Containerize Gradle Apps and Deploy to Kubernetes With JKube Kubernetes Gradle Plugin
  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 3: Understanding Janus
  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 2: Understanding Neo4j
  • Introducing Graph Concepts in Java With Eclipse JNoSQL

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • [email protected]

Let's be friends: