-
Notifications
You must be signed in to change notification settings - Fork 100
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
Wrong behaviour of Optimize Import #191
Comments
Ok, CopyPasteProcessor doesn't checks for duplicate items and Optimize imports doesn't detects duplicate imports. Thanks. |
I'm curious is this an IDEA 14? |
Ok, roger that |
Yes, latest Idea 14.
|
I added a check for duplicate items(CopyPasteProcessor), about Optimizing imports - can't reproduce it, for flash.display.Sprite it works fine, it may not work if reference is unresolved, but it seems to be resolved on your gif. |
Please try to optimize this: import flash.display.Sprite;
import flash.display.Sprite;
import flash.display.Sprite; |
Magic! It works but how?! |
Is that specific commit or I can download just latest |
Take the last commit. (latest) |
Seems like this doesn't works import String.fromCharCode in f;
class Main2 {
static function main() {
var c1 = f(65);
var c2 = f(66);
trace(c1 + c2); // AB
}
} |
I think it doesn't supported yet. |
…ions Resolve static function imports for import with in keyword (import String.fromCharCode in f;) #191
Appears fixed and merged. @fzzr- Please test and re-open if this bug is not fixed. |
Build: Build 0.8.1.1.TiVo.4
Need to filtering similar import-items. In my demo I did copy-paste and get a dialog with many of the same items. After it I was try to Optimize Imports - get no wanted result :(
The text was updated successfully, but these errors were encountered: