Skip to content

Introduce an universal newline character like \R #8601

@zhangxiubo

Description

@zhangxiubo
  • VSCode Version: 1.3.0-Insider (2016-07-01 build)
  • OS Version: Windows 7

Steps to Reproduce:

  1. Open a new buffer;
  2. Type three lines of text;
  3. Open the find and replace dialogue and turn on regex;
  4. In the Find field, input \n; in the Replace with field, input a whitespace;
  5. Hit replace all.

The whitespace is supposed to replace the newline character entirely, but it seems the newline character is retained --- whatever is replacing \n got appended to each of the matching newline.

Metadata

Metadata

Assignees

Labels

editor-findEditor find operationsfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions