How to configure “Shorten command line” method for whole project in IntelliJ

前端 未结 5 1812
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-04 09:03

When I run tests I get the error \"Command line is too long\". It works if I set the \"Shorten command line\" method in the Run/Debug configuration to \"JAR manifest\" for

5条回答
  •  盖世英雄少女心
    2020-12-04 09:31

    You can set up a default way to shorten the command line and use it as a template for further configurations by changing the default JUnit Run/Debug Configuration template. Then all new Run/Debug configuration you create in project will use the same option.

    Here is the related blog post about configurable command line shortener option.

提交回复
热议问题