CrossRoads:
"plus the cursor mouse automatically places inside the setup function "
See, I'd find that in the wrong place - I start my sketches with some comments, then define pins, before even getting to void setup ( ) { ...25 characters - what's that, like 10 seconds of typing?
Doesn't the bare minimum example have that already too?
It does not matter, it finds the last line in the setup that is available to write code with a regex (line 585) it is not a hardcoded position.