drossi750/vscode-salesforce-toolkit

SFDX project detection

Closed this issue · 3 comments

Hi,

enabling this extension by checking the presence of force-app directory is not such a good idea as it can be any other directory. (i.e. src)

I propose to check for presence of sfdx-project.json and using the path from package in packageDirectories with "default": true :)

Thank you!
Cheers

Hi, it's a good idea to make it more flexible indeed. You can contribute also directly to the code, I am swamped.

PR #21 merged, bumped to 1.3.0 and published.
Thanks for contributing :)

Glad to help, never played with vscode extension, it was nice to see the internals :)