• IntelliJ IDEA 文件夹种类介绍


    IntelliJ IDEA 文件夹类型介绍

    • Source roots(or source folders; shown as /help/img/idea/2017.1/rootSource.gif)将目录标注为source roots。这会告诉IntelliJ IDEA,这个文件夹中存在项目编译时需要的源代码

    • Generated source roots(or generated source folders; shown as /help/img/idea/2017.1/rootGeneratedSourceIJ.png;   in certain views the [generated]  text marker is used)和source roots比较相似。不同之处在于,在执行Move类重构或使用use quick fix中的Create类时,Generated source roots不建议作为目标文件夹。

    • Test source roots(or test source folders; shown as /help/img/idea/2017.1/rootTest.gif). 和source roots比较相似但是其中的代码是为了测试而准备的。

    • Generated test source roots(or generated test source folders; shown as /help/img/idea/2017.1/rootGeneratedTestSourceIJ.png;in certain views the [generated] text marker is used)和Test source roots类似。不同之处与Source roots和Generated source roots的区别相同。               

    • Resource roots   (or resource folders;shown as /help/img/idea/2017.1/rootResourceIJ.png; available only in Java modules)其中包括了项目所使用的各种资源文件。例如图片、多种xml文件和属性文件。During the build process, all the contents of the resource folders are copied to the output folder as is.Similarly to sources, you can specify that your resources are generated. You can also specify which folder within the output folder your resources should be copied to.

    • Test resource roots(or test resource folders; shown as /help/img/idea/2017.1/rootTestResourceIJ.png;                available only in Java modules)测试时所需的资源文件。从某些方面来说,和resource 文件夹类似。

    • Excluded roots(shown as /help/img/idea/2017.1/rootExcluded.gif)被IntelliJ IDEA 几乎忽略的文件。Very limited coding assistance is provided for files in excluded folders.Classes contained in excluded folders don't appear in code completion suggestion lists,references to such classes are shown in the editor as unresolved.When searching, IntelliJ IDEA doesn't look in excluded folders, etc.

  • 相关阅读:
    理解AI的角度
    如何提升分享信息的价值
    大数据和你想的不一样
    《卓有成效的程序员》笔记
    Mac下安装和使用GunPG(GPG)
    hive界面工具SQL Developer的安装;使用sql developer连接hive;使用sql developer连接mysql
    mac os安装jdk、卸载
    前端模板inspinia
    squirrelsql安装
    GOPATH设置
  • 原文地址:https://www.cnblogs.com/liangbin-2019-03-30/p/11205916.html
Copyright © 2020-2023  润新知