In visual studio code you can select multiple words with same text using Ctrl+D. What is the equivalent keyboard shortcut on visual studio 2019. I've tried this but it copies a line under it. Here is an example:
cout << "hello world";
cout << "hello world";
cout << "hello world";
what will I have to do if I want to select all the cout
s only using keyboard shortcut. Thanks
You can press Alt+Shift+; to insert a caret at all places where the current word exists.
See Multi-line and multi-cursor editing and Multi-caret selection for more details.