V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
elviscai

请问 VSCode 中如何使用正则「只匹配」换行符?

  •  
  •   elviscai · Feb 5, 2017 · 9654 views
    This topic created in 3371 days ago, the information mentioned may be changed or developed.
    其他好像都正常,但换行 \n 不行。

    https://github.com/Microsoft/vscode/issues/313
    似乎是个「历史遗留问题」,但是看了一圈下来也不知道该怎么办……😂
    3 replies    2017-02-05 01:08:44 +08:00
    DiamondbacK
        1
    DiamondbacK  
       Feb 5, 2017
    elviscai
        2
    elviscai  
    OP
       Feb 5, 2017
    @DiamondbacK http://imgur.com/a/EDZ4b
    难道是 macOS Only ?
    elviscai
        3
    elviscai  
    OP
       Feb 5, 2017
    https://marketplace.visualstudio.com/items?itemName=jmallien.ReplaceWithNewline
    似乎可以靠这个扩展解决,但是好麻烦啊……😥
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3121 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 00:25 · PVG 08:25 · LAX 17:25 · JFK 20:25
    ♥ Do have faith in what you're doing.