How to add Java startup parameters, such as - Dtest=1
Answered
I want to develop a plugin that has a page and a button. When clicking the button, it will add a Java startup parameter to my SpringBoot project, with the parameter - Dtest=1, so that the project can obtain this parameter for communication between the plugin and the SpringBoot project
Please sign in to leave a comment.
Hi,
The question is totally unclear. Please provide the full context.
ok
Hi,
If you mean modifying run configurations for a Spring Boot application, try implementing
com.intellij.execution.RunConfigurationExtension
and registering it in thecom.intellij.runConfigurationExtension
extension point.If not, please describe the use case in detail. What APIs do you plan to use for running Spring Boot applications?