We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would it be possible to indent For Comprehensions like this?
for { i <- List .range(1, n) .filter(x => (x%2) == 0) j <- List .range(1, i) if isPrime(i+j) } yield {i, j}
I.e., I want .range and .filter aligned under List.
.range
.filter
List
I tried all the settings for scala-indent:default-run-on-strategy but they do not modify the indentation and I get:
scala-indent:default-run-on-strategy
The text was updated successfully, but these errors were encountered:
Sounds reasonable, you'll more than likely have to submit a PR for that. It would be good to support whatever scalafmt and scalariform do also.
Sorry, something went wrong.
No branches or pull requests
Would it be possible to indent For Comprehensions like this?
I.e., I want
.range
and.filter
aligned underList
.I tried all the settings for
scala-indent:default-run-on-strategy
but they do not modify the indentation and I get:The text was updated successfully, but these errors were encountered: