Skip to content

Ctrl-Shift-Left/Right selection in POM.xml does not stop at punctuation marks or camel casing #9664

Open

Description

@dca00

Apache NetBeans version

Apache NetBeans 31

What happened

In POM.xml, the word selection selects the entire element's name or value.

Language / Project Type / NetBeans Component

Java Maven

How to reproduce

Create a Java Maven project.
Open the POM.xml for editing.
Pick an element with punctuation or camel-cased.
Use the key combinations to select text.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Linux

JDK

21

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Activity

  1. added
    kind:bugBug report or fix
    needs:triageRequires attention from one of the committers
    on Oct 4, 2026
  2. neilcsmith-net commented on Oct 5, 2026

    @neilcsmith-net
    Member

    Yes, this feature is on a language by language basis, and not implemented for XML. It will use the default movement by word using whitespace. There's an HTML implementation that might form the basis for an XML one??

  3. added
    Contribution welcomeAn issue or feature not currently being worked on, but a contribution would be welcomed!
    and removed
    kind:bugBug report or fix
    needs:triageRequires attention from one of the committers
    on Oct 5, 2026
  4. added
    Maven[ci] enable "build tools" tests
    on Oct 6, 2026
  5. mvanhorn commented on Oct 12, 2026

    @mvanhorn

    xmlIdentifierAcceptor now accepts only characters for which Character.isJavaIdentifierPart is true, which keeps letters, digits, and underscore in the word and excludes punctuation.

    #9706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Contribution welcomeAn issue or feature not currently being worked on, but a contribution would be welcomed!Maven[ci] enable "build tools" testsXMLkind:featureA feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions