From 405194ef34a87f2923a3abc33d04001539537d10 Mon Sep 17 00:00:00 2001
From: ddc <34492089+ddc@users.noreply.github.com>
Date: Wed, 18 Mar 2026 10:30:27 -0300
Subject: [PATCH 1/5] v1.0.0
---
build.sh | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
index 81134af..01f8553 100755
--- a/build.sh
+++ b/build.sh
@@ -26,6 +26,12 @@ WHATS_NEW=$(cat <<'EOF'
EOF
)
# ============================================================================
+RUN_VERIFY=false
+for arg in "$@"; do
+ case "$arg" in
+ -v|--verify) RUN_VERIFY=true ;;
+ esac
+done
pushd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null
export JAVA_HOME
# ============================================================================
@@ -88,6 +94,7 @@ verify_plugin() {
build_plugin() {
log_action "Building plugin..."
+ rm -f "build/${OUTPUT_FILENAME}"
./gradlew buildPlugin -q
}
@@ -107,7 +114,7 @@ cleanup_build() {
write_gradle_properties
update_changelog
format_kotlin
-verify_plugin
+[[ "$RUN_VERIFY" == true ]] && verify_plugin
build_plugin
cleanup_build
From 69f6b6800c4fd9d3864bc98caf1fad625526bd95 Mon Sep 17 00:00:00 2001
From: ddc <34492089+ddc@users.noreply.github.com>
Date: Wed, 18 Mar 2026 10:48:35 -0300
Subject: [PATCH 2/5] v1.0.0
---
README.md | 51 +++++++++++++++++++++++++++++++++++----------------
build.sh | 2 ++
2 files changed, 37 insertions(+), 16 deletions(-)
diff --git a/README.md b/README.md
index 5b3e824..f8e9f89 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,7 @@
+
@@ -22,33 +23,35 @@
📦 Install from JetBrains Marketplace 📦
-
# Table of Contents
- [Screenshot](#screenshot)
- [Features](#features)
- [Installation](#installation)
+ - [From Marketplace](#from-marketplace)
+ - [From Plugin ZIP](#from-plugin-zip)
+- [Getting Started](#getting-started)
- [Settings](#settings)
- [Build](#build)
- [License](#license)
- [Support](#support)
-
# Screenshot
-
# Features
-- LINUX ONLY (macOS already has native traffic lights; Windows support planned for a future release)
-- macOS-style traffic light buttons (red/yellow/green)
-- Four button states: active, hover (with action icons), pressed, and inactive (gray)
-- Configurable button placement (left or right side of the title bar)
-- Compatible with all JetBrains IDEs (2025.3.3+)
-
+| Feature | Description |
+|-----------------------|---------------------------------------------------------------------------------|
+| Traffic Light Buttons | macOS-style colored circles (red/yellow/green) replacing default window buttons |
+| Button States | Four states: active, hover (with action icons), pressed, and inactive (gray) |
+| Button Placement | Configurable left or right side of the title bar |
+| Button Order | IDE Default or macOS Style order (right placement only) |
+| Platform | Linux only (macOS already has native traffic lights; Windows support planned) |
+| Compatibility | All JetBrains IDEs (2025.3.3+) |
# Installation
@@ -58,13 +61,24 @@
2. Search for **Traffic Light Buttons**
3. Click **Install** and restart the IDE
-
## From Plugin ZIP
-1. Download the latest `TrafficLightButtons-*.zip` from [Releases](https://github.com/ddc/JetbrainsTrafficLightButtons/releases)
+1. Download the latest
+ `TrafficLightButtons-*.zip` from [Releases](https://github.com/ddc/JetbrainsTrafficLightButtons/releases)
2. Go to **Settings > Plugins > Install Plugin from Disk...**
3. Select the downloaded `.zip` file and restart the IDE
+# Getting Started
+
+After install and restart, the traffic light buttons are applied automatically with the default settings (right placement, IDE default order).
+To customize, go to:
+
+| Setting | How to change |
+|----------------------|-----------------------------------------------------------------------------------------------|
+| **Button Placement** | **Settings > Appearance & Behavior > Traffic Light Buttons** > select LEFT/RIGHT |
+| **Button Order** | **Settings > Appearance & Behavior > Traffic Light Buttons** > select IDE Default/macOS Style |
+
+> **Note:** Changes require an IDE restart to take effect. A restart dialog will appear after applying.
# Settings
@@ -72,21 +86,26 @@
- **Button Placement** — Left or Right (default: Right)
- **Button Order** — IDE Default or macOS Style (only available for Right placement)
- - **IDE Default**: Minimize, Maximize, Close
- - **macOS Style**: Maximize, Minimize, Close
-
+ - **IDE Default**: Minimize, Maximize, Close
+ - **macOS Style**: Maximize, Minimize, Close
# Build
+Requires JDK 21.
+
```bash
-./build.sh
+./build.sh # build only
+./build.sh [-v|--verify] # build with plugin verification
```
+The script formats Kotlin sources (if `ktlint` is available) and builds `TrafficLightButtons-.zip` inside the
+`build/` directory.
+Plugin settings and variables are configured at the top of `build.sh`.
+
# License
This project is licensed under the [Apache 2.0 License](LICENSE).
-
# Support
If you find this project helpful, consider supporting development.
diff --git a/build.sh b/build.sh
index 01f8553..e6d2c64 100755
--- a/build.sh
+++ b/build.sh
@@ -3,6 +3,8 @@
# Automated script to build the plugin and register changes on the changelog file
# DDC Softwares (daniel@ddcsoftwares.com)
# https://github.com/ddc/JetbrainsTrafficLightButtons
+# Usage: ./build.sh [-v|--verify]
+# -v, --verify Run plugin verification before building
# ============================================================================
set -euo pipefail
From eb4b11ccf3fa865ea3bf1ff79a9778063e2c387f Mon Sep 17 00:00:00 2001
From: ddc <34492089+ddc@users.noreply.github.com>
Date: Wed, 18 Mar 2026 11:03:37 -0300
Subject: [PATCH 3/5] v1.0.0
---
src/main/resources/META-INF/plugin.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml
index a3802ba..d727297 100644
--- a/src/main/resources/META-INF/plugin.xml
+++ b/src/main/resources/META-INF/plugin.xml
@@ -15,7 +15,7 @@
Hover icons (X, minus, fullscreen arrows)
Configurable button placement (left or right)
-
+
Settings
Settings > Appearance & Behavior > Traffic Light Buttons
]]>
From 404aecd666c425b1bbfebbeed076496e9f5d2d9b Mon Sep 17 00:00:00 2001
From: ddc <34492089+ddc@users.noreply.github.com>
Date: Wed, 18 Mar 2026 11:09:35 -0300
Subject: [PATCH 4/5] v1.0.1
---
CHANGELOG.md | 5 +++++
build.sh | 2 +-
gradle.properties | 2 +-
src/main/resources/META-INF/plugin.xml | 1 +
4 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5df3298..98e2208 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog
+## v1.0.1
+- Traffic light buttons (red/yellow/green)
+- Configurable button placement (left or right)
+
+
## v1.0.0
- Traffic light buttons (red/yellow/green)
- Configurable button placement (left or right)
diff --git a/build.sh b/build.sh
index e6d2c64..56bd5ee 100755
--- a/build.sh
+++ b/build.sh
@@ -11,7 +11,7 @@ set -euo pipefail
# ============================================================================
# Variables
# ============================================================================
-PLUGIN_VERSION="1.0.0"
+PLUGIN_VERSION="1.0.1"
GRADLE_VERSION="9.4.0"
KOTLIN_VERSION="2.1.0"
INTELLIJ_PLATFORM_VERSION="2.12.0"
diff --git a/gradle.properties b/gradle.properties
index b5f1c2b..0d61687 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,5 +1,5 @@
pluginName = Traffic Light Buttons
-pluginVersion = 1.0.0
+pluginVersion = 1.0.1
pluginSinceBuild = 253
platformVersion = 2025.3.3
pluginGroup = com.ddc.trafficlightbuttons
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml
index d727297..00e426f 100644
--- a/src/main/resources/META-INF/plugin.xml
+++ b/src/main/resources/META-INF/plugin.xml
@@ -14,6 +14,7 @@
macOS-style traffic light buttons (red/yellow/green)
Hover icons (X, minus, fullscreen arrows)
Configurable button placement (left or right)
+ Windows support planned
Settings
From 3cc43dcfb08109f7968a76b90052a4d64ff06d2e Mon Sep 17 00:00:00 2001
From: ddc <34492089+ddc@users.noreply.github.com>
Date: Wed, 18 Mar 2026 11:21:36 -0300
Subject: [PATCH 5/5] v1.0.1
---
CHANGELOG.md | 5 +----
build.sh | 3 +--
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 98e2208..c7947ee 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,11 +1,8 @@
# Changelog
## v1.0.1
-- Traffic light buttons (red/yellow/green)
-- Configurable button placement (left or right)
-
+- Fixed documentation and build script
## v1.0.0
- Traffic light buttons (red/yellow/green)
- Configurable button placement (left or right)
-
diff --git a/build.sh b/build.sh
index 56bd5ee..72559ec 100755
--- a/build.sh
+++ b/build.sh
@@ -22,8 +22,7 @@ OUTPUT_FILENAME="TrafficLightButtons-${PLUGIN_VERSION}.zip"
# ============================================================================
WHATS_NEW=$(cat <<'EOF'
-- Traffic light buttons (red/yellow/green)
-- Configurable button placement (left or right)
+- Fixed documentation and build script
EOF
)