GoLand 2021.1 Help

JavaScript. Usage Scope

The dialog opens when you click Manage Scopes on the Settings: JavaScript Libraries page.

Use this dialog to define the scopes where the JavaScript libraries should apply to 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.

Item

Description

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.

Last modified: 08 March 2021