- changed status to open
Hi,
I am currently developing several managed packages with the same namespace (2nd gen packages). In Illuminated Cloud, I have discovered that when you share a namespace between two different packages and use the @NamespaceAvailable annotation, the attributes and methods are not selectable in the IDE.
Additionally, the annotation is not always allowed. This annotation can be used with a public or protected method where the class is defined as global or has the @NamespaceAccessible annotation.
In the attached screenshot, you can see the classes from both packages. On the left, you have the first package, which includes the abstract class Logging with the @NamespaceAccessible annotation. On the right, you see the second package where the abstract object is extended with additional functionality. Here, for example, the attribute "log" is incorrectly flagged as an error (while Salesforce successfully saves the class).
Hi, Gunther. Can you please create and attach a standalone project that reproduces these issues easily?