johnathanludwig / vscode-fileswitcher

A VSCode extension for switching between related files.
MIT License
5 stars 1 forks source link

PascalCase to dash-case? #27

Open bilogic opened 6 months ago

bilogic commented 6 months ago

Hi!

Wonderful extension! I realized it even accepts wildcards in the to However, I shudder to think of a regex conversion from PascalCase to dash-case or other types e.g. snake_case and camelCase.

Any ideas? :)

bilogic commented 6 months ago

An idea, how about having a pre-from before from where we can specify a list of processes that regex is unsuitable for, e.g. lower, upper, pascal, snake, camel, kebab

I'm not sure of any use cases yet, but a pre-to and post-to may be handy while we are at it.