Jintin / Swimat

An Xcode formatter plug-in to format your swift code.
https://jintin.github.io/Swimat/
MIT License
1.65k stars 89 forks source link

Switch @unknown default formatting #200

Closed andrei-kuzma closed 5 years ago

andrei-kuzma commented 5 years ago

Current result:

switch operation {
case .none:
    return ...
case .pop:
    return ...
case .push:
    return ...
    @unknown default:
    return ...
}

Expected result:

switch operation {
case .none:
    return ...
case .pop:
    return ...
case .push:
    return ...
@unknown default:
    return ...
}
KoichiroKAMADA commented 5 years ago

👍

Jintin commented 5 years ago

Thanks report, should be in next release 1.6.1