I want to keep track of a todo list in Visual Studio Code.
Is it possible to display/toggle strikethrough text:
(used https://www.piliapp.com/cool-text/strikethrough-text/ for the above).
Looking for a solution natively or with an extension. The strike-through text needs to be displayed in the text file (like the functioning of org mode in emacs) and not in some output window (like the rendering of a HTML/Latex/MD document).
Any experts in Visual Studio Code that know if this can be done and how to do it ?
Open up your VSCode keybindings. You'll notice that my keybinding is CMD + L. You can choose whatever you want, as long as it's not already taken. Save your file, and now you should be able to toggle line numbers on/off with whatever keybinding you added in your keybindings file.
Select the text you want to strikethrough. Press Ctrl + D. The Font dialog box appears. Press Alt + K to select Strikethrough (note that k is the underlined letter).
You can make strikethrough in vscode with the help of TODO Highlight extension:
"todohighlight.keywordsPattern": "(~~.+?~~)|(✔.+?\n)|(\\[x\\].+\n)",
"todohighlight.defaultStyle": {
"color": "none",
"backgroundColor": "none",
"textDecoration": "line-through"
},
Use patterns that you usually use for done todos. The above works for such:
[x] done
✔ done
~~done~~
After that you can either use plain typing or find some toggling extension or write one yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With