Try implementing something similar to Sublime's autocomplete, which looks at all of the words used in the document.
Try implementing something similar to Sublime's autocomplete, which looks at all of the words used in the document.