How do I get IntelliJ IDEA to display directories?

前端 未结 15 1267
臣服心动
臣服心动 2020-12-12 23:29

I\'ve been trying out IntelliJ IDEA for JavaScript editing, and I like it so far, but I\'m having a small problem with a new project.

I can\'t seem to be able to get

15条回答
  •  心在旅途
    2020-12-13 00:02

    I found the solution thanks to Thurman Sanders and decided to post a more clear answer, in case it helps anyone else. I know an answer like this would have saved me 5 minutes of fumbling around.

    Problem

    Some folders are excluded, by default. In most cases, this is exactly what you want. Other times, you need to see your "build" or "target" folder, for example.

    Solution

    Make Intellij stop excluding the folder you want to see

    1. Open the Module Settings
      • select the module and press F4
      • or right click the module and choose "open module settings"
      • or press cmd; to open project settings, then select your module
    2. Follow the steps in the picture, below:
      • select the 'sources' tab
      • select the folder you want to see
      • disable the 'excluded' option
    3. Press OK
      • When you're done, the folder will turn orange and finally be visible in the project view!

    enter image description here

提交回复
热议问题