Community
Participate
Working Groups
The attached screenshot was taken after typing "periods." and selecting the add method. As you can see, the suggestion made by eclipse is invalid, as the variable "m" is out of scope. This is always reproducible.
Created attachment 28107 [details] Screenshot for the error
Depends on bug 110181: more context information from the jdt.core infrastructure: - we don't typically know which local variables are in scope as the source does not compile when you invoke content assist (missing semicolons and such). If the completion context would provide the visible local variables we could filter based on that information.
Closing as remind until bug 110181 is fixed.
Get rid of deprecated state.
.