VS Code Shortcuts to Deploy LWC, Apex, Triggers & Everything Post author:Swapnil Jaiswal Post published:June 15, 2025 Post category:Blog / Salesforce Post comments:0 Comments Shortcuts to deploy Salesforce metadata in VS Code Tip: Edit your keybindings.json file with JSON code given below and your shortcuts will be ready. Steps to Open keybindings.json:Open VS CodePress Ctrl + Shift + POpen Keyboard Shortcuts (JSON) / keybindings.jsonReplace the file with following JSON code [ { "key": "ctrl+d", // "command": "sfdx.force.source.deploy.source.path" // replace sf with sfdx if you have latest sfdx version "command": "sf.deploy.current.source.file" }, { "key": "alt+s alt+o", "command": "sfdx.force.org.open" }, { "key": "alt+r", "command": "sfdx.force.source.retrieve.source.path" }, { "key": "alt+s alt+t", "command": "sfdx.force.apex.test.last.method.run" }, { "key": "alt+s alt+r", "command": "sfdx.force.source.retrieve.in.manifest" }, { "key": "alt+s alt+.", "command": "sfdx.force.source.deploy.in.manifest" } ] What shortcuts we have added:ctrl+d: Deploy any type of salesforce components alt+s alt+o: Open orgalt + r: Retrieve current open file mdtalt+s alt+r: Retrieve in manifestalt+s alt+.: Deploy files added in manifest Note: If you are using latest version of sfdx then replace all sfdx with sf. sfdx is being deprecated, sf is the replacement. Our recent posts Salesforce 40+ company wise interview questions. PayPal Salesforce Developer Interview Questions You Might Also Like Star patterns set 1 October 22, 2022 Build Data Fetcher with LWC February 11, 2024 How to add files into Document Object and access in LWC Salesforce. February 27, 2022 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.