force-app/main/default/objects directory.Ctrl+Shift+P (Windows) or Cmd+Shift+P (Mac).SFDX: Create Apex Class and select it.PersonalizedExperiencesController as the class name.force-app/main/default/classes).PersonalizedExperiencesController class file will be created and opened in the editor.Use the following prompt:
Generate a class PersonalizedExperiencesController with method name getMatchingExperiences. The method has a parameter of contact Id and the method fetches Experience records matching type field by fields Interest1__c or Interest2__c or Interest3__c from the contact record. Keep the query static
View in the top menu bar.Terminal from the dropdown menu.Ctrl + Shift + ` on your keyboard.Ctrl + Shift + P to open the Command Palette.Toggle Integrated Terminal and select it from the list.sf plugins install @salesforce/sfdx-scanner
Ctrl + Shift + X (Windows) or Cmd + Shift + X (macOS) on your keyboard.Salesforce Code Analyzer into the search bar and press Enter.Install button.Reload button or restart VSCode manually.