simple-salesforce icon indicating copy to clipboard operation
simple-salesforce copied to clipboard

Add auto-completion for SObject names

Open mhogg-srg opened this issue 3 years ago • 2 comments

Salesforce objects retrieve SObject names during initialization and append them to the normal elements returned by dir, allowing for auto-complete of SObject names found in the Salesforce instance. (Sadly, not all IDEs support auto-completion using dir.)

mhogg-srg avatar Dec 21 '21 20:12 mhogg-srg

This would cost one API call per instance of the Salesforce class.

paneidos avatar Oct 25 '22 15:10 paneidos

This would cost one API call per instance of the Salesforce class.

That's an excellent point. I guess that makes this idea undesirable, unless an optional parameter were added to the constructor, something like a boolean called interactive.

mhogg-srg avatar Oct 25 '22 16:10 mhogg-srg