salesforcedx-vscode
salesforcedx-vscode copied to clipboard
Generate Manifest File command unavailable for source directories not at force-app/**
Summary
Changes introduced in PR #4208 appear to have broken functionality for manifest generation at paths which are not contained in the default force-app
source directory.
Steps To Reproduce:
- Create a new project with sfdx, with the default source directory at
src
, rather thanforce-app
. - Right-click on
src
, and look for the commandSFDX: Generate Manifest File
Expected result
SFDX: Generate Manifest File
is available on any directories containing source, as defined in sfdx-project.json
— not only subdirectories of force-app
.
Actual result
SFDX: Generate Manifest File
command is only available within the force-app
directory.
Additional information
Salesforce Extension Version in VS Code: v55.6.0
SFDX CLI Version: sfdx-cli/7.160.0 darwin-x64 node-v16.16.0
OS and version: macOS 12.4 (Monterey)
Hi @marshallvaughn thanks for filing this issue! Can you confirm that you also have the default package directory set as src
in your sfdx-project.json
? And to confirm, you'd like the behavior to display the SFDX: Generate Manifest File
command across all folders within your default package directory, as defined in the sfdx-project.json
file?
@AnanyaJha I have the same issue. BTW The path (src/
) is set in the packageDirectories
in sfdx-project.json. I think the option should be available in any folder and not only in the default path
This issue has not received a response in 7 days. It will auto-close in 7 days unless a response is posted.
This issue has been linked to a new work item: W-11939510
seems this was fixed with https://github.com/forcedotcom/salesforcedx-vscode/pull/4411
Addressed with https://github.com/forcedotcom/salesforcedx-vscode/pull/4411