From 3e4b0d960a605272d54827c37395d61224e28938 Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Thu, 23 Jan 2014 20:27:36 +0400 Subject: [PATCH] Added missing intention description --- .../ConvertToExpressionBodyAction/after.kt.template | 1 + .../ConvertToExpressionBodyAction/before.kt.template | 3 +++ .../ConvertToExpressionBodyAction/description.html | 5 +++++ 3 files changed, 9 insertions(+) create mode 100644 idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/after.kt.template create mode 100644 idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/before.kt.template create mode 100644 idea/resources/intentionDescriptions/ConvertToExpressionBodyAction/description.html 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