Skip to content

Enable "find in selection" by default when replace executed against a multi-line selection #17560

Closed
@frostius

Description

@frostius

When doing a replace (in current file) and there is a selection that spans lines, the "find in selection" ought to be enabled by default.

  1. I believe this is standard behavior in most other programmer's editors (visual studio, intellij, textpad++)
  2. Ignoring the current context (multiple line selection) when doing a search makes no sense - why else would the use have made the selection then pressed replace?
  3. For me at least, its pretty rare that I want to do a global search/replace. This is certainly the least likely use case

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)editor-findEditor find operationsfeature-requestRequest for new features or functionalityuxUser experience issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions