nicklockwood / SwiftFormat

A command-line tool and Xcode Extension for formatting Swift code
MIT License
7.62k stars 623 forks source link

When using extensions, it disrupts Xcode's bookmark information. #1614

Open CheeseCri opened 5 months ago

CheeseCri commented 5 months ago

When formatting the MainViewController.swift file after saving bookmarks, all bookmark information for MainViewController.swift gets corrupted. To be more specific, all bookmark information ends up pointing to the last line of the file.

Can you check and fix this?

kirpichonok commented 2 months ago

I faced the same issue.