Skip to content

Ctrl+F (Find) does not work in *.xjb files #9008

@nmatt

Description

@nmatt

Apache NetBeans version

Apache NetBeans 28

What happened

In *.xjb files, Ctrl+F (Find) does not work (does nothing). In the Edit menu, many operations are grayed out (see screenshot below), although Ctrl+X/C/V and Ctrl+H do work, but Ctrl+F does not work.

Image

Language / Project Type / NetBeans Component

Editor, JAXB

How to reproduce

Create and open an empty (or non-empty) file with extension ".xjb". Editing it as a text file largely works, and it has XML highlighting and code completion, but Edit menu entries are unexpectedly grayed out, and Ctrl+F does nothing, different from the behavior of other XML files.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows

JDK

21

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

Ctrl+H can be used as a workaround to use the Find functionality in the Replace dialog.

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions