Find and replace with a newline in Visual Studio Code

后端 未结 9 842
囚心锁ツ
囚心锁ツ 2020-12-04 04:43

I am trying out the new Microsoft Visual Studio Code editor in Linux Fedora environment. I would like to know how to replace new line (\\n) in place of some other text.

9条回答
  •  离开以前
    2020-12-04 05:22

    Also note, after hitting the regex icon, to actually replace \n text with a newline, I had to use \\n as search and \n as replace.

提交回复
热议问题