RubyMine 2016.2 Help

JavaScript. Usage Scope

File | Settings | JavaScript | Libraries - Manage Scopes for Windows and Linux
RubyMine | Preferences | JavaScript | Libraries - Manage Scopes for OS X
Ctrl+Alt+S

settings

The dialog box opens when you click the Manage Scopes button in the JavaScript. Libraries page.

Use this dialog box to define the scopes where the JavaScript libraries should apply for code completion, highlighting and navigation. The scopes may cover the whole project, directories and even individual files. This helps make JavaScript code completion more precise, and avoid too long suggestion lists.

ItemDescription
File/DirectoryThis column displays the project tree view.
LibraryThis column displays libraries for a file or directory, if applicable.

If a library can be specified for a certain node of the project tree view, click the Library column for a selected file or directory, and choose the desired library from the list of available libraries.

If JavaScript libraries are not applicable to a particular node, 'N/A' is shown in grey font.

See Also

Last modified: 30 November 2016