Reformat code -> optimize imports

I am currently working on a codebase created by someone else (who of course wrote it in Xcode), so I use the "Reformat code" + "Optimize imports" function a lot...

One thing I noticed is that when I open a file, that has not been correctly reformated by AppCode before, then I press [Alt]+[Cmd]+L to reformat (and optimize). This reformats the code, but leaves the imports untouched. When I press [Alt]+[Cmd]+L again, *then* the imports are optimized...

0
2 comments

I cannot reproduce this problem.
Can you please make a smallest possible sample project that shows it?
Thanks

0
Avatar
Permanently deleted user

I sent you a mail with a project attached...

0

Please sign in to leave a comment.