Struct fields autocompletion

It's not perfect, but it works in most cases. :)

ref #117