Tired of writing code? Me too! Let’s have Stack Overflow do it. To complete at run time, it uses the same logic to find the left-hand trace at the current cursor position, and tries to match that up against the database of completion fragments.
Source: Autocomplete from Stack Overflow