how the help appears and list all functions after . (dot)
Posted: Fri Oct 30, 2009 12:51 pm
by mario
hi,
i want to know if its possible to get field automatically populated in jade after . (dot)
for example form.showModal
------ as soon as I click form. (it hsould give me all the possiblities I have)
is it possible? do i need to tun on any feature?
cheers
Re: how the help appears and list all functions after . (dot)
Posted: Fri Oct 30, 2009 12:56 pm
by torrie
In the code window you can use the following keys to access properties, methods and constants.
CTRL + 1 - Displays a list of properties
CTRL + 2 - Displays a list of methods
CTRL + 3 - displays a list of contants.
CTRL + 4 - list of local variables and parameters
CTRL + 5 - display the method's parameters.
See Chapter 2 of the User Guide for more details
Re: how the help appears and list all functions after . (dot)
Posted: Fri Oct 30, 2009 12:59 pm
by BeeJay
If you want to see properties, press Ctrl+1
If you want to see methods, press Ctrl+2
If you want to see class constants, press Ctrl+3
You don't need to type the . character to use these accelerators, and if you don't type the . character when you select an option from the popup combo it will add the . character automatically.
Additional useful shortcuts in the editor:
Press Ctrl+4 to get parameters and local variables for the current method - you'll need to have compiled after adding the parameters/variables before they'll show with a Ctrl+4.
Press Ctrl+5 anwhere within the parentheses for a method call to get a method signature popup.
Cheers,
BeeJay.