kstenschke / shifter-plugin

Intelligent string/code manipulation plugin for Jetbrains IDEs: Detects shiftable type of word/line/selection and manipulates it on keyboard shortcut
http://plugins.jetbrains.com/plugin/6149
Apache License 2.0
105 stars 13 forks source link

Support for C# OR more optional features #52

Open wilsnat opened 1 year ago

wilsnat commented 1 year ago

I really like this tool. It works really well in certain scenarios but there are a couple of situations that I've run across using it with my C# projects that don't produce intended results. I would love to either have C# supported or the ability to toggle more of the features in the settings menu, which would alleviate any conflicting functionality.

Here are some examples of C# errors I've found: Input CursorLocation Expected Result Actual Result
Color.white; e Color.Black; White;.color
"1" 1 "2" "1"
"Test <color=red>red</color> text" d "Test <color=orange>red</color> text" &quot;Test &lt;color=red&gt;red&lt;/color&gt; text&quot;
Mathf.Cos(1f); 1 Mathf.Cos(2f); Mathf.Cos(1f);
EditorPrefs.GetInt() Int EditorPrefs.GetFloat() EditorPrefs.get-int()

These are only a few of them. When it works, it works great but due to the number of untoggleable features I can't limit it's scope to those cases. I'm not sure the status of this project as it appears to not have been updated recently but I hope that you can consider extending your support.