How do I get IntelliJ IDEA to display directories?

前端 未结 15 1272
臣服心动
臣服心动 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-12 23:53

    Platform : Intellij2019.3 Macos10.12

    • The solution is:
      1. go to the File - project structure - Modules
      2. In the left column, + Add Content Root, and add the folder you hope to use as the root directory.
      3. mark the folder you want to compile as source root
      4. rebuild

提交回复
热议问题