Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij is not showing "External Libraries" in Project Tab

There is nothing on left. It is a maven project. Why?

IntelliJ

like image 472
juntao liu Avatar asked Aug 01 '17 15:08

juntao liu


People also ask

How do I get Maven external library in IntelliJ?

You can go to Preferences -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing and check the box that says Import Maven projects automatically . In Mac, you can do Command + Shift + A , then enter the action reimport , then click on Reimport all Maven projects .

How do I add external files to IntelliJ?

In the Project tool window ( Alt+1 ), right-click the node in which you want to create a new file and click New | File. Alternatively, select the node, press Alt+Insert , and click File. Name the new file and specify its extension, for example: File. js, and press Enter .


Video Answer


1 Answers

I've had the same problem and narrowed it down to the following configuration that might have been messed up during the upgrade.

File (on Mac): ~/Library/Preferences/IntelliJIdea2018.1/options/projectView.xml

<application>
  <component name="ProjectViewSharedSettings">
    <option name="showLibraryContents" value="false" />
    <option name="showMembers" value="true" />
  </component>
</application>

Change/remove the showLibraryContents entry. This setting is no longer available in the UI, "External Libraries" are always shown.

like image 199
Bogdan Calmac Avatar answered Sep 26 '22 16:09

Bogdan Calmac