title: IntelliJ Shorten Command Line for Cucumber Tests
body: <p>I've encountered an issue running Cucumber tests in IntelliJ. When I try to run a feature or scenario, I get the following error:</p>
  
  <pre><code>"Error running 'Feature &lt;feature&gt;': Command line is too long. Shorten command line for Feature: &lt;feature&gt; or also for Cucumber java default configuration"
  </code></pre>
  
  <p>I know as part of IntelliJ's <a href="https://blog.jetbrains.com/idea/2017/10/intellij-idea-2017-3-eap-configurable-command-line-shortener-and-more/" rel="noreferrer">2017.3 release</a>, they added support for a "Shorten Command Line" option in the Run/Debug Configurations. However, if I compare the default configs, I don't see it as part of the Cucumber Java configuration, but I do see it in the JUnit configuration for example.</p>
  
  <p>I don't get the popup tip that others have mentioned about the dynamic .classpath, I'm assuming because of this new release. Any ideas?</p>