Closed pranaymistry closed 5 years ago
It appears to be broken again, starting today, when I use a keyboard shortcut to deploy a file it give me an error "Cannot read property 'fsPath' of undefined". But it works well when I right click on file > deploy source to org.
Hi all - we're taking a look at "Cannot read property 'fsPath' of undefined" with a new issue #3656 - feel free to add any additional details there. (Deploy on save issues we're tracking on #3655 and are currently working on a fix for that one.) Thanks for your comments and patience!
For me just reload twice VS Code worked.
For me just reload twice VS Code worked.
Wow that worked for me! Thank you @Anaatoole!
@Anaatoole fix did not work for me. Still broken.
@dvon88 are you on v53.4.2 of the extensions? If so and it's still an issue, please file a new issue so we can track the problem separately. Thanks!
@randi274 I am on 53.4.2 and was on that version when I posted earlier today, but it was fixed only after I updated the CLI today. Since it appears to be fixed, it's probably fine but it appears to not be perfect based on this. I updated the CLI from 122 to 124. Don't remember the rest of the version numbers, but that's all that fixed it for me.
Still experiencing this issue, I verified that everything is up to date (SF CLI, vscode, etc)
I added a custom keyboard shortcut to deploy current file using "sfdx.force.source.deploy.current.file" command
One of our business requirements is to figure out a keyboard shortcut that can do Save and compile of Apex classes from VSCode while doing ORG based development. This is very important for us to roll out VSCode and drive adoption of its use for Salesforce development. This feature is currently not available in VSCode and hence I tried adding a keyboard shortcut for the sfdx command but I am running into an issue.
Steps To Reproduce:
[ { "key": "shift+cmd+r", "command": "sfdx.force.source.deploy.current.file" } ]
Expected result
The file should have been deployed
Actual result
VS Code Version:
SFDX CLI Version:
OS and version:
Other Commands just work perfectly fine, for e.g.
[ { "key": "shift+cmd+r", "command": "sfdx.force.org.open" } ]