codepainter
codepainter copied to clipboard
Adding spacing between parameters
This is a brilliant resource! I've found it highly useful in some of my projects, to ensure a consistent syntax. Would it be possible to add this as a feature?
Example:
function foo(a,b,c){
console.log(a+b+c);
}
Would Become:
function foo ( a , b , c ) {
console.log( a+b+c )
}
or
$("a.very.specific.link").click();
$(body).find("div").each(function(){
$(this).hide().fadeIn("slow");
});
Would Become:
$( "a.very.specific.link" ).click();
$( body ).find( "div" ).each( function(){
$( this ).hide().fadeIn( "slow" );
} );
Reference: https://github.com/editorconfig/editorconfig/issues/83
Hi @mintymatt. I'm no longer interested in supporting this project, so it would have to be someone else.