Closed Wilson008 closed 3 years ago
The current solution is: We added type judgment conditions before getting scopes, specifically only when context's type matches and target's type matches would all to get scopes by getting the fully qualified name. Note that context and target are bonded in pairs. The special case here is about HardwareComponentPrototype underneath DesignLevel, so we have a dedicated process fragment for this which could be found in code (with comments).
for example: EAPackage aa ElectricalComponent a pin q part connector HardwareConnector category
isActive true hardwareComponentPrototype hardwareComponentPrototype All the autocompletion should be correct.