Comments (1)
I think it makes sense - it'll make top-level properties behave like class member properties (i.e., preserve a single black line if it's there, otherwise don't force a newline).
from ktfmt.
Related Issues (20)
- Feature request: ability to specify file of files to format HOT 4
- Comments after assignment prevents ktfmt indentation HOT 1
- Different behavior with IntelliJ plugin and Maven plugin with same config HOT 5
- Q: any option to align `->` in `when`? HOT 2
- String templates formatting with comments HOT 2
- Apparent inconsistencies in which lines are or aren't reformatted within a statement HOT 3
- Special-case `trimIndent`? HOT 5
- Unicode characters through stdin not handled properly with non-standard UTF setting HOT 1
- Document @file CLI arguments
- Incorrect indentation with multiple elvis operators and multiline statements HOT 1
- Annotations get collapsed to the same line as code it affects HOT 5
- Context receivers give `ParseError` HOT 2
- IDEA plugin is not published since 0.43 HOT 9
- Unstable formatting of file with a set of comments HOT 3
- @sample tags should not be moved within kdoc HOT 9
- Formatting creating lines longer than 100 characters HOT 5
- Unexpected removal of space after a comment HOT 2
- Annotation location on properties HOT 1
- Incorrect detection of unused import in Gradle Kotlin DSLs using new assignment operator HOT 1
- Update the pics in [demo](https://github.com/facebook/ktfmt#demo) HOT 4
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 ktfmt.