0 comment(s).

Word completion

Word completion is simple yet powerful technique for faster and mainly safer code writing. It's used for completing words already existing in the text. It takes characters before caret and tries to find first word beginning with the same characters. It looks both ways, that is lookup is performed upon words before and after actual caret position. First occurence wins and complete word is offered. Word complete is activated using Esc key. If first word doesn't match your intended one, you can press Esc repeatedly and another word starting with your character sequence is offered. Words closer to caret are returned first, words at bigger distance (in both ways) come later. If you pressed Esc more times than desired (it could happen to anyone:), you can press Shift+Esc to reverse words offer. Word completion in action

This feature is very easy to use and its usefulness best shows itself for repeated entering of variable, function, methods and class names. Using first couple of letters and word completion assures no place for mistyped errors anymore.