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

Value indicators are not automatically added if missing #11

Closed eikaramba closed 9 years ago

eikaramba commented 9 years ago

This is just a small improvement, but i found it helpful many times. Suppose you are in CSS and have a zero value (height: 0), now if i'm using shifter, the value increases, hovever the "value indicator" is missing (e.g. px). Of course it is not easy to know which string should be added to the number (px, em, rem, nothing at all?) - but at least for CSS files it would be absolutely sufficient to add "px" as a default if coming from zero (maybe even always if the indicator is missing).

kstenschke commented 9 years ago

thanks for sharing the idea, i like it! i'll have a look into this hopefully soon.

kstenschke commented 9 years ago

Implemented with upcoming version 1.2.1