You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep, you're right that there's an ambiguity here. I don't know if there's really a best practice here, personally I abide by Twitter's standard – no spaces in imports. But I'm not sure if that's what most people would agree with.
I know that it's kind of a small detail, but might be worth bringing up on scala-debate or scala-language to get a final verdict? I'd be happy to pull in anything agreed upon :)
What is the preferred style of multiple import statements? I didn't find any documentation about this in the style guide.
The Scala cheatsheet has this example:
Which also seems to be the format IntelliJ prefers but scalariform enforces the following formatting:
I personally prefer the first one.
The text was updated successfully, but these errors were encountered: