Files
kotlin-fork/idea/testData/formatter/FormatFirstColumnCommentsBeforeDeclaration.kt
T
Nikolay Krasko 6193987d0d Reformat code should not align comments (KT-4175)
#KT-4175 In Progress
2016-03-16 12:38:17 +03:00

24 lines
433 B
Kotlin
Vendored

package format.test
// TODO: Comment on first column shouldn't be formatted, but now there's no way to adjust rule for the first comment in parent declaration.
class LineComments {
// Should not be formatted
// Format
// Format
fun test() {
}
}
class MultilineComments {
/*
* Should not be formatted
*/
/*
* Format
*/
fun test() {
}
}
// SET_TRUE: KEEP_FIRST_COLUMN_COMMENT