Open fmartelg opened 1 year ago
Hi @fmartelg, I just tried this locally and it's working for me. Here's a screenshot using your two files:
It looks like we are on identical versions (below) except for macOS vs. Windows (which shouldn't make a difference).
Are you hovering over the note
tag or note.md
filename? That's what triggers it, not hovering over the task.
A couple of things to check in User Settings under Extensions, todotxt-mode:
^.*\.(md|markdown)$
todo.txt
^.*\.txt$
My version of VS Code: Version: 1.74.2 (Universal) Commit: e8a3071ea4344d9d48ef8a4df2c097372b0c5161 Date: 2022-12-20T10:26:09.430Z Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Darwin x64 22.2.0 Sandboxed: No
Hi @davraamides thank you for the prompt and informative response. I have solved the issue.
Turns out I had, at some point in the past, associated .txt files to markdown in user settings under Files: Associations
.
I removed this association and everything worked fine. Sharing as a corner case...
Given that I have have a task with a
note:note.md
tag in atodo.txt
file in my current workspace, when I hover over the task, then nothing happens. Was expecting a preview ofnote.md
.Here are the contents of my
todo.txt
file:Here the contents of
note.md
:I have disabled all Extensions globally except
todotxt-mode
which is enabled globally.I am running
vscode
:Version: 1.74.2 (system setup) Commit: e8a3071ea4344d9d48ef8a4df2c097372b0c5161 Date: 2022-12-20T10:29:14.590Z Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Windows_NT x64 10.0.22621 Sandboxed: No