I have a different application.properties file for Different Environment (Dev,QA,Prod)
Is there any setting/way to use this Quick access menu

Without using Maven command line
We Can Change the content of aplication.properties file as below
aplication.properties
spring.profiles.active=dev
aplication-dev.properties
#DEV
spring.datasource.driverClassName=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql:/localhost:3306/db-dev?useSSL=false
spring.datasource.username=root
spring.datasource.password=root
.......
aplication-qa.properties
#QA
spring.datasource.driverClassName=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql:/localhost:3306/db-qa?useSSL=false
spring.datasource.username=root
spring.datasource.password=root
.......
aplication-prod.properties
#PROD
spring.datasource.driverClassName=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql:/localhost:3306/db-prod?useSSL=false
spring.datasource.username=root
spring.datasource.password=root
.......
This will Fix the above issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With