MatthiasDrexler / altn8-th

0 stars 0 forks source link

Feature Request: Case Insensitive matching #1

Open chuckgit123 opened 2 months ago

chuckgit123 commented 2 months ago

I love this addon (used the original altn8 for years) - thanks alot for it!

One thing I miss, though, is the possibility to do case insensitive pattern matching.

Example: I would like to switch between SomeThingShould.kt and someThing.kt.

It would be awesome if this would be configurable either globally or per pattern. 😀

MatthiasDrexler commented 2 months ago

Hey, thanks for your issue. As some kind of "quick fix", I enabled case-insensitive matching hard-coded for all matching types.

Let me know, if I should make it configurable in any kind. If no one is complaining (for example regarding performance issues), I would keep it like that. 1.0.1 is awaiting approval from JetBrains and should be available for download soon.

chuckgit123 commented 2 months ago

LOL - yeah, that is what I also did locally 😉.

I can't judge if making it default would result - for some use-cases - in too many related files, which might be a surprise for some (existing) users. Therefore I was suggesting to make it configurable and stick to the current behaviour as default.

For me personally having case-insensitive matching as default would be completely fine.

chuckgit123 commented 2 months ago

I installed v1.0.1. So far seems to work pretty well. Thanks alot! 😀