我想爲每個環境創建application.properties
。默認情況下,當我嘗試添加一個具有.properties
作爲擴展名的新文件時,現有的文件爲application.properties
,文件的圖標與application.properties
不同。我得到Ressource bundle
的圖標。 這是我如何創建新的文件: 右鍵點擊我的ressources
包 - >新建 - >文件每個環境的Application.properties
那麼對於它的名字,我把application_dev.properties
。
如何獲得屬性文件而不是Ressource bundle
?
您使用了哪個IDE? –
@JoseMartinez Intellij IDEA –