It's called elastic tabstops. [1] The page links some editors that implement this and some plugins for other editors. Apparently SublimeText's plugin is incorrect though. It does not mention Atom, but it was discussed in [2].
[1] http://nickgravgaard.com/elastic-tabstops/ [2] https://discuss.atom.io/t/elastic-tabstops/16/23
I find it more readable up until the difference in key lengths becomes larger (font and text-decoration for example), at which point I have trouble matching the values with the shorter names.
Re:EditorConfig
by oneeyedpigeon on Monday November 09, 2015 @07:27PM
(#10536836)
Just right-align your property names. I know that sounds ridiculous, but give it a go:
body {
font-size: 16px;
margin-bottom: 100px;
padding-top: 40px;
color: rgb(100, 100, 100);
background-color: rgb( 90, 255, 3);
}
Re:EditorConfig
by Already__Taken on Tuesday November 10, 2015 @03:34AM
(#10538169)
Oh way better yes. I sometimes like to indent dependent properties too:
body {
width: 400px;
margin: 20px;
position: absolute;
bottom: 0;
right: 0;
background: #ccc;
}
It would be rad if an editor like Sublime or Atom understood columns and displayed code that way without needing to reindent everything in the file every time you add a longer key.