← servoy magazine

[Tip] The power of autocompletion :-)

  • Tips

by Marcel Trapman
www.it2be.com

Have you already seen that hitting <ctrl><space> will give you a contextual menu with Servoy functions, elements etc?

Just place your cursor in the method that shows in your method editor and hit <ctrl><space>. Now select elements and you will have 'elements.' in your screen.
Now hit <ctrl><space> again and you will see that all named elements will show up. Imagine how this speeds up working in Servoy!

Another example is keying in 'controller.enabled' Without autocompletion this will cost you keying in 18 keys or searching in the navigator. With autocompletion it will only cost you hitting your keyboard 4 times: 1. <ctrl><space>, 2. <return>, 3. <ctrl><space>, 4. <return>.

Go play with it and make it a habit right away...