dbrockman / obsidian-change-case

Plugin to let you change the case (camelCase, snake_case, etc) of the current selection.
MIT License
8 stars 1 forks source link

Line break behavior when selecting and applying to multiple lines #107

Open fhtdtdj opened 4 months ago

fhtdtdj commented 4 months ago

Hi, thanks for the cool plugin. However, I don't understand the behavior with regards to line breaks. Some of the case changes maintain the lines, while others break the formatting and turn all the selected lines into a single line. This makes little sense to me as I do not desire the plugin to break my line formatting, but simply apply different case formatting like "Sentence case" to capitalize all first lines, without them being treated like an actual sentence.

The other "toggle case" plugin doesn't mess with line breaks but lacks a lot of case options.

Suggestion: two separate "keep line breaks" and "turn into a single line" variants for applicable case options

oldmanranting commented 2 months ago

I came here to work out how to enable the behaviour but it seems it's stuck?