Name field and controls for managing the library contents
| Item | Description |
|---|---|
| Name | Use this field to edit the library name. |
| Change Version |
This button may be available for a library that implements a certain framework or technology (e.g. JSF, Spring)
in cases when IntelliJ IDEA can make version-specific file replacements in the library.
In such cases, when you click this button, the Downloading Options dialog opens in which you can select the necessary library version, and also to select the files to be downloaded. As a result, the files in the library will be replaced with the downloaded files. |
(Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+Insert or Ctrl+NAlt+InsertControl N or Control EnterControl N or Control EnterMeta N or Control Enter) | Use this icon or shortcut to add items to the library. Select the necessary option from the menu that opens. The available options depend on the library type: |
(Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteMeta DeleteMeta DeleteMeta Delete) | Use this icon or shortcut to remove the selected items from the library. |
Options for adding items to a Java or ActionScript/Flex library
| Item | Description |
|---|---|
| Attach Files or Directories (Add Library Components) |
Whichever resource types available locally you want to add to the library
(classes, sources, documentation, etc.), use this option.
In the dialog that opens, select the necessary files and folders. For a Java library, these may be individual .class, .java, .jar and .zip files, the directories containing such files, etc. For an ActionScript/Flex library, these may be raw ActionScript 3 libraries, .swc, .jar and .zip files, the directories containing such files, and so on. Note that a number of files and folders can be selected simultaneously. IntelliJ IDEA will analyze the selected files and folders, and automatically assign their contents to the appropriate library categories (Classes, Sources, Documentation, etc.). In cases when detection of a category is problematic (e.g. when you select an empty folder), a dialog will be shown, in which you will be able to specify the category yourself. |
| Specify Documentation URL (Add Documentation URL) | To be able to use external documentation available online, use this option and specify the URL of the external documentation in the dialog that opens. |
Options for adding items to a JavaScript library
| Item | Description |
|---|---|
| Attach Files or Directories | Use this option to add a number of JavaScript files to the library.
In the dialog that opens, select the necessary files and folders. These may be individual JavaScript files and the directories containing such files. Note that a number of files and folders can be selected simultaneously.
IntelliJ IDEA will analyze the selected files and folders, and automatically assign the JavaScript files
to the appropriate categories.
Minified In cases when detection of a category is problematic (e.g. when you select an empty folder), a dialog will be shown, in which you will be able to specify the category (Release or Debug) yourself. |
| Attach Debug Version(s) |
Use this option to add a single uncompressed JavaScript file or
a directory containing such files.
Note that IntelliJ IDEA won't analyze the contents of the selected files.
If you select a
minified |
| Attach Release Version(s) |
Use this option to add a single
minified
JavaScript file or a directory containing such files.
Note that IntelliJ IDEA won't analyze the contents of the selected files. If you select an ordinary (uncompressed) JavaScript file or a directory such files, the corresponding file or files will still be added to the library. |
| Specify Documentation URL | To be able to use external documentation available online, use this option and specify the URL of the external documentation in the dialog that opens. |
| Download Documentation | For jQuery: use this option to download and include jQuery documentation in the library. |


(
(
files
will be assigned to the Release category; ordinary (uncompressed) files will be
assigned to the Debug category.