I had some problems with content assist this morning and decided to update eclipse. Unfortunately, that did not fix the issue, but I eventually managed to fix it. After some time though, another issue arose and I decided to completely reinstall eclipse this time, but to no avail.
Now, whenever I'm in a loop (doesn't matter which), I cannot use content assist if more code follows below. Let me give you an example.
If I use ctrl-space after this sysout, it will work,
while (true) {
sysout
}
but if I use ctrl-space for this sysout, it will tell me that no proposals were found.
while (true) {
sysout
(Some code) //Can be a sysout, a mathematical expression or pretty much anything else. It will only work if the following code is another loop, an if statement or a variable declaration.
}
I've even used another workspace on this clean version of eclipse and it still doesn't work. Any help would be greatly appreciated!
Edit: The same issue appears in an if statement as well. It looks like anything that has a condition breaks my content assist
sysout - print to standard out
. Placing it inside the sysout characters prompts even more suggestions. Where is your cursor? Do you see the second suggestion about standard out? – Nutria