This VSCode extension disables any form of "delete", "moving" or "pasting" code. This basically means if you do a typo, you have to start over. This could be used to "speed run" a React Todo App. One mistake you're out though.
Disables Backspace
Disables Delete
Disables CTRL/CMD + V
Disables visually selecting any code (to prevent replacing text)
Disables dragging in code into the VSCode window from an external source
Disables uncommenting any code
Any other way you'd be able to remove or paste any code within VSCode I might have forgotten
Disable IntelliSense
Additional feature
Add a webview with a timer for speedrunning (maybe separate extension?)
Other
Not quite sure whether this is really feasible. Though the VIM VSCode sample might help:
Description
This VSCode extension disables any form of "delete", "moving" or "pasting" code. This basically means if you do a typo, you have to start over. This could be used to "speed run" a React Todo App. One mistake you're out though.
Backspace
Delete
CTRL/CMD + V
Additional feature
Other
Not quite sure whether this is really feasible. Though the VIM VSCode sample might help:
https://github.com/microsoft/vscode-extension-samples/tree/master/vim-sample
or the "real" VIM VSCode extension
https://github.com/VSCodeVim/Vim