Find and replace with a newline in Visual Studio Code

后端 未结 9 873
囚心锁ツ
囚心锁ツ 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:36

    CTRL + H, then select regex (*) and write \n

    Shorter version: CTRL+H ALT+R \n

提交回复
热议问题