Toggles terminal with Command + Option + ` You must set it through the JSON file, so open up keybindings.json and insert the following entry. (Mac Visual Studio Code won’t register ` with Command or Option keys). On Mac, you can’t set Command + Option + ` through this panel.
You should see an option to toggle the integrated terminal. Search for “Integrated Terminal” in the keyboard shortcuts panel. This keyboard shortcut opens and closes the Integrated Terminal. Let’s start by toggling the integrated terminal. Once I changed this shortcut, BOOM I rarely use the integrated terminal anymore. The real problem was because Mac’s shortcut for accessing the Integrated Terminal ( Control + `) wasn’t accessible enough. It sounds even funnier I say I use a 27" display… I know this sounds funny considering I use a 15" Mac. I felt it was too small there wasn’t enough space for code and the terminal to coexist. I didn’t like the Integrated Terminal in Visual Studio Code for a long time. I didn’t like the Integrated Terminal previously This week, I want to share some wicked shortcuts I use for the Integrated Terminal. I talked about the key bindings I used to switch between tabs and panels last week.
Log in to your playground using your playground username and password retrieved from the last step. Notice that your default browser opens a new Salesforce login window.To accept the default login URL, press Enter.Save the file by pressing Command + S on Mac, Control + S on Windows.Change the orgName value (after the : and in between the “”) to Learning VS Code.In the first result found in project-scratch-def.json.On the left hand side of Visual Studio code, click the Find and Replace menu.Type project-scratch-def.json into the field.Press Command + P on Mac or Ctrl + P on Windows to make the search palette appear.You should see an indication that the extension is preparing your project before populating the file explorer. Wait for the new Visual Studio Code window to open.
The two main ways you can interact with Salesforce CLI are through the integrated terminal or quick open window. Like with any good development tool, there is more than one way to do things with Visual Studio Code. (This clip starts at the 19:41 minute mark, in case you want to rewind and watch the beginning of the step again.) Terminal Versus Command Palette
Want to follow along with an instructor as you work through this step? Take a look at this video, part of the Trail Together series on Trailhead Live.