How do I make IntellIJ use JVM options for all main files in a project?
ide, intellij-idea, jvm, native
Solution
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.
Problem
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