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
+46
View File
@@ -0,0 +1,46 @@
package format.test
class LineComments {
fun test() {
// Should not be formatted
// Format
// Format
// Normal
}
}
class KDocComments {
/**
* Always ident for KDocs
*/
/**
* Format
*/
fun test() {
/**
* Always ident for KDocs
*/
/**
* Format
*/
/**
* Normal
*/
}
}
class MultilineComments {
fun test() {
/*
* Should not be formatted
*/
/*
* Format
*/
/*
* Normal
*/
}
}
// SET_TRUE: KEEP_FIRST_COLUMN_COMMENT