Unused imports found

Answered

I sometimes get a wrong 'Unused imports found' warning.

When I optimize imports it states that there are no imports to be optimized, but the warning is still there. 

Running the app usually fixes this Bug.

I had this issue on different Releases including the latest EAP Release.

2 comments
Official comment

Hi,

Sorry for delayed response. Could you please share a file / sample project where the issue is reproducible?

I cannot provide a sample project atm, because I am not using 'Build #OC-172.2656.14, built on May 31, 2017' or newer anymore

This is due to this Bug: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000277204-AppCode-keeps-changing-fileEncoding-from-4-to-1-for-Localizable-stringsdict-file

It happened in a large scale project multiple times a day. 

0

Please sign in to leave a comment.