atom-alignment
atom-alignment copied to clipboard
Allow exceptions for certain cases of a given character
In my code I often want to align by '=' but there is a set of cases where I want it to alight all '=' except those that fit a certain pattern; in the case the pattern is 'kind = variable'. Is there a way to implement this?
I have another issue editing ruby, it separates the ':' from variables assignations: From: cols << {cap: "Nome", class: 'text-left', others: {style: "width: 20%"}} cols << {cap: "Ações", class: 'text-left', others: {style: "width: 10%"}} to cols << {cap: "Nome", class : 'text-left', others: {style: "width: 20%"}} cols << {cap: "Ações", class: 'text-left', others: {style: "width: 10%"}}
is it possible to configure for not separate the ':'?