Check out example codes for "vscode shortcuts for multi edit". It will help you in understanding the concepts better.

Code Example 1

Ctrl+F2

Code Example 2

Ctrl+Shift+L

Code Example 3

ctrl + Space

Learn ReactJs, React Native from akashmittal.com