Today I learned how to edit multiple lines in the VS Code code editor.
Inside VS Code, if you hold Ctrl while clicking different lines with your mouse left button, you will place multiple cursors. Then, you can start typing and those changes will affect all the locations you clicked.
With this keyboard shortcut, you can hold Ctrl and click the end of multiple lines to edit them all at once.
That's it for now! Stay tuned and I'll see you around!
Get a daily drop of Python knowledge. A short, effective tip to start writing better Python code: more idiomatic, more effective, more efficient, with fewer bugs. Subscribe here.