Content Completion in JavaScript Documents

When you edit a JavaScript document, the Content Completion Assistant presents you a list of the elements you can insert at the cursor position. It can be manually activated with the Ctrl + Space shortcut.

For an enhanced assistance, JQuery methods are also presented. The following icons decorate the elements in the content completion list of proposals depending on their type:
Note: These icons decorate both the elements from the content completion list of proposals and from the Outline view.
Figure 1. JavaScript Content Completion Assistant
The Content Completion Assistant collects: If you edit the content of a function, the content completion list of proposals contains all the local variables defined in the current function, or in the functions that contain the current one.