Comments (2)
@chaewan-park I'm not able to reproduce this in SwiftFormat 0.52.10 with the following unit test. Perhaps there's some other surrounding context in the file needed to recreate it? Or is it possible you somehow have multiple SwiftFormat versions installed, and are running the wrong one?
EDIT: never mind, I was missing that you were using --self insert
- I can reproduce it now.
from swiftformat.
@chaewan-park fixed in 0.52.11
from swiftformat.
Related Issues (20)
- When using extensions, it disrupts Xcode's bookmark information.
- trailingClosures or trailingclosures HOT 1
- `--xcodeindentation` seems not working HOT 1
- Enable `swiftformat:sort` globally? HOT 2
- Internal keyword is dropped on access-level imports (AccessLevelOnImport feature) HOT 1
- `hoistAwait` rule puts `await` before `try`, that makes code **Invalid** HOT 1
- Add `redundantNestedConditional` rule
- `swiftformat:sort` does not work on `extension` HOT 4
- Issue with the rule `redundantInit` not playing nicely with preprocessor HOT 3
- `redundantSelf` causes an unnecessary warning when a closure has specified an actor and uses a name of a property for parameter HOT 1
- Swiftformat not working from the docker image HOT 2
- Unexpected false-positive in unusedArguments rule HOT 2
- Format only uncommited(modifications) if are available HOT 6
- `preferForLoop` doesn't deal well with `try` and `await` HOT 1
- `preferForLoop` picks `cas` identifier for `allCases` items HOT 1
- Formatting a SwiftUI view modifier surrounded by #if/#endif has extra indentation
- Can swiftformat align && operators in multi-line Equatable implementations like Xcode format?
- Rule Idea: Prefer Color/ImageResource over 'named' Initialisers
- `enumNamespaces` applies even to types with macros attached HOT 4
- Missing version 0.53.2
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 swiftformat.