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

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

0

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

0

请先登录再写评论。