Ask HN: How do you handle code completion derailing your train of thought?

1 points by all2 ↗ HN
As in the title. I've had to turn code completion off a number of times because I need to think rather than read what code completion is spitting out. Does anyone have an elegant solution for this? Or is the elegant solution just to turn it off when I need to think?

4 comments

[ 3.2 ms ] story [ 25.7 ms ] thread
I think in VSCode you can prevent the suggestions box from appearing automatically and only trigger when you press the key combo of your choice.
Turn it on when you are typing out your code.

Turn it off when you are coding.

I set up Emacs so that it only shows up when I want it