autocompletion of brackets, commas and single quotes