Reformat code should not align comments (KT-4175)

#KT-4175 In Progress
This commit is contained in:
Nikolay Krasko
2016-03-09 16:21:05 +03:00
parent 334c6ba71a
commit 6193987d0d
19 changed files with 278 additions and 13 deletions
@@ -0,0 +1,24 @@
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