Comments (2)
Thank you for your report
It's due to the switch case check will minus indent count and that also influence enum's situation.
switch {
case A:
break
case B:
break
}
You can reinstall and restart XCode to see if it is fixed in 1.2.4.
from swimat.
@Jintin thx fixed that
reinstall then it works well
from swimat.
Related Issues (20)
- Enum cases has wrong indent in `Array`
- Removing semicolons does not work HOT 2
- Error when formatting unary operators HOT 4
- Formatting when splitting functions onto multiple lines. HOT 1
- Format whole project HOT 12
- Xcode 12 support on macOS 11 HOT 7
- Xcode 12.2 & Big Sur cannot show extension in Editor HOT 10
- Swimat does not appear in the Xcode 12 editor menu HOT 1
- Weird indentation with type inference on methods HOT 1
- cant open swimat HOT 2
- No Swimat in Editor menu HOT 4
- Malicious software HOT 3
- The format of the spaces before and after the dot is incorrect
- Update link for the Swimat file HOT 1
- Curley braces indented incorrectly when formatting spaces.
- Bug With Switch indentation
- SwiftUI modifiers are formatted incorrectly when tabs are set to 2 spaces HOT 1
- Will formatting affect the content in it? HOT 2
- Incorrect format with new Regular expressions (Swift 5.7+)
- Swimat 1.7.0 fails to build on macOS Ventura
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swimat.