Comments (12)
please report each specific bug with formatting separately, with examples (exactly like the issue template requests), making sure first that it's a bug and not an interaction with another parameter.
from scalafmt.
I am afraid what I am experiencing are not bugs, rather intended behaviour which does not suit me.
The #3894 I have reported had a very short fate. I understand what I reported is technically not a bug, yet the fact remains I am unable to achieve my goal of scalafmt not breaking my list. The options I have tried were insufficient, but even after reading the whole documentation I was not able to find options which would be sufficient.
If you do not like such things to be discussed here, can you please point me to some place where such discussion would be welcome?
from scalafmt.
I'm confused. you found the parameters that seemingly solve your previous two issues; do they not?
you can discuss stuff on discord if you'd like to involve the rest of the community.
from scalafmt.
I found parameters which solve #3895, but not #3894.
you can discuss stuff on discord if you'd like to involve the rest of the community.
Can you give me some URL or some other pointer to find the right Discord community? The homepage contains links to Gitter which seems to be quite dead.
from scalafmt.
Can you give me some URL or some other pointer to find the right Discord community? The homepage contains links to Gitter which seems to be quite dead.
i don't know what to say. discord link is immediately to the right of gitter's.
from scalafmt.
Might be worth to also put it on https://scalameta.org/scalafmt/ aside from README in the repo here.
from scalafmt.
This is what I see on https://scalameta.org/scalafmt/, which I think is a scalafmt homepage:
I do not see any discord link even on https://github.com/scalameta/scalafmt
Even searching discord
on those pages finds nothing.
from scalafmt.
I have found the link eventually on https://github.com/scalameta
When I click on the link and accept the invitation, the result is "Unable to accept invite". Google offers this explanation:
Discord displays the "unable to accept invite" error when the invitation link expires, the link has already been used by the maximum number of users permitted, or the server admin has revoked it manually.
from scalafmt.
I thought the link didn't have an expiration date, sorry about that. I updated it.
from scalafmt.
I have tried again clicking on it accepting it, I always get "Unable to accept invite". The invitation seems to be from olafurpg, if that helps. I was able to enter using web version of Element Matrix client, though, therefore I am in now.
from scalafmt.
@OndrejSpanel could you please provide specific examples when line breaks are not reasonably preserved (other than #3894), or close this issue?
from scalafmt.
I am not aware of any other case.
from scalafmt.
Related Issues (20)
- Code no longer compiles after formatting HOT 1
- Implement fewer-braces rewrite
- Scalafmt in scala 3 dialect adds a new line after a `'` expression which changes behaviour of program HOT 6
- Properly formatted code using zio method `*>` is formatted so the code is no longer valid
- Wrong formatting of code blocks with partial functions returning tuples HOT 2
- apply more stringent scalafmt formatting
- `org.scalafmt.cli.FaliedToFormat` regression with `scala-xml` code on `RedundantBraces` rewrite rule HOT 4
- With `newlines.source = keep` linebreaks are not preserved in lists with non-numeric entries HOT 2
- With `newlines.source = keep` linebreaks are not preserved in function parameter lists HOT 3
- RedundantParens removes too much parens HOT 2
- `PositionExceptionImpl` complaining about expected `)` when encountering valid `<-` in for comprehension HOT 2
- Annotation argument is not a constant
- Feature request: code style for `match` dot-notation HOT 5
- Error with `RedundantBraces` and XML attribute in v3.8.1 HOT 1
- `if` + `then` rejected with significant indentation off HOT 12
- Clean-up config-style and binpacking code
- Feature Request: Support Automatic Conversion of snake_case to camelCase HOT 1
- Error: bad unary op for floating-point
- SIP-42 - Support for binary integer literals HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scalafmt.