Community
Participate
Working Groups
Build ID: 20090621-0832 Steps To Reproduce: 1. Write source code that uses static imports 2. mix up the classpath so that the statically import class isn't reachable any more 3. organize imports (the static import gets removed) 4. fix the classpath (you still have compile time errors) 5. try to use quick fix or organize imports to fix the compile time problem More information: Yes, you can use content assist to fix the problem. It's much more inconvenient, though. Even though I should know it by now, it's always only my second guess on what to try.
>Yes, you can use content assist to fix the problem. Or quick fix. If we decide to use the content assist preference then we have to move the 'Favorites' page out of Editor > Content Assist.
> Or quick fix. Only for stuff from org.junit.Assert. Others should come with bug 181788.
Removed "see also" link as this should not be used for internal bug links.
(In reply to comment #3) > Removed "see also" link as this should not be used for internal bug links. So, what should be used instead? "Depends on" or "Blocks" doesn't really seem to apply, and having it only in the comment seems to be rather subtle...
Comment is good enough and if they depend somehow you can use depends/blocks as the help for the 'See also' field indicates.
(In reply to comment #5) > Comment is good enough and if they depend somehow you can use depends/blocks as > the help for the 'See also' field indicates. Frankly, the logic of this escapes me (and I also read the help a bit differently), but it's not me who has to maintain the dependencies anyway, so what do I know ;)
*** Bug 487190 has been marked as a duplicate of this bug. ***
Roland, IIRC you are working in this area. Please have a look
Bug 562641 seems to be a duplicate of this. Should we just mark it as such and re-target the change up for review against this bug ?
(In reply to Roland Grunberg from comment #9) > Bug 562641 seems to be a duplicate of this. Should we just mark it as such > and re-target the change up for review against this bug ? Yes.
*** Bug 562641 has been marked as a duplicate of this bug. ***
Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/163380 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=220423d078266000c18eb55182a720a77dfcc80e
Verified for 4.17 M1 using I20200707-0600 build