Topic 2D: VS Code: Multiple Cursors & Selections

Free Visual Studio Code Tutorial

This exercise is excerpted from Noble Desktop’s front-end web development (Visual Studio Code) training materials and is compatible with updates through 2022. To continue learning web development with hands-on training, check out our coding bootcamps in NYC and live online.

Note: These materials are provided to give prospective students a sense of how we structure our class exercises and supplementary materials. During the course, you will get access to the accompanying class files, live instructor demonstrations, and hands-on instruction.

Multiple Cursors & Selections

  • Place multiple cursors: Option–Click (Mac) or Alt–Click (Windows)
  • Multiple selections (discontinuous): Hold Option (Mac) or Alt (Windows) while dragging.
  • To make a single discontinuous selection area across multiple lines: Hold Option–Shift (Mac) or Alt–Shift (Windows) while dragging.
  • Create a multi-line cursor: Hold Cmd–Option (Mac) or Ctrl–Alt (Windows) and then hit the Up or Down Arrow keys.
  • If you have multiple selections or cursors, you can make edits: delete, type, paste, etc. Press Escape (esc) to return to one cursor.

How to Learn Coding

Master coding with hands-on training. Learning how to code in JavaScript, Python, and other popular languages can pave the way to a job in tech, such as web development, data science & analytics, or software engineering.

Yelp Facebook LinkedIn YouTube Twitter Instagram