Dan Webster
Dan Webster

Reputation: 1253

How do I make IntellIJ use JVM options for all main files in a project?

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

Upvotes: 7

Views: 6927

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402055

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.

application

Refer to the documentation for details.

Upvotes: 10

Related Questions