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.
Figure 1. JavaScript Content Completion Assistant
The
Content Completion Assistant collects:
- Method names from the current file and from the library files.
- Functions and variables defined in the current file.
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.