-->

How do I make IntellIJ use JVM options for all mai

2020-02-28 10:29发布

问题:

I can configure a main file to use natives needed, but in my project there are multiple main functions so I need all the files to to use the JVM option when I can choose to debug whichever one I want without having to create a configuration for each one

回答1:

You can change the configuration under Defaults node (Templates in the new versions), all the new configurations will inherit its settings. Make sure to change the correct default configuration type, Application is most likely what you need.

Refer to the documentation for details.