diff --git a/idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/after.kt.template b/idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/after.kt.template new file mode 100644 index 00000000000..1b12b36524c --- /dev/null +++ b/idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/after.kt.template @@ -0,0 +1 @@ +fun foo(): String = "abc" \ No newline at end of file diff --git a/idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/before.kt.template b/idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/before.kt.template new file mode 100644 index 00000000000..944fcfe9a49 --- /dev/null +++ b/idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/before.kt.template @@ -0,0 +1,3 @@ +fun foo(): String { + return "abc" +} \ No newline at end of file diff --git a/idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/description.html b/idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/description.html new file mode 100644 index 00000000000..0f97cf1e8ca --- /dev/null +++ b/idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/description.html @@ -0,0 +1,5 @@ + + +This intention converts block body to expression body (single expression after '=' sign). + + \ No newline at end of file