How to edit all lines in Visual Studio Code

后端 未结 7 1474
余生分开走
余生分开走 2020-12-23 12:20

I have a list of data to which I need to put a \' symbol at the start of the line and at the end of the line. So the original data looks like this:



        
7条回答
  •  醉话见心
    2020-12-23 12:56

    1- You can use the Ctrl + H shortcut (menu EditReplace)

    1. Enter abcde in Find Control.

    2. Enter 'abcde' in Replace Control.

    3. Then press Ctrl + Alt + Enter.

    Visual Studio Ctrl + H screenshot

    Visual Studio Ctrl + Alt + Enter screenshot

提交回复
热议问题