-
Notifications
You must be signed in to change notification settings - Fork 442
Autocomplete not working for implicitly imported Schema namespace #2271
Copy link
Copy link
Closed
Labels
area:apexarea:codecompletiontype:enhancementsFeedback to take into account for existing featuresFeedback to take into account for existing features
Description
Summary
The Schema namespace is implicitly imported by Salesforce but is not available for autocompletion.
Steps To Reproduce:
- Create a new Apex class and method.
- Declare a variable like "SObjectField myField = null;"
- As you start typing "SObjectF", autocomplete should be available but is not.
Expected result
Autocomplete should work as expected for classes in the Schema namespace without having to fully-qualify them.
Actual result
Autocomplete is not available.
Additional information
VS Code Version: 1.46.0
SFDX CLI Version: sfdx-cli/7.60.0-e2bb2907cb win32-x64 node-v10.15.3
OS and version: Windows 10 Enterprise 1809
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:apexarea:codecompletiontype:enhancementsFeedback to take into account for existing featuresFeedback to take into account for existing features