天天看點

idea 使用 筆記

一個視窗打開多個項目

        file ------ new ------- Module from existing sources

一個項目開一個視窗  Open 即可

springboot application.yml/appilication.properties檔案變成灰色:

  ·  1、先看有沒有設定資源

idea 使用 筆記

    2、在build中設定

      <build>

        <resources>

            <resource>

                <directory>src/main/resources</directory>

            </resource>

        </resources>

    </build>

    3、file - project structure - modules --選中項目 ---dependencies  點選右側 + 号  ---jars or directories  選中resource 檔案夾   确定即可

    同一項目開多個節點

idea 使用 筆記
idea 使用 筆記

--------------------------------------後續

繼續閱讀