Yes, sometimes. This would be more if I am writing a new function.
But more generally, anytime I get stuck in a moment of inaction I just write in a text file in notepad, or a mead notebook I bring with me everywhere.
Any tool that is maximally simple that it requires 0 thought.