namespace added to non-namespaced code while coding package

Issue #897 resolved
Jaap Branderhorst created an issue

Hi,

As of today when using autocompletion the namespace of the package I am developing gets added. I use SFDX and am developing the package against a scratch org. Here is my SFDX project definition file:

{ "packageDirectories": [ { "path": "force-app", "default": true } ], "namespace": "gp2", "sfdcLoginUrl": "https://login.salesforce.com", "sourceApiVersion": "41.0" }

This seriously hampers our business. We have 10 users developing AppExchange projects right now.

Comments (5)

  1. Jaap Branderhorst Account Deactivated reporter

    Never mind. Apparently my scratch org was out of date and there is a minor glitch then causing this behavior. Not good but not major either.

  2. Scott Wells repo owner

    Jaap, I've been speaking to another user about what I believe is the same underlying issue. When a scratch org is "renewed" IC hangs onto a reference to the previous scratch org longer than it should. The workaround until I address it (which will be soon) is to close and reopen the project which flushes that cache. Let me know if that doesn't provide a workaround for the issue the next time you see this (if you do), and I'll work toward a concrete solution in the near future.

  3. Scott Wells repo owner

    Gotcha. I'll definitely try to get that addressed in short order. I'll keep this issue open to track it. Sorry for the nuisance!

  4. Scott Wells repo owner

    Issue tracker grooming. If this is still an issue, please feel free to reopen, ideally with a concrete reproduction scenario.

  5. Log in to comment