Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-255

Code completion does not always resolve classes correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: Editor

      Description

      The "balls" project from chapter 5 has a Canvas class. It also has a BallDemo class that imports java.awt.* and declares "Canvas myCanvas;". This should resolve to the local Canvas class, not java.awt.Canvas. However, if you invoke code completion on "myCanvas.", it only offers methods from java.awt.Canvas, instead of those from the local Canvas class. This also affects suggestions when you get a method name wrong.

        Attachments

          Activity

            People

            • Assignee:
              davmac Davin McCall
              Reporter:
              nccb Neil Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: