diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-10-04 10:54:40 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-10-04 11:27:20 +0200 |
commit | d462bbdaa2b54d696d7708e431f4d4039b570d4b (patch) | |
tree | fb55f5098522b4263cfc44aa7847c01baaf1c4ff /src/main/resources/META-INF | |
parent | 1d07f7ba44163364b22521056e7ff774fc1b1185 (diff) | |
download | idea_caseconv-d462bbdaa2b54d696d7708e431f4d4039b570d4b.tar.gz idea_caseconv-d462bbdaa2b54d696d7708e431f4d4039b570d4b.tar.bz2 idea_caseconv-d462bbdaa2b54d696d7708e431f4d4039b570d4b.zip |
Add configuration option for how to treat newlines
Diffstat (limited to 'src/main/resources/META-INF')
-rw-r--r-- | src/main/resources/META-INF/plugin.xml | 17 |
1 files changed, 15 insertions, 2 deletions
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 @@ <li>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”.</li> <li>Create a keyboard shortcut: Open Settings > Keymap and search for “Convert Case” and create a keyboard shortcut for the desired action.</li> </ul> + <p>You can configure how newlines should be treated: Go to "Settings" > "Tools" > "Case conversion". The setting "Treat newline as" has these two options:</p> + <dl> + <dt>White space</dt> + <dd>Treat newline like other whitespace (i.e. as a word separator)</dd> + + <dt>Record separator</dt> + <dd>Treat newline as a record separator. This converts every line individually</dd> + </dl> </html>]]></description> <change-notes><![CDATA[<html> @@ -53,7 +61,13 @@ <depends>com.intellij.modules.lang</depends> <extensions defaultExtensionNs="com.intellij"> - <!-- Add your extensions here --> + <applicationService serviceImplementation="me.laria.code.idea_caseconv.settings.Settings" /> + <applicationConfigurable + parentId="tools" + instance="me.laria.code.idea_caseconv.settings.Configurable" + id="me.laria.code.idea_caseconv.settings.Configurable" + displayName="Case conversion" + /> </extensions> <actions> @@ -98,5 +112,4 @@ </action> </group> </actions> - </idea-plugin> |