Skip to content

[Feature]: Enable search functionality for CodeMirror editor #37978

@cpAdm

Description

@cpAdm

🚀 Feature Request

Pressing Ctrl + F should open search bar.

In the following places CodeMirror is used. I don't think we want this search functionality for the locator editors:

  • Inspector tab: Locator

    Image
  • Inspector tab: Aria snapshot

    Image
  • Source tab: source

    Image
  • Network tab: request body

    Image
  • Network tab: response body

    Image
  • Attachments tab: attachment

    Image
  • Codegen: test code

    Image
  • Codegen: Locator

    Image
  • Codegen: Aria snapshot

    Image

Example

See: https://codemirror.net/5/demo/search.html
Image

Motivation

When inspecting large files, it's handy to be able to search within.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions