Daily Dev Tips №91 — Visual Studio Code — how to edit multiple lines at once?

QJ Li
QJ Li
Sep 1, 2018 · 1 min read

Most of the popular text editors have such feature, same as Visual Studio Code. It is very simple to do in VS Code.

Hold down alt (windows) or option (mac) key and click the places you want to edit at the same time. Every click creates a new cursor. After your edit, press esc key to quit the multi edit mode.

visual studio code — multiple lines edit at once

Thanks for reading! 🎊 If you find this helpful don’t forget to give some claps 👏🏻 and feel free to share this with your friends and followers! 🙏If you have some tips to share, feel free to comment below.

QJ Li

Written by

QJ Li

Coding | Lead Myself | Family | Books | Personal CI / CD Daily

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade