Ticket #238 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

Quickfix for missing base import in role file must add to the team

Reported by: stephan Owned by: stephan
Priority: major Milestone: OTDT_1.2.8
Component: content assist Version: 1.2.7
Keywords: Cc:

Description

When a role file is missing an import for its base class, this "import base" must be added to the team class, not the role file.

Change History

Changed 17 months ago by stephan

  • status changed from new to closed
  • resolution set to fixed

Test and fix are in r19836.

Note, that quickfix is the only operation that automatically inserts a base import into a file that's not the current editor. Neither completion nor organize imports are geared at affecting other files.

See also Eclipse bug 271812 for an issue that had to be worked around in the implementation.

Changed 17 months ago by stephan

An a simliar note, changing an existing import to "import base" within a role file should not be offered as a quickfix.

r19837 takes care of that to the affect that now a proposal is offered to insert the base import into the enclosing team instead.

Note: See TracTickets for help on using tickets.