[PR #1281] [MERGED] Add debug and run button for snippet tests #994

Closed
opened 2025-12-30 01:28:10 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/1281
Author: @bioball
Created: 10/31/2025
Status: Merged
Merged: 10/31/2025
Merged by: @bioball

Base: mainHead: internal-intellij-plugin-run-button


📝 Commits (1)

  • 792f18d Add debug and run button for snippet tests

📊 Changes

5 files changed (+347 additions, -58 deletions)

View changed files

📝 pkl-internal-intellij-plugin/pkl-internal-intellij-plugin.gradle.kts (+8 -1)
📝 pkl-internal-intellij-plugin/src/main/kotlin/org/pkl/internal/intellij/SnippetTestEditorProvider.kt (+4 -39)
📝 pkl-internal-intellij-plugin/src/main/kotlin/org/pkl/internal/intellij/SnippetTestSplitEditor.kt (+282 -17)
pkl-internal-intellij-plugin/src/main/kotlin/org/pkl/internal/intellij/util.kt (+50 -0)
📝 pkl-internal-intellij-plugin/src/main/resources/META-INF/plugin.xml (+3 -1)

📄 Description

This adds a couple buttons for running/debugging snippet tests!

Buttons:

  1. Run current snippet
  2. Debug current snippet
  3. Run all snippets
  4. Overwrite current snippet

Preview:

Screenshot 2025-10-31 at 10 31 00 AM

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/apple/pkl/pull/1281 **Author:** [@bioball](https://github.com/bioball) **Created:** 10/31/2025 **Status:** ✅ Merged **Merged:** 10/31/2025 **Merged by:** [@bioball](https://github.com/bioball) **Base:** `main` ← **Head:** `internal-intellij-plugin-run-button` --- ### 📝 Commits (1) - [`792f18d`](https://github.com/apple/pkl/commit/792f18d05f7278a19c4b0d59a9362b0c121d9a6f) Add debug and run button for snippet tests ### 📊 Changes **5 files changed** (+347 additions, -58 deletions) <details> <summary>View changed files</summary> 📝 `pkl-internal-intellij-plugin/pkl-internal-intellij-plugin.gradle.kts` (+8 -1) 📝 `pkl-internal-intellij-plugin/src/main/kotlin/org/pkl/internal/intellij/SnippetTestEditorProvider.kt` (+4 -39) 📝 `pkl-internal-intellij-plugin/src/main/kotlin/org/pkl/internal/intellij/SnippetTestSplitEditor.kt` (+282 -17) ➕ `pkl-internal-intellij-plugin/src/main/kotlin/org/pkl/internal/intellij/util.kt` (+50 -0) 📝 `pkl-internal-intellij-plugin/src/main/resources/META-INF/plugin.xml` (+3 -1) </details> ### 📄 Description This adds a couple buttons for running/debugging snippet tests! Buttons: 1. Run current snippet 2. Debug current snippet 3. Run all snippets 4. Overwrite current snippet Preview: <img width="903" height="645" alt="Screenshot 2025-10-31 at 10 31 00 AM" src="https://github.com/user-attachments/assets/db0f98fe-4837-460b-92c1-50b681514adc" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 01:28:10 +01:00
adam closed this issue 2025-12-30 01:28:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#994