Move code out of closure in getCompletionsAtPosition
#13534
Merged
getCompletionsAtPosition
#13534