IntelliJ IDEA 14.0.3 Help

Edit Library dialog

Edit the library name and 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 the files to be downloaded.

As a result, the files in the library will be replaced with the downloaded files.

add (Alt+Insert) Use this icon or shortcut to add items (classes, sources, documentation, etc.) to the library.

In the dialog that opens, select the necessary files and folders. For a Java library, these may be individual .class and .java files, directories and archives (.jar and .zip) containing such files as well as directories with Java native libraries (.dll, .so or .jnilib). 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.

IntelliJ IDEA will analyze the selected files and folders, and automatically assign their contents to the appropriate library categories (Classes, Sources, Documentation, Native Library Locations, etc.).

When IntelliJ IDEA cannot guess the category (e.g. when you select an empty folder), a dialog will be shown, in which you will be able to specify the category yourself.

icon_doc_url To be able to use external documentation available online, click this icon and specify the URL of the external documentation in the dialog that opens.
iconLibExclude Click this icon to make certain library items "excluded" (see ). In the dialog that opens, select the items that you want IntelliJ IDEA to ignore (folders, archives and folders within the archives), and click OK.
delete (Delete) When you click this icon or press Delete:
  • The selected "ordinary" library items are removed from the library.
  • The selected excluded items (see ) become "ordinary" items, i.e. their excluded status is cancelled. The items themselves will stay in the library.

See Also

Web Resources:

Last modified: 30 January 2015
comments powered by Disqus