[BLUEJ-295] Superclass changes during editing not reflected in code completion
If you create a class A and a class B, and later set A as the super class of B (B extends A), and try code completion from within B, the class A methods will not appear.
If you close BlueJ and re-open it, and try the code completion from class B again, it'll then show class A methods.
It seems that the code completion asks MoeEditor for the code completion suggestions, and gets given an old version, which doesn't have the updated information on which class extends which.
The extends information is recalculated when the file is saved, but only by the InfoParser, and is never fed back to the MoeEditor version.
Thus the syntax highlighting is accurate, but the type information isn't.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.0.3