-
Notifications
You must be signed in to change notification settings - Fork 405
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide autocompletion for namespaced unlocked package classes #2075
Comments
Thanks for opening this issue @alpha-bytes . I'd like to make sure we understand what you're looking for. In the scenario you're running, are the unlocked package classes part of the project you have locally ? Do you want the autocomplete to show unlocked package class data while working on an Apex class that's not part of the unlocked package ? |
Right, sorry that wasn't clear. Ideally, if I list an I realize that could get a bit hairy and I could just retrieve the classes to my local project, but it's an additional step and you have to make sure you (and team) don't add those files to source control. I guess basically I'm asking for an |
@alpha-bytes thanks for clarifying. This is something we definitely want to do. It's similar to #1177 but it's not part of the immediate roadmap (we're currently focusing in performance of deploys and retrieves). I agree that downloading the other unlocked packages is not a good workaround but I can't think of a better workaround for now. If I find something I'll update this thread. cc @smaddox-sf we should talk about this for our next release planning. |
This issue has been linked to a new work item: W-7376860 |
2 similar comments
This issue has been linked to a new work item: W-7376860 |
This issue has been linked to a new work item: W-7376860 |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I am implementing unlocked packaging more and more in client orgs and many of them are namespaced. It appears the Apex Language Server does not store symbol data (forgive any incorrect terminology) for unlocked packages in an org that are outside the default namespace (i.e. not namespaced).
I have tried adding namespaces to the
sfdx-project.json
, deleting theapex.db
file and restarting VS Code to see if I could get the LSP to index the namespaced classes, but to no avail.If anyone knows of any other workarounds unless / until this is implemented they would be much appreciated. Thanks as always for your hard work on making these extensions great tools for dev productivity on the platform.
The text was updated successfully, but these errors were encountered: