Shift-tab only works when you place the edit cursor inside or after the object. Not when it's at the start of the object. This gotcha is not documented anywhere...!
I filed jupyter issue Shift-Tab completion doesn't work when edit cursor is at the start of the object #1902