Comments (5)
what's the purpose of this, just out of curiosity? i can't imagine why we would implement something like this but if there's a reason potent enough...
from scalafmt.
Just code consistency - at the moment it's kinda arbitrary, and you can mix&match (pun unintended) the dot-ful and dot-less approach however you like (as long as it parses). It's not a deal-breaker for me of course, but I don't think it's very different from other things scalafmt allows you to standardize :)
from scalafmt.
it should be able to help you achieve a consistent "dot-full" code already. other options seem contrary to our style.
from scalafmt.
consistent dot-full would also make sense (to me) if the Scala 3 dialect is chosen.
from scalafmt.
it can easily be accomplished with avoidinfix and scala3 rewrite.
from scalafmt.
Related Issues (20)
- Error: bad unary op for floating-point
- SIP-42 - Support for binary integer literals HOT 1
- Idempotence issue when trailingCommas is "always" and omitting braces
- Help wanted: Formatting inconsistency in 3.8.2 that's not in 3.8.1 HOT 3
- Wrong indentation with scala213source3 when short-circuiting boolean operators start a line in final position of a block HOT 4
- Customize space for specific infix operators HOT 6
- Scalafmt inserts the wrong endmarker, creating invalid code (Scala3)
- Build native images for arm64 linux
- Undesirable formatting of scala3 nested if statements HOT 5
- Whitespace forced after infix method ending with _
- `rewrite.rules = [RedundantBraces]` causes regression for single line tuple values inside a `try` HOT 4
- [question] Pattern matching constructor indentation HOT 2
- Invalid state for bit operations HOT 3
- RedundantParens removes parens that are not redundant HOT 1
- RedundantParens removes parens around cats `FunctionK` that are necessary
- Add community build (a-la scalameta), fix formatting bugs
- RedundantParens not working properly with boolean `!` unary operator HOT 1
- Two spaces after a full stop. HOT 2
- Broken code literals in Scaladoc HOT 13
- log messages are printed to stdout HOT 2
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.