I just checked and in fact this option is already turned on. The problem was that I activated automatic line wrapping if a line is longer than 100 characters in order to comply with the scalastyle plugin. Since Intellij cannot distinguish between Imports and code it also wrapped the import statements. I guess then the only viable option is to manually wrap the lines.
On Sun, Jan 4, 2015 at 10:34 PM, Stephan Ewen <se...@apache.org> wrote: > Excluding the imports sounds like a good idea. > > On Sun, Jan 4, 2015 at 10:30 PM, Henry Saputra <henry.sapu...@gmail.com> > wrote: > > > I think we could add exclude for imports statements line length checking. > > > > Without limit of line length we need to be very careful when coding long > > lines to keep the code easy to read and understand, hence the line > > length style safe guard. > > Some if the java code has very long lines that make it hard to read. > > > > On Sunday, January 4, 2015, Stephan Ewen <se...@apache.org> wrote: > > > > > Hi all! > > > > > > I would suggest to remove the line length limitation in the scala-style > > > definition. > > > > > > It leads to very awkward formattings (see for example TaskManager > > imports) > > > and at > > > this point I am not sure it helps us in any way. > > > > > > Greetings, > > > Stephan > > > > > >