For the longest time, escape was the shortcut for completion, along with F5. Then Apple removed it, and a lot of people weren’t happy. Xcode brought it back, and after a time so did Script Debugger. But unfortunately escape and command-. are twinned, so the latter triggers completion when a script’s contents has focus. But we should see if there’s a way to separate them.