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
107 stars 13 forks source link

Shifting Objective-C types gets stuck on BOOL #8

Open nschum opened 10 years ago

nschum commented 10 years ago

Thanks for this plugin. Enjoying it so far.

But for some reason, shifting through the Objective-C types (.m) gets stuck at BOOL. It shifts to BOOL, but then won't shift up or down. If I change it to bool, shifting works as expected. This happens with both case-sensitive and case-insensitive completion.

kstenschke commented 10 years ago

Hi Nicolaj, please check version 1.1.9, i believe it should resolve the issue you describe, please let me know if this worked for you.

P.s. Please consider voting for the plugin on the Jetbrains repository at http://plugins.jetbrains.com/plugin/6149

Greetings, Kay

nschum commented 10 years ago

Thanks. I no longer get stuck, however the fallback seems to be looking in too many places.

Given this simplified configuration:

(|m|) {
    |int|BOOL|
}
(|sql|) {
    |bit|tinyint|bool|boolean|smallint|mediumint|int|integer|bigint|float|double|decimal|dec|
}

if I start with int in a .m file, it shifts to BOOL correctly, but then continues with boolean, smallint, etc. from the .sql list.

kstenschke commented 10 years ago

thanks for the detailed info, i agree to your assumption. i'll have a look into it when i find the time