Libraries
| Item | Description |
|---|---|
| Enabled | The check boxes in this column show the enabled status of a library:
|
| Name | This column shows the names of the directories defined for a project. |
| Type | This column shows library types. |
Buttons
| Item | Description |
|---|---|
| Add | Click this button to create a new JavaScript library in the New Library dialog box. Refer to the section Configuring JavaScript Libraries. |
| Edit | Click this button to change the name and contents of the selected library in the Edit Library dialog box. |
| Remove | Click this button to delete the selected library. |
| Download | Click this button to open the Download Library dialog box, where you can have PyCharm download and install one of the popular JavaScript-related libraries, such as: The dialog box shows a list of available libraries with indications of their versions and URL addresses. |
| Manage scopes | Click this button to configure libraries to be used for specific files and/or directories in the JavaScript. Usage Scope dialog box. |
New Library / Edit Library Dialog Box
| Item | Description |
|---|---|
| Name | Specify the library name. |
| Framework type | From this drop-down list, choose the framework to configure as a library. |
| Version | In this text box, specify the version of the selected framework to use. |
| Visibility |
In this area, specify where you want the library to be available for associating with files and folders. The available options are:
|
| Files | In this section, set up the library contents. |
| Attach | Click this button to select a JavaScript file or directory from the file system. |
| Detach | Click this button to remove the selected file or directory from a library. |
| Name | This read-only column shows the name of the selected library file or the names of relevant library files from the selected directory. |
| Type | Click the column to show the drop-down list of the available versions of library files or directories: debug or release. |
Tip
PyCharm
enables you to create a library containing just one
.js
file, if this file is located on the Internet and can be accessed over HTTP. If you refer to a JavaScript library that is not yet available locally, but is available online, use the
Download library intention action:



