Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Include Swimat and auto-apply it. #175

Open
charlieMonroe opened this issue Jan 5, 2016 · 1 comment
Open

Suggestion: Include Swimat and auto-apply it. #175

charlieMonroe opened this issue Jan 5, 2016 · 1 comment

Comments

@charlieMonroe
Copy link

I remember filing some issue here about iSwift not preserving some white space and then I've seen in the release notes that you've worked on some improvements to this matter.

I've recently found out that there are Xcode plugins (open source) that automatically format Swift code according to Apple-made code-style conventions. One example of such plugin (which I use) is Swimat - https://github.com/Jintin/Swimat

I'm not sure how hard it would be to include the relevant part of the plugin (generally 4 classes from https://github.com/Jintin/Swimat/tree/master/Swimat + the categories folder) and auto-apply it after successful conversion of ObjC -> Swift.

Just thought that this could eventually save you a lot of time solving some formatting issues, since this would do everything for you according to the conventions.

@drkameleon
Copy link
Collaborator

Interesting suggestion.

I'm obviously doing some re-formatting and code beautification myself, but I would definitely not say no to a better approach...

Let's see how and if this can be integrated it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants