From d10e13f0edf3e21184d64fe9d115746df5666ba3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Feb 2026 12:44:46 +0000 Subject: [PATCH 1/2] Initial plan From 737aa4b8de311474619683062f88723f05708a15 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Feb 2026 12:46:18 +0000 Subject: [PATCH 2/2] Add Eclipse Checkstyle configuration for automatic pickup Co-authored-by: rbri <2544132+rbri@users.noreply.github.com> --- .checkstyle | 11 +++++++++++ .gitignore | 1 - README.md | 20 ++++++++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .checkstyle diff --git a/.checkstyle b/.checkstyle new file mode 100644 index 0000000..b095094 --- /dev/null +++ b/.checkstyle @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/.gitignore b/.gitignore index 76e5279..199fdfa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ /target/ -/.checkstyle /.classpath /.project /.settings/ diff --git a/README.md b/README.md index 60bfbaa..f85b3a1 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,26 @@ Open a command line window from the root folder of the project and call mvn compile ``` +### Eclipse IDE Setup + +To work with this project in Eclipse: + +1. Install the **Eclipse Checkstyle Plugin** from the Eclipse Marketplace (Help > Eclipse Marketplace) + - Search for "Checkstyle Plug-in" and install it + +2. Import the project as a Maven project: + - File > Import > Maven > Existing Maven Projects + - Select the repository root directory + - Click Finish + +3. The Checkstyle configuration will be automatically picked up from the `.checkstyle` file in the repository root + - The configuration uses `checkstyle.xml` and `checkstyle_suppressions.xml` from the project + - All Java files under `src/` will be checked automatically + +4. To verify Checkstyle is working: + - Right-click the project > Properties > Checkstyle + - You should see "HtmlUnit CSP Checkstyle" as the active configuration + ### Running the tests ```