Automatic creation date that works across multiple lines #2861
Labels
duplicate
This issue, pull request or discussion already exists
scope: task dates and times
Requests for enhancements to types and formats of dates and times associated with tasks
type: enhancement
New feature or request
🔖 Feature description
This is a summary of issue #2786 , which itself gathered previous issues/discussions, then took some discussion to clarify the feature, and ended on a promising note.
Scenario
✔️ Solution
The desired behavior is:
5. The old task should keep the date it had. The new task should be created with its own creation date.
To do this, maybe the plugin could detect on an Enter press that the caret is:
and then move to the next line without dragging them on.
❓ Alternatives
Issue #2786 discussed that Obsidian doesn't give to the Tasks plugin any context to distinguish whether the task that is being edited was created moments ago or is an old one. This makes it difficult or impossible to e.g. give an automatic creation date only to a task that was created a moment ago and got some text typed in; by then, it's just another old task.
As a workaround, the idea of "leaving behind" the emoji+date when they're the only thing after the caret might be a good way to sidestep the lack of context; and this should keep working for every new created task in a list, without requiring new hotkeys nor mouse/cursor navigation.
📝 Additional Context
No response
The text was updated successfully, but these errors were encountered: