From d462bbdaa2b54d696d7708e431f4d4039b570d4b Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sun, 4 Oct 2020 10:54:40 +0200 Subject: Add configuration option for how to treat newlines --- src/main/resources/META-INF/plugin.xml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 84a690e..9517e40 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -27,6 +27,14 @@
  • Use the Find Action feature: Bring up the “Find Action” search dialog (default keyboard shortcut is Ctrl+Shift+A) and type the name of the desired convert action (or type “Convert Case” to see all actions). Tip: This search uses fuzzy matching so you can just type “camcas” for “Convert Case: camelCase”.
  • Create a keyboard shortcut: Open Settings > Keymap and search for “Convert Case” and create a keyboard shortcut for the desired action.
  • +

    You can configure how newlines should be treated: Go to "Settings" > "Tools" > "Case conversion". The setting "Treat newline as" has these two options:

    +
    +
    White space
    +
    Treat newline like other whitespace (i.e. as a word separator)
    + +
    Record separator
    +
    Treat newline as a record separator. This converts every line individually
    +
    ]]> @@ -53,7 +61,13 @@ com.intellij.modules.lang - + + @@ -98,5 +112,4 @@ - -- cgit v1.2.3-54-g00ecf