This content originally appeared on DEV Community and was authored by Margarita Potylitsyna
Visual Studio
Cmd + B - left panel
Cmd + J - toggle terminal panel
Cmd + K - clear terminal
Ctrl + C - interrupt the command
Cmd + Shift + P - command palette
Cmd + P - quick open file
Cmd + ← - jump to the beginning of the line (Ctrl + A)
Ctrl + E - jump to the end of the line
Cmd + / - toggle code comment
Cmd + F - find and replace
Cmd + Shift + F - find and replace global
Cmd + D - find the next selection
Cmd + U - step back
Option + ↓ - move line
Shift + Option + ↓ - duplicate line
Shift + Tab - add/remove tab spaces for multiple lines
Option + Click - add more cursors
Ctrl + Shift + ` - embedded Ruby (ERB) Tag Toggle
Mac OS
Cmd + Space - to launch apps (Spotlight)
Cmd + Tab - to switch between apps
Option + Cmd + ← - to switch between tabs within the same window
Cmd + 1 (2, 3, 4, ...) - to jump straight to a tab number
Cmd + Shift + 3 (or 4) - to take a screenshot
Ctrl + Option + Cmd + ↑ - maximize window
Ctrl + Option + ← - left half
Ctrl + Option + → - right half
Ctrl + scroll up and down (two-fingers on the trackpad) - to zoom the screen
Hard refresh for Chrome
F12, Option + Cmd + J (Mac), Ctrl + Shift + J (Win)
or right click on the refresh button and select "Empty cash and hard reload"
This content originally appeared on DEV Community and was authored by Margarita Potylitsyna
Margarita Potylitsyna | Sciencx (2024-09-20T01:37:12+00:00) Useful shortcuts! 🥸. Retrieved from https://www.scien.cx/2024/09/20/useful-shortcuts-%f0%9f%a5%b8/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.