Sometimes I need to strikeout the code I wrote which has turned out to be wrong, like this:
By this way, it can remind me intuitively that code struck out does not work and to learn from the mistake here. However, I found to strike out a code, I have to click
Strikeout to reach the interface and check the strikeout box, which is not convenient at all.
What I want here is to define a short cut like "Alt+S", so that each time I need to strick out a code or text, I only have to select the target code or text and press down the shortcut, which is much more efficient than the current way I have to follow.
Any idea how to achieve this?