forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
954 stars 406 forks source link

SFDX: Create New Project is not prompting for project type to create. #5902

Open cmdanner1982 opened 2 days ago

cmdanner1982 commented 2 days ago

Summary

Salesforce extensions fail to load/activate when attempting to create SFDX project.

Steps To Reproduce:

  1. Launch Visual Studio Code (User install) v1.94.2
  2. Type >SFDX in search.
  3. Select >SFDX:Create Project

Expected result

What should happen is you are met with an option to select Standard Project, Empty Project, or Analytics Project.

Actual result

Instead what happens is you see the 'Activating extensions..." displayed in the bottom-left corner, then it disappears and nothing else happens.

Additional information

Feel free to attach a screenshot.

Salesforce Extension Version in VS Code: 62.0.0

Salesforce CLI Version: 2.61.8

OS and version: Windows 11 22H2

VS Code version: 1.94.2

Most recent version of the extensions where this was working: Never. I work in IT Desktop Support, providing assistance to a contractor hired for Salesforce development work. We issued him an HP laptop to which he does not have local administrator rights to, and can not be given those rights per policy. MS VSC, Salesforce CLI and the Salesforce Extension Pack were installed under admin credentials but did not produce a different result.

svc-idee-bot commented 2 days ago

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

peternhale commented 1 day ago

@cmdanner1982 Would you mind providing a screenshot of the running extensions after "Activating extensions..." disappears.

Ctrl-Shift-P and type "Developer: Show Running Extensions"

Send the contents of "Developer: Startup Performance" The contents of that editor can be saved with Ctrl-S

cmdanner1982 commented 10 hours ago

Good afternoon, Peter,

I have a support call scheduled with the end user on Monday, 10/21. I’ll gather the requested information during the call and provide feedback afterward.

cmdanner1982 commented 10 hours ago

From my test machine that is experiencing the same outcome as the end-user:

chuckjonas.apex-pmd dbaeumer.vscode-eslint esbenp.prettier-vscode financialforce.lana redhat.vscode-xml salesforce.salesforce-vscode-slds salesforce.salesforcedx-einstein-gpt salesforce.salesforcedx-vscode salesforce.salesforcedx-vscode-apex salesforce.salesforcedx-vscode-apex-debugger salesforce.salesforcedx-vscode-apex-replay-debugger salesforce.salesforcedx-vscode-core salesforce.salesforcedx-vscode-expanded salesforce.salesforcedx-vscode-lightning salesforce.salesforcedx-vscode-lwc salesforce.salesforcedx-vscode-soql salesforce.salesforcedx-vscode-visualforce salesforce.sfdx-code-analyzer-vscode vignaeshrama.sfdx-package-xml-generator

startup_performace_report.txt

Screenshot 2024-10-18 122000 Screenshot 2024-10-18 121945 Screenshot 2024-10-18 121929

peternhale commented 9 hours ago

@cmdanner1982 From what you have shared it shows that all of our extension have started up. What is it that I am missing? What is the expectation after "Activating extensions..." disappears?

cmdanner1982 commented 9 hours ago

The expectation is to be prompted for the options to select Standard Project, Empty Project, or Analytics Project. Instead, nothing happens and we are unable to create a new SFDX project.

peternhale commented 8 hours ago

@cmdanner1982 Thank you.