Important ShortCut For Developer | VS Code | IDE

--help cse
2 min readOct 12, 2024

--

Opportunities don’t happen, you create them .

- Swami Vivekanandan

Most Useful shortcut daily life of developer:

Select All Text

Ctrl+A

Select whole line where cursor is located.

Ctrl+L

Note: if you press continue then next line will get select one by one

Add Cursor Above/Below to select multiple line

Alt + Enter

***Most Imp**

To Run Code VS code

Ctrl+Alt+n

To Change All Occurences

Ctrl+F2

Find all References

Alt+Shift+F12

Viewing and Layout:

  • Toggle Sidebar: Ctrl + B (Windows/Linux) or Cmd + B (Mac)
  • Toggle Panel(Terminal): Ctrl + J (Windows/Linux) or Cmd + J (Mac)

Settings and Extensions:

  • Open Settings in VS code: Ctrl + , (Windows/Linux) or Cmd + , (Mac)

Search and Replace:

  • Find: Ctrl + F (Windows/Linux) or Cmd + F (Mac)
  • Replace: Ctrl + H (Windows/Linux) or Cmd + Option + F (Mac)
  • Find Next: F3 or Ctrl + G (Windows/Linux) or Cmd + G (Mac)
  • Find Previous: Shift + F3 or Ctrl + Shift + G (Windows/Linux) or Cmd + Shift + G (Mac)

File Management:

  • New File: Ctrl + N (Windows/Linux) or Cmd + N (Mac)
  • Save File: Ctrl + S (Windows/Linux) or Cmd + S (Mac)
  • Close File: Ctrl + W (Windows/Linux) or Cmd + W (Mac)

Editing:

  • Cut Line: Ctrl + X (Windows/Linux) or Cmd + X (Mac)
  • Copy Line: Ctrl + C (Windows/Linux) or Cmd + C (Mac)
  • Paste: Ctrl + V (Windows/Linux) or Cmd + V (Mac)
  • Undo: Ctrl + Z (Windows/Linux) or Cmd + Z (Mac)
  • Redo: Ctrl + Y (Windows/Linux) or Cmd + Shift + Z (Mac)
  • Format Document: Shift + Alt + F (Windows/Linux) or Shift + Option + F (Mac)

Basic Navigation:

  • Open Command Palette: Ctrl + Shift + P (Windows/Linux) or Cmd + Shift + P (Mac)
  • Open File: Ctrl + P (Windows/Linux) or Cmd + P (Mac)
  • Switch Between Tabs: Ctrl + Tab (Windows/Linux) or Cmd + Option + Right/Left Arrow (Mac)

Select Current Word:

  • Windows/Linux: Ctrl + Shift + → (to select word to the right) or Ctrl + Shift + ← (to select word to the left)
  • Mac: Option + Shift + → (to select word to the right) or Option + Shift + ← (to select word to the left)

Select Everything from Cursor to Start/End of Line:

  • Windows/Linux: CTRL+L

Go to Start of Line:

  • Windows/Linux: Shift + Home
  • Mac: Shift + Cmd + Left Arrow

Go to End of Line:

  • Windows/Linux: Shift + End
  • Mac: Shift + Cmd + Right Arrow

Select Multiple Lines:

Select the next line:

  • Windows/Linux: Shift + ↓
  • Mac: Shift + ↑

Select the previous line

  • Windows/Linux: Shift + ↑
  • Mac: Shift + ↓

Thank You !! Follow Us For Such Content .

--

--

--help cse
--help cse

Written by --help cse

I'm a Full-Stack Developer | AWS Certified DevOps Engineer, with passionate about coding and enjoy sharing my knowledge with others.

No responses yet