From c1ab93f8cc92bf4f2c6310925d437701938edf25 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sun, 14 Sep 2025 23:50:01 +0200 Subject: [PATCH 1/3] Improve README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a2a278f..671485f 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ -Run `docker run -v $PWD:/github/workspace ghcr.io/leventebajczi/intellij-format:latest "*.java,*.kts,*.kt" "" "./"` to format the current working directtory's java, kts and kt files according to the stylesheet. +# IntelliJ IDEA Foramt +Run `docker run -v $PWD:/github/workspace ghcr.io/leventebajczi/intellij-format:latest "*.java,*.kts,*.kt" "" "./"` to format the current working directory's java, kts, and kt files according to the stylesheet. To use as an action: -``` +```yaml - name: Reformat uses: leventeBajczi/intellij-idea-format@v1.0 with: @@ -18,4 +19,3 @@ To use as an action: branch: "code-reformat" title: '[AutoPR] Reformatted code' ``` - From 4c5ac502626e26036e3871ef3de264f0e8f5b080 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sun, 14 Sep 2025 23:53:59 +0200 Subject: [PATCH 2/3] Update IDEA --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42894ec..dfce76c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,8 @@ RUN \ && rm -rf /var/lib/apt/lists/* \ && useradd -ms /bin/bash developer -ARG IDEA_VERSION=2024.2 -ARG IDEA_BUILD=2024.2.1 +ARG IDEA_VERSION=2025.2 +ARG IDEA_BUILD=2025.2.1 ARG idea_local_dir=.IdeaIC${IDEA_VERSION} WORKDIR /opt/idea From de64985715e78325f0ff788b9e8d39ac6f4afd74 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Mon, 15 Sep 2025 00:03:23 +0200 Subject: [PATCH 3/3] More quiet --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dfce76c..404e9a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM debian RUN \ - apt-get update && apt-get install --no-install-recommends -y \ + apt-get update -qq && apt-get install -qq --no-install-recommends -y \ default-jdk gcc git openssh-client less curl \ libxtst-dev libxext-dev libxrender-dev libfreetype6-dev \ libfontconfig1 libgtk2.0-0 libxslt1.1 libxxf86vm1 \