task-management.mdx 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. ---
  2. title: "Task Management"
  3. description: "Learn how to organize, search, and manage your task history in Cline."
  4. ---
  5. Cline provides tools to manage your task history, helping you organize, search, and maintain your workspace efficiently. As you accumulate tasks over time, these features become essential for productivity.
  6. ## Accessing Task History
  7. Learn the different ways to open and navigate to your task history in Cline. Whether you prefer clicking buttons, using keyboard shortcuts, or the command palette, there are multiple convenient methods to access your past work.
  8. You can access your task history by:
  9. 1. **Clicking the "History" button** in the Cline sidebar
  10. 2. **Using Command Palette**: Search for "Cline: Show Task History"
  11. 3. **Keyboard shortcut** (if configured in your VSCode settings)
  12. ## Task History Interface
  13. Explore the main interface where all your tasks are displayed and managed. This section covers the layout, search capabilities, sorting options, and filtering tools that help you efficiently navigate through your accumulated tasks. The task history view provides a comprehensive interface for managing all your past and current tasks.
  14. ### Search and Filter
  15. The history view includes search and filtering capabilities:
  16. #### Search Bar
  17. - **Fuzzy search** across all task content
  18. - Searches through prompts, responses, and code
  19. - Instantly filters results as you type
  20. - Highlights matching text in results
  21. #### Sort Options
  22. Sort your tasks by:
  23. - **Newest** (default) - Most recent tasks first
  24. - **Oldest** - Earliest tasks first
  25. - **Most Expensive** - Highest API cost tasks
  26. - **Most Tokens** - Highest token usage
  27. - **Most Relevant** - Best matches when searching
  28. #### Favorites Filter
  29. - Toggle to show only starred tasks
  30. - Quickly access your most important work
  31. - Combine with search for precise filtering
  32. ## Task Actions
  33. Discover the various actions you can perform on individual tasks in your history. From reopening and resuming tasks to exporting and managing them, this section explains all the available operations for task manipulation.
  34. Each task in the history provides several actions:
  35. ### Primary Actions
  36. - **Open**: Click on a task to reopen it in the Cline chat
  37. - **Resume**: Continue an interrupted task from where it left off
  38. - **Export**: Save the conversation to markdown for documentation
  39. ### Management Actions
  40. - **Favorite** ⭐: Click the star icon to mark important tasks
  41. - **Delete** 🗑️: Remove individual tasks (favorites are protected)
  42. - **Duplicate**: Create a new task based on an existing one
  43. ## ⭐ Task Favorites
  44. Master the favorites system to mark and protect your most valuable tasks. This feature allows you to star important work, preventing accidental deletion while providing quick access to reference implementations and successful patterns.
  45. The favorites system helps you preserve and quickly access important tasks.
  46. ### Using Favorites
  47. **Marking Favorites**
  48. - Click the star icon next to any task
  49. - Star fills in when favorited
  50. - Click again to unfavorite
  51. **Protection Features**
  52. - Favorited tasks are protected from accidental deletion
  53. - Bulk delete operations skip favorites by default
  54. - Can override protection with explicit confirmation
  55. **Use Cases for Favorites**
  56. - Reference implementations you want to keep
  57. - Successful problem-solving patterns
  58. - Tasks with reusable code snippets
  59. - Important project milestones
  60. - Learning examples for team members
  61. ## Task Metrics
  62. Gain insights into your Cline usage through task metrics. This section explains how to track token usage, API costs, and other metrics to help you optimize your workflow and manage resources effectively.
  63. Understanding your task metrics helps optimize usage:
  64. ### Available Metrics
  65. - **Token Usage**: Total input/output tokens consumed
  66. - **API Cost**: Estimated cost based on model pricing
  67. - **Checkpoint Count**: Number of file snapshots created
  68. ### Using Metrics
  69. - **Budget Tracking**: Monitor API costs across tasks
  70. - **Efficiency Analysis**: Identify expensive operations
  71. - **Model Comparison**: Compare costs between models
  72. - **Optimization**: Find tasks that could be more efficient