IntelliJ IDEA 2017.2 Help

Libraries and Global Libraries

File | Project Structure | Libraries or Global Libraries
Ctrl+Shift+Alt+S | Libraries or Global Libraries
/help/img/idea/2017.2/projectStructure.png | Libraries or Global Libraries


When you select the Libraries or the Global Libraries category in the Project Structure dialog, a list of existing project or global libraries is shown in the element selector pane.

/help/img/idea/2017.2/project_structure_libraries.png

Use the toolbar icons, context menu commands or keyboard shortcuts to manage the libraries (see below).

To view or edit the name and contents of a library, select the library of interest, and use the page to the right of the selector pane.

Toolbar icons, context menu commands and shortcuts

IconCommandShortcutDescription
/help/img/idea/2017.2/new.png New Project Library or New Global Library Alt+Insert Create a new project or global library. See Creating a library.
/help/img/idea/2017.2/delete.png Delete Delete Delete the selected library.
/help/img/idea/2017.2/copy.gif CopyCreate a copy of the selected library.
Move to Global Libraries For a project library: move the selected project library to the global (IDE) level. See Moving a library onto a higher level.
Copy to Project LibrariesFor a global library: create a copy of the selected global library at the project level. See Creating a copy of a library at a lower level.
Add to ModulesAdd the selected project or global library to dependencies of one or more of your modules. In the dialog that opens, select the corresponding modules.
Find Usages Alt+F7 Find usages of the selected library in the project.

See Also

Last modified: 18 August 2017