VSCode Module #39 Flashcards
Shortcut to open/hide the file browser
cmd/ctrl B
While in the search panel, how would you turn on case sensitivity?
Click the upper or lowercase letter(icons) in the search column.
How can you run a search and replace
Click the small triangle ▷ that looks like a play button in the search column.
How would you limit the search to only include certain file types
Click the three dots . . . in the search column.
What does a U mean when it is next to the files in the file browser?
It means that the file has been updated since the last commit. Sometimes when the directory that holds the files hasn’t been “Git Initialized” , of course all files in that directory are updated since there has been no initial commit.
How would you make the first commit
Create the first commit by writing a text message and pressing Cmd-Enter, or clicking the ✔︎ icon on top.
What is the short cut to open the terminal?
For Mac it is CTRL ` (Control backtick) To add another terminal window hit CTRL SHIFT `
How do you reveal the two terminal windows (if there is more than one open)
Hit the split-terminal icon that looks like two columns in the terminal browser.
How can you quickly format the document you’re working on
CMD SHIFT P + type format
How can you run a chunk of JS, PHP, or other language
CMD SHIFT P + type run
How can you show the files in the directory that your work is in?
CMD P
How can you show just the active files
CTRL SHIFT TAB
How can you quickly skip the cursor to a specific line in your code?
CTRL G
How can you show the elements or symbols used in your current document. Example you’re working on an HTML document and you want to skip to the FOOTER tag.
CMD SHIFT O
What’s the key command for switching themes?
CMD K + CMD T once in there you can arrow up or down to see a preview of various themes