obsidian-task-marker icon indicating copy to clipboard operation
obsidian-task-marker copied to clipboard

Can cycle task status include an entry for a plain (non-task) bullet?

Open fredcallaway opened this issue 2 years ago • 4 comments
trafficstars

I would like to use the the "cycle task status" command as a drop-in replacement for the built-in "cycle bullet/checkbox" command, but it seems that this isn't currently possible.

For full feature parity with the built-in command, we would also mark a line as the first task type (which could be bullet) when calling the command on a non-bullet line (currently this is treated as an error).

fredcallaway avatar May 22 '23 14:05 fredcallaway

This is supported in the following commit and will be released after I test it for a few days. https://github.com/wenlzhang/obsidian-task-marker/commit/168251b3af57bd29c01b41a7d9e5978b8a8d9e12

A toggle is added to allow users to select whether to include the list item as the first cycled status or not.

wenlzhang avatar Nov 09 '23 11:11 wenlzhang

A new version is released for this feature. Besides, the way of retaining cursor location is adjusted when switching among list and task items. https://github.com/wenlzhang/obsidian-task-marker/releases/tag/0.5.1

wenlzhang avatar Nov 16 '23 19:11 wenlzhang

Thanks! There's still something missing for me though.

The standard "Cycle bullet/checklist" also turns a simple line of text the cursor is on into a bullet list item. Using the "Task Marker: cycle bullet" with the newly added option to support list items will fail on a regular line of text. Turning the text if it's not already a bullet item into one would be a great addition IMHO.

FabianUntermoser avatar Nov 16 '23 19:11 FabianUntermoser

Turning the text if it's not already a bullet item into one would be a great addition IMHO.

Thanks for the feedback. I can think about adding a toggle for this.

wenlzhang avatar Nov 16 '23 21:11 wenlzhang