My plugin wants to add VM parameters to every SpringBoot project or other Java project in IDEA. Is there any reserved interface in IDEA?

Answered

Since my plug-in needs to add JavaAgent parameter to the Java project in IDEA, so I want to know, in the plug-in development,

I want to know,

1.How do I get the names of all projects currently open in IDEA?

2. How to open AVA project or SpringBoot project in IDEA J to add VM startup parameters? Does IDEA have such interface or API to add VM parameters through code?Thank you, I hope you can give me some advice and advice.Thank you very much.

Post is closed for comments.