Enable file content parsing function and sync code from TortoiseSVN

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Make some autocompletion options configurable

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>