[java] add chop/join actions for record components: IDEA-264997

GitOrigin-RevId: 6c832eaeeac6f65678ae8a8ec760cc4d57ab6151
This commit is contained in:
Roman Ivanov
2021-03-23 20:20:32 +00:00
committed by intellij-monorepo-bot
parent e258d8e96c
commit c97105f244
18 changed files with 188 additions and 1 deletions
@@ -0,0 +1,6 @@
// "Put record components on separate lines" "true"
record R(
int i,
String s
)
@@ -0,0 +1,3 @@
// "Put record components on separate lines" "true"
record R(int i, <caret>String s)
@@ -0,0 +1,6 @@
// "Put record components on separate lines" "false"
record A(
String s/**/,
int i<caret>
) {}
@@ -0,0 +1,3 @@
// "Put record components on one line" "true"
record R(int i, String s)
@@ -0,0 +1,6 @@
// "Put record components on one line" "true"
record R(
int i,
<caret>String s
)