The beta version of Arduino IDE (1.9.0) is available on arduino.cc some time.
Did you know this beta version contains Autocomplete function?



If you want to complete your code, just press Ctrl and Spacebar.

You can download Arduino IDE beta there:https://www.arduino.cc/en/Main/Software