question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generate Manifest File command unavailable for source directories not at force-app/**

See original GitHub issue

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:

  1. Create a new project with sfdx, with the default source directory at src, rather than force-app.
  2. Right-click on src, and look for the command SFDX: 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

Screen Shot 2022-07-22 at 11 12 27 AM

Screen Shot 2022-07-22 at 11 12 46 AM

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)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Retrieve Source from Manifest in Org is not pulling data when ...
Utilize the SFDX: Create Project with Manifest command, and created from ... Right click on the package.xml file under the Manifest folder.
Read more >
The file or directory that you tried to deploy or retrieve isn't in a ...
Hi Guys - I had a similar issue listed above. Resolution: Use Terminal to deploy through this command. sfdx force:source:deploy -p force-app/ ...
Read more >
How to retrieve metadata to a custom folder by using default ...
All the time that I retrieve some metadata from the some sandbox, the command "Retrieve Source in Manifest ORG" creates another folder based...
Read more >
Deploying with App Manifests | Cloud Foundry Docs
To deploy an app with a manifest: Create a manifest.yml file in the root directory of your app. Note: By default, the cf...
Read more >
How Continuous Integration can help you to make a ... - LinkedIn
With a manifest file open in the editor, open the Command Palette and run SFDX: Retrieve Source in Manifest from Org. Source File...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found