diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 0000000..bd9f9fb
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,63 @@
+name: Bug report
+description: Create a report to help us improve
+labels: ["bug"]
+body:
+
+ - type: textarea
+ id: issue
+ attributes:
+ label: What happened?
+ description: A clear and concise description of what the bug is.
+ validations:
+ required: true
+
+ - type: textarea
+ id: logs
+ attributes:
+ label: Relevant log output or stack trace
+ description: |
+ Please copy and paste any relevant log output.
+ Add the full stack trace if available.
+ If possible, run the failing task with `--stacktrace` flag.
+
+ *This will be automatically formatted into code, so there is no need for backticks.*
+ render: shell
+
+ - type: textarea
+ id: steps
+ attributes:
+ label: Steps to reproduce
+ description: Steps to reproduce the behavior – provide your build configuration.
+ validations:
+ required: true
+
+ - type: input
+ id: version
+ attributes:
+ label: Gradle IntelliJ Plugin version
+ placeholder: 1.16.0
+ validations:
+ required: true
+
+ - type: input
+ id: gradle
+ attributes:
+ label: Gradle version
+ placeholder: 8.2.1
+ validations:
+ required: true
+
+ - type: dropdown
+ id: os
+ attributes:
+ label: Operating System
+ options:
+ - macOS
+ - Linux
+ - Windows
+
+ - type: input
+ id: url
+ attributes:
+ label: Link to build, i.e. failing GitHub Action job
+ placeholder: https://github.com/username/project/actions/runs/1234567890
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000..58278e9
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,8 @@
+blank_issues_enabled: true
+contact_links:
+ - name: Documentation
+ url: https://github.com/JetBrains/intellij-platform-plugin-template
+ about: Check the README file in the first place.
+ - name: Getting Help
+ url: https://plugins.jetbrains.com/docs/intellij/getting-help.html
+ about: Check if you search for a help in plugin development.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644
index 0000000..9c13061
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,32 @@
+name: Feature request
+description: Suggest an idea for this project
+labels: ["enhancement"]
+body:
+
+ - type: textarea
+ id: cause
+ attributes:
+ label: Describe the need of your request
+ description: A clear and concise description of what the need or problem is.
+ validations:
+ required: true
+
+ - type: textarea
+ id: solution
+ attributes:
+ label: Proposed solution
+ description: A clear and concise description of what you want to happen.
+ validations:
+ required: true
+
+ - type: textarea
+ id: alternatives
+ attributes:
+ label: Alternatives you've considered
+ description: What did you try so far to accomplish the goal?
+
+ - type: textarea
+ id: context
+ attributes:
+ label: Additional context
+ description: Add any other context or screenshots about the feature request here.
diff --git a/.github/readme/draft-release.png b/.github/readme/draft-release.png
new file mode 100644
index 0000000..2dc00c1
Binary files /dev/null and b/.github/readme/draft-release.png differ
diff --git a/.github/readme/get-from-version-control.png b/.github/readme/get-from-version-control.png
new file mode 100644
index 0000000..86ebfda
Binary files /dev/null and b/.github/readme/get-from-version-control.png differ
diff --git a/.github/readme/intellij-platform-plugin-template-dark.svg b/.github/readme/intellij-platform-plugin-template-dark.svg
new file mode 100644
index 0000000..e0bd869
--- /dev/null
+++ b/.github/readme/intellij-platform-plugin-template-dark.svg
@@ -0,0 +1,52 @@
+
diff --git a/.github/readme/intellij-platform-plugin-template-light.svg b/.github/readme/intellij-platform-plugin-template-light.svg
new file mode 100644
index 0000000..becd633
--- /dev/null
+++ b/.github/readme/intellij-platform-plugin-template-light.svg
@@ -0,0 +1,52 @@
+
diff --git a/.github/readme/intellij-platform-plugin-template.png b/.github/readme/intellij-platform-plugin-template.png
new file mode 100644
index 0000000..435804b
Binary files /dev/null and b/.github/readme/intellij-platform-plugin-template.png differ
diff --git a/.github/readme/project-structure-sdk.png b/.github/readme/project-structure-sdk.png
new file mode 100644
index 0000000..f403ef1
Binary files /dev/null and b/.github/readme/project-structure-sdk.png differ
diff --git a/.github/readme/qodana.png b/.github/readme/qodana.png
new file mode 100644
index 0000000..bf7775e
Binary files /dev/null and b/.github/readme/qodana.png differ
diff --git a/.github/readme/run-debug-configurations.png b/.github/readme/run-debug-configurations.png
new file mode 100644
index 0000000..cdd585a
Binary files /dev/null and b/.github/readme/run-debug-configurations.png differ
diff --git a/.github/readme/run-logs.png b/.github/readme/run-logs.png
new file mode 100644
index 0000000..b06c38d
Binary files /dev/null and b/.github/readme/run-logs.png differ
diff --git a/.github/readme/settings-secrets.png b/.github/readme/settings-secrets.png
new file mode 100644
index 0000000..be41ac8
Binary files /dev/null and b/.github/readme/settings-secrets.png differ
diff --git a/.github/readme/ui-testing.png b/.github/readme/ui-testing.png
new file mode 100644
index 0000000..204828a
Binary files /dev/null and b/.github/readme/ui-testing.png differ
diff --git a/.github/readme/use-this-template.png b/.github/readme/use-this-template.png
new file mode 100644
index 0000000..6887d03
Binary files /dev/null and b/.github/readme/use-this-template.png differ
diff --git a/.github/template-cleanup/settings.gradle b/.github/template-cleanup/settings.gradle.kts
similarity index 75%
rename from .github/template-cleanup/settings.gradle
rename to .github/template-cleanup/settings.gradle.kts
index 7210fab..06653a4 100644
--- a/.github/template-cleanup/settings.gradle
+++ b/.github/template-cleanup/settings.gradle.kts
@@ -2,4 +2,4 @@ plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
-rootProject.name = "%NAME%"
\ No newline at end of file
+rootProject.name = "%NAME%"
diff --git a/.github/workflows/template-cleanup.yml b/.github/workflows/template-cleanup.yml
index abb6134..189c3a2 100644
--- a/.github/workflows/template-cleanup.yml
+++ b/.github/workflows/template-cleanup.yml
@@ -45,11 +45,15 @@ jobs:
find src -type f -exec sed -i "s/JetBrains/$ACTOR/g" {} +
# Move content
- mkdir -p src/main/kotlin/${GROUP//.//}
- mkdir -p src/test/kotlin/${GROUP//.//}
- cp -R .github/template-cleanup/. .
- cp -R src/main/kotlin/org/jetbrains/plugins/template/* src/main/kotlin/${GROUP//.//}/
- cp -R src/test/kotlin/org/jetbrains/plugins/template/* src/test/kotlin/${GROUP//.//}/
+ if [ -d "src/main/kotlin/org/jetbrains/plugins/template" ]; then
+ mkdir -p src/main/kotlin/${GROUP//.//}
+ mkdir -p src/test/kotlin/${GROUP//.//}
+ cp -R .github/template-cleanup/. .
+ cp -R src/main/kotlin/org/jetbrains/plugins/template/* src/main/kotlin/${GROUP//.//}/
+ cp -R src/test/kotlin/org/jetbrains/plugins/template/* src/test/kotlin/${GROUP//.//}/
+ else
+ echo "Source directory does not exist. Skipping file copy."
+ fi
# Cleanup
rm -rf \
diff --git a/.gitignore b/.gitignore
index e2e5d94..ffabde6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
.gradle
.idea
+.intellijPlatform
.qodana
build