Skip to content

Extend Checkstyle GUI tool to work with Xpath #4944

@MEZk

Description

@MEZk

The original idea is taken from @timurt's proposal.

1

AST container, source code container and XPATH container are all bound together. For example if you select ast nodes, source code lines containing appropriate elements will be highlighted. Also xpath query will be automatically generated. We can think about opportunity for “and”ing / “or”ing ast nodes via SHIFT/CTRL buttons, also we can add additional buttons for xpath query generator.

2

3

Another situation, if we write query and press “Run xpath” button, ast nodes will be selected and source code elements will be selected.

4

Some ideas on how to make it and implement it could be taken from https://pmd.github.io/latest/pmd_userdocs_extending_designer_reference.html


Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedhas bountyissue has some money incentive to fix it, https://www.bountysource.com/teams/checkstyle/issuesmiscellaneous

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions