How to add Java startup parameters, such as - Dtest=1
已回答
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
请先登录再写评论。
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.RunConfigurationExtensionand registering it in thecom.intellij.runConfigurationExtensionextension point.If not, please describe the use case in detail. What APIs do you plan to use for running Spring Boot applications?