How to change all selected words in one go in VScode

1

Hello, I would like to know how to change all the words at once in visual studio code

Thank you

    
asked by anonymous 22.06.2018 / 18:31

1 answer

1

There are three ways:

1 - Selection of Lines

You can put multiple cursors by pressing Alt + Click where you want to add a new course, perform an action, add letters or remove, VScode does this in all active cursors:

YoucanplacenewcursorsbypressingShiftAltAltandShift/kbd>+Down.Theseshortcutsputanewcursorexactlyinthesamepositionasthefirstonedownthelineandoneaboverowrespectively.

2-ViaSearchMenu

Openthesearchmenuandexpandbyclickingontheleftarrow:

3 - Via Shortcut to Replacement Field

Press Ctrl + Shift + H     

22.06.2018 / 18:45