how the help appears and list all functions after . (dot)

For questions and postings not covered by the other forums
mario
Posts: 11
Joined: Fri Sep 04, 2009 11:02 am

how the help appears and list all functions after . (dot)

Postby mario » Fri Oct 30, 2009 12:51 pm

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 :)

torrie
Posts: 92
Joined: Fri Aug 14, 2009 11:24 am

Re: how the help appears and list all functions after . (dot)

Postby torrie » Fri Oct 30, 2009 12:56 pm

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

User avatar
BeeJay
Posts: 312
Joined: Tue Jun 30, 2009 2:42 pm
Location: Christchurch, NZ

Re: how the help appears and list all functions after . (dot)

Postby BeeJay » Fri Oct 30, 2009 12:59 pm

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.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 13 guests

cron