re: Pro tips for Visual Studio Code to be productive in 2018 👨🏻‍💻 VIEW POST


Edit Multiple Lines at Once is what blew me away 😮 when I saw Wes Bos editing multiple lines of React components at once in VS Code .

And this time you blew me away at JSON to Code 🕺.


Agree about multiple lines. I always use Ctrl/Cmd + D after selecting text to change multiple instances but this will be nice.


You guys do realize that multiline editing has been a feature of pretty much any IDE for at least 7-8 years, right? I like VSCode but let's not make it look like they made some breakthrough with this.

Came here to say that too. My muscle memory prefers the way Visual Studio and Notepad++ has done it for years. Put the caret at a place on the line, and hold ALT-SHIFT and press UP or DOWN, and that will put the caret insertion/deletion point on multiple lines. Then type or delete or do whatever to do it on each of the lines. But in VS Code, it duplicates lines - same key commands, but completely different result. :(


You can take the multiple lines tip one step further and jump to the beginning or end of each line with a hotkey too (very handy for CSV files).

Here's a demo I recorded a few months ago:


That video makes you feel like editing texts using your thoughts almost 😲


Thanks for sharing this video. This is really a pro tip of how we could use multiple line editing.

code of conduct - report abuse