-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
enhancementNew feature or requestNew feature or requestwrappingIncorrect or undesirable wrappingIncorrect or undesirable wrapping
Description
Describe the Feature
I use this hxformat.json option to select arguments style personally
{
"wrapping": {
"callParameter": {
"defaultWrap": "keep"
}
}
}The only minor problem i see with this is when such cases
class Main {
static function main() {
on(e -> {
trace(1);});
}
static function on(callback:Any):Void {}
}Not auto-formatted into this:
class Main {
static function main() {
on(e -> {
trace(1);
});
}
static function on(callback:Any):Void {}
}It would be nice to have some option to force newline after ; (except for comments after it), or always add newline between ;} tokens in "keep" wrap mode.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestwrappingIncorrect or undesirable wrappingIncorrect or undesirable wrapping