obsidian-task-marker
obsidian-task-marker copied to clipboard
Auto Date Insertion Not Working (with Current Obsidian Version?)
Hello!
In my workflow, I'd like to automatically insert creation and completion dates for tasks. I really like the concept of your plugin, as I understand it.
However, I'm having trouble making the automatic date insertion work. Could you please advise if this feature no longer functions with the current version of Obsidian?
It works for me with Obsidian 1.4.16. What version of Obsidian do you have?
Which command does not work for you? Do you see any errors in the Obsidian console? You can access the console as follows:
Can you share a screenshot of your settings for the plugin? Or the data.json file within the plugin folder?
Sure!
-
My Obsidian version is 1.4.16
-
I'm seeing a lot logs from google-calendar plugin. No idea why^
-
I've tried different option, but without luck. My current
data.jsonis:
{
"removeExpression": "",
"appendDateFormat": "[[completion:: ]YYYY-MM-DD HH:mm[]]",
"appendTextFormatMark": "",
"appendTextFormatMarkRow2": "",
"appendTextFormatCreation": "[[created:: ]YYYY-MM-DD HH:mm[]]",
"appendTextFormatAppend": "",
"appendTextFormatAppendText2": "[[comment:: ]]",
"appendTextFormatAppendText3": "",
"appendRemoveAllTasks": false,
"incompleteTaskValues": " ",
"incompleteTaskValuesRow2": "",
"cycleTaskValues": "",
"onlyLowercaseX": true,
"supportCanceledTasks": true,
"supportCyclingTasksReversely": false,
"supportAppendingTextAutomatically": true,
"appendTextAutoLineDefault": "text-2",
"appendTextAutoTaskDefault": "text-rows-1-2",
"previewOnClick": false,
"rightClickComplete": false,
"rightClickMark": false,
"rightClickCycle": false,
"rightClickCycleReversely": false,
"rightClickCreate": false,
"rightClickAppend": false,
"rightClickAppendText2": false,
"rightClickAppendText3": false,
"rightClickAppendTextAuto": false,
"rightClickResetTask": false,
"rightClickResetAll": false,
"rightClickToggleAll": false
}
I tried to use the json file you provided, and it works for me.
I have Task Marker 0.4.3. What version do you have?
When you tried to use the commands, did you have the cursor on the line where the task is?
Did you use the commands in Live Preview/Source mode or Reading mode of Obsidian?
Can you record a video that illustrates how you use the plugin to operate on tasks? It would be great if the console can be shown at the same time.
-
I use 0.4.3 too
-
I use Live Preview.
-
But what do you mean by "tried to use commands"? Because if I use commands from the menu or command palette, everything works. But nothing happens automatically, as I understand it should happen when "Append text to a task automatically" is enabled. Maybe I misunderstand the function of these options :(.
For example, the Tasks plugin is able to add a completion date when clicking on the checkbox -- I imagine that the automatic addition options are responsible for similar behavior. Am I misunderstood?
For example, the Tasks plugin is able to add a completion date when clicking on the checkbox -- I imagine that the automatic addition options are responsible for similar behavior. Am I misunderstood?
Then there might be some understanding here. One needs to use commands to "automatically" append text.
However, the scenario you describe here is interesting to me. How would you expect the appending text to occur automatically? With Tasks, the text would append automatically when checking off tasks from query results. How would you expect it to occur when creating, marking and completing tasks?
I will answer more completely later, but now I want to clarify about Tasks. Tasks appends completion dates at any place not only query results. But for example Dataview does it exclusively at it codeblock result.