Skip to content

Instantly share code, notes, and snippets.

@orlybg
Last active August 5, 2019 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orlybg/f29621ad70dd52bc4d6d0b6fb4ee2fbf to your computer and use it in GitHub Desktop.
Save orlybg/f29621ad70dd52bc4d6d0b6fb4ee2fbf to your computer and use it in GitHub Desktop.
Basic navigation & Editing
- Install VS Code https://code.visualstudio.com/download
- Install Salesforce extension pack https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode
- VS Code shell command
- VS Code project / directory search
- VS Code Marketplace
- VS Code CSV
- VS Code multiline editing https://stackoverflow.com/questions/30037808/multiline-editing-in-visual-studio-code 
search and edit: ctrl + f & alt + enter
add cursor: alt + cmd + arrows
add cursor: shift + option + click
- VS Code code formatting
- VS Code split screen
- VS Code path breadcrumb
Version Control
- VS Code git clone
- VS Code git create new branch / checkout branch
- VS Code commit and push changes
- VS Code pull from
- VS Code merge conflict fix
- VS Code git stash
Salesforce specifics
- SFDX Authorize an ORG
- SFDX Execute SOQL
- SFDX list all All aliases
- SFDX Create a scratch org
- SFDX Open Default ORG
- SFDX Push to scratch org
- SFDX Create project
- Enabling the ORG browser https://forcedotcom.github.io/salesforcedx-vscode/articles/user-guide/org-browser
- SFDX Debugger https://trailhead.salesforce.com/content/learn/projects/find-and-fix-bugs-with-apex-replay-debugger
https://forcedotcom.github.io/salesforcedx-vscode/articles/apex/interactive-debugger
Resources
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
https://code.visualstudio.com/docs/getstarted/introvideos
https://code.visualstudio.com/docs/editor/versioncontrol
https://forcedotcom.github.io/salesforcedx-vscode/articles/user-guide/cli-commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment