diff --git a/.gitattributes b/.gitattributes
index 00a51af..9a335a8 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,6 +1,8 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
+* text=auto eol=lf
+
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..8e7429d
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,46 @@
+name: Build
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Fetch sources
+ uses: actions/checkout@v6
+
+ - name: Set up Java
+ uses: actions/setup-java@v5
+ with:
+ distribution: temurin
+ java-version: 21
+
+ - name: Set up Gradle
+ uses: gradle/actions/setup-gradle@v6
+
+ - name: Test and build
+ run: ./gradlew check buildPlugin
+
+ - name: Verify plugin compatibility
+ run: ./gradlew verifyPlugin
+
+ - name: Upload plugin distribution
+ uses: actions/upload-artifact@v7
+ with:
+ name: angular-cli-quick-switch
+ path: build/distributions/*.zip
+
+ - name: Upload verification reports
+ if: always()
+ uses: actions/upload-artifact@v7
+ with:
+ name: plugin-verifier-reports
+ path: build/reports/pluginVerifier
+ if-no-files-found: ignore
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..2bc55ca
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,35 @@
+name: Publish
+
+on:
+ workflow_dispatch:
+
+permissions:
+ contents: read
+
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ environment: marketplace
+ steps:
+ - name: Fetch sources
+ uses: actions/checkout@v6
+
+ - name: Set up Java
+ uses: actions/setup-java@v5
+ with:
+ distribution: temurin
+ java-version: 21
+
+ - name: Set up Gradle
+ uses: gradle/actions/setup-gradle@v6
+
+ - name: Test and verify
+ run: ./gradlew check verifyPlugin
+
+ - name: Sign and publish
+ run: ./gradlew publishPlugin
+ env:
+ CERTIFICATE_CHAIN: ${{ secrets.CERTIFICATE_CHAIN }}
+ PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
+ PRIVATE_KEY_PASSWORD: ${{ secrets.PRIVATE_KEY_PASSWORD }}
+ PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
diff --git a/.gitignore b/.gitignore
index 4ddb3dd..2c7d09a 100755
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
.idea/
.gradle/
+.intellijPlatform/
*.iws
*.iml
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..261eeb9
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/README.md b/README.md
index 32e9a14..9d715c2 100755
--- a/README.md
+++ b/README.md
@@ -1,36 +1,96 @@
-# angular-cli-quick-switch-plugin
+# Angular CLI QuickSwitch
-IntelliJ Plugin for switching amongst Angular CLI component files efficiently (e.g. ts -> html -> css) by just using one shortcut (**Alt+S**).
+Quickly switch between related component files in IntelliJ-based IDEs. Use one shortcut to cycle through a component, or jump directly to its controller, markup, style, or test files.
-For example let's say we have a structure like this
+Given these related files:
- foo/
- bar.info
- foo.component.css
- foo.component.html
- **foo.component.ts**
- foo.md
+```text
+foo/
+ foo.component.css
+ foo.component.html
+ foo.component.spec.ts
+ foo.component.ts
+```
-By pressing the assigned shortcut repeatedly, the IDE will cycle amongst the files as follows:
+Press **Alt+S** repeatedly to cycle through the enabled file types:
- foo.component.ts -> foo.component.html -> foo.component.css -> foo.component.ts -> ...
+```text
+foo.component.ts -> foo.component.html -> foo.component.css -> foo.component.ts
+```
+Test files are excluded from the main cycle by default. Press **Alt+T** to jump directly to `foo.component.spec.ts`, or enable test files in the plugin settings to include them in the main cycle.
-Whilst cycling, unknown filenames (like bar.info) and extensions (like foo.md) will be skipped on purpose.
+## Shortcuts
-Explicitly whitelisted extensions are:
-- js, ts
-- html, php, haml, jade, pug, slim
-- css, sass, scss, less, styl
+| Action | Default | Behavior |
+|---|---|---|
+| QuickSwitch | **Alt+S** | Cycles through all enabled related file types. |
+| QuickSwitch: Controllers | **Alt+X** | Jumps to and cycles between `.ts` and `.js`. |
+| QuickSwitch: Markup | **Alt+C** | Jumps to and cycles between supported markup files. |
+| QuickSwitch: Styles | **Alt+V** | Jumps to and cycles between supported style files. |
+| QuickSwitch: Tests | **Alt+T** | Jumps to and cycles between `.spec.ts` and `.spec.js`. |
-Note:
-For switching between your code and test/spec files, you can simply use the built in default shortcut from IntelliJ (**Ctrl+Shift+T**)
+All shortcuts can be changed under the IDE's **Settings | Keymap** page by searching for `QuickSwitch`.
+## Settings
+Open **Settings | Tools | Angular CLI QuickSwitch** to configure navigation behavior and the main cycle.
-Further information:
+### General
-If the default shortcut **Alt + S** does not fit your needs, you can of course easily adjust it in the keymap settings by replacing it for **QuickSwitch**.
+**Close the previous tab after switching** is disabled by default.
-Due to the nature of this plugin, it will of course also **work with other projects**, that have not been generated by Angular CLI - or are
-not even Angular projects at all - as long as your project structure follows similar patterns.
\ No newline at end of file
+When disabled, the previous file remains open. This provides the smoothest behavior and preserves tab order, pinned state, and editor splits.
+
+When enabled, QuickSwitch opens the target in the active editor group first and closes the source only after the target opens successfully. Opening first minimizes the tab collapse and flicker caused by the old close-first behavior.
+
+IntelliJ does not expose stable public APIs for transferring pinned state or closing only one occurrence of a file in a specific split. Consequently, close-on-switch mode can lose pinning and may close other occurrences of the source file in sibling editor groups.
+
+### Supported Extensions
+
+The settings page groups file types by purpose:
+
+| Group | File types | Main-cycle default |
+|---|---|---|
+| Controller | `.ts`, `.js` | Enabled |
+| Template | `.html`, `.php`, `.haml`, `.jade`, `.pug`, `.slim` | Enabled |
+| Style | `.css`, `.sass`, `.scss`, `.less`, `.styl` | Enabled |
+| Tests | `.spec.ts`, `.spec.js` | Disabled |
+
+**Alt+S** checks the groups in the listed order: Controller, Template, Style, then Tests. Each checkbox controls whether that file type participates in the main cycle, making workflows such as cycling directly between TypeScript and HTML possible by disabling the style types.
+
+The dedicated category shortcuts intentionally ignore these checkboxes. For example, **Alt+T** can always find a related test file even when tests are excluded from the main cycle.
+
+### Custom Extensions
+
+Each group supports one optional custom suffix, such as `.tsx` or `.module.scss`; enable its checkbox and enter a unique suffix starting with a dot. Enabled custom suffixes are appended to their group and used as targets by both the main cycle and dedicated category shortcut.
+
+## Compatibility
+
+Version 2.0 targets IntelliJ Platform build `242` and newer, corresponding to IntelliJ IDEA 2024.2 and compatible releases of WebStorm, PhpStorm, PyCharm, GoLand, Rider, CLion, Android Studio, and other standalone IntelliJ-based IDEs.
+
+The plugin is compiled with Java 21. End users do not need to install a separate JDK because supported IDEs provide the required runtime. Java 21 is required when building the plugin from source.
+
+Compatibility is checked with JetBrains Plugin Verifier against platform versions from 2024.2 through 2026.2.
+
+## Build Variants
+
+The shared codebase produces two mutually exclusive plugin variants:
+
+| Variant | Plugin name | Plugin ID |
+|---|---|---|
+| `angular` (default) | Angular CLI QuickSwitch | `patrick.kelleter.angular-cli-quick-switch` |
+| `file` | File QuickSwitch | `patrick.kelleter.file-quick-switch` |
+
+Build either variant with Java 21:
+
+```shell
+./gradlew buildPlugin -PpluginVariant=angular
+./gradlew buildPlugin -PpluginVariant=file
+```
+
+The ZIP files are written to `build/distributions` with variant-specific names. Both variants retain the same internal action and settings IDs so keymaps and preferences survive switching between them, but they cannot be installed simultaneously.
+
+## License
+
+Licensed under the [Apache License 2.0](LICENSE).
diff --git a/build.gradle b/build.gradle
deleted file mode 100644
index 18de48f..0000000
--- a/build.gradle
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * This file was generated by the Gradle 'init' task.
- *
- * This is a general purpose Gradle build.
- * Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds
- */
-
-plugins {
- id 'java'
- id 'idea'
- id 'org.jetbrains.intellij' version '0.4.21'
-}
-
-group 'patrick.kelleter'
-version '1.3.1'
-
-apply plugin: 'java'
-
-java {
- sourceCompatibility = JavaVersion.VERSION_11
-}
-
-repositories {
- mavenCentral()
-}
-
-dependencies {
- testCompileOnly 'junit:junit:4.12'
-}
-
-intellij {
- updateSinceUntilBuild false
-}
-patchPluginXml {
- changeNotes """
- - Added support for php, haml, jade, pug, slim, less, styl files. - Updated docs """
-}
-
-task wrapper(type: Wrapper) {
- gradleVersion = '6.5'
-}
diff --git a/build.gradle.kts b/build.gradle.kts
new file mode 100644
index 0000000..d72456c
--- /dev/null
+++ b/build.gradle.kts
@@ -0,0 +1,177 @@
+import org.apache.tools.ant.filters.ReplaceTokens
+import org.gradle.api.tasks.bundling.Zip
+import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
+import org.jetbrains.intellij.platform.gradle.TestFrameworkType
+import org.jetbrains.intellij.platform.gradle.tasks.ComposedJarTask
+import org.jetbrains.intellij.platform.gradle.tasks.PatchPluginXmlTask
+
+plugins {
+ java
+ id("org.jetbrains.intellij.platform") version "2.18.1"
+}
+
+data class PluginBranding(
+ val id: String,
+ val name: String,
+ val description: String,
+ val actionPrefix: String,
+ val controllerCategoryName: String,
+ val controllerActionName: String,
+ val controllerActionDescription: String,
+ val templateCategoryName: String,
+ val cycleActionDescription: String,
+ val incompatiblePluginId: String,
+ val archiveBaseName: String
+)
+
+val pluginVariantName = providers.gradleProperty("pluginVariant")
+ .orElse("angular")
+ .get()
+ .lowercase()
+val pluginBranding = when (pluginVariantName) {
+ "angular" -> PluginBranding(
+ id = "patrick.kelleter.angular-cli-quick-switch",
+ name = "Angular CLI QuickSwitch",
+ description = "Switch between related Angular component files with configurable shortcuts. Cycle through controllers, templates, styles, and tests, jump directly to a category, and add custom suffixes.",
+ actionPrefix = "QuickSwitch",
+ controllerCategoryName = "Controller",
+ controllerActionName = "Controllers",
+ controllerActionDescription = "Switches directly to and between related controller files",
+ templateCategoryName = "Template",
+ cycleActionDescription = "Quickly switches between Angular CLI files for one component, e.g. ts, html, css",
+ incompatiblePluginId = "patrick.kelleter.file-quick-switch",
+ archiveBaseName = "angular-cli-quick-switch"
+ )
+ "file" -> PluginBranding(
+ id = "patrick.kelleter.file-quick-switch",
+ name = "File QuickSwitch",
+ description = "Switch between related sibling files with configurable shortcuts. Cycle through scripts, markup, styles, and tests, jump directly to a category, and add custom suffixes.",
+ actionPrefix = "File QuickSwitch",
+ controllerCategoryName = "Scripts",
+ controllerActionName = "Scripts",
+ controllerActionDescription = "Switches directly to and between related script files",
+ templateCategoryName = "Markup",
+ cycleActionDescription = "Quickly switches between related files with the same base name, e.g. ts, html, css",
+ incompatiblePluginId = "patrick.kelleter.angular-cli-quick-switch",
+ archiveBaseName = "file-quick-switch"
+ )
+ else -> throw GradleException(
+ "Unknown pluginVariant '$pluginVariantName'. Supported variants are 'angular' and 'file'."
+ )
+}
+
+val brandingTokens = mapOf(
+ "PLUGIN_ID" to pluginBranding.id,
+ "PLUGIN_NAME" to pluginBranding.name,
+ "PLUGIN_DESCRIPTION" to pluginBranding.description,
+ "ACTION_PREFIX" to pluginBranding.actionPrefix,
+ "CONTROLLER_CATEGORY_NAME" to pluginBranding.controllerCategoryName,
+ "CONTROLLER_ACTION_NAME" to pluginBranding.controllerActionName,
+ "CONTROLLER_ACTION_DESCRIPTION" to pluginBranding.controllerActionDescription,
+ "TEMPLATE_CATEGORY_NAME" to pluginBranding.templateCategoryName,
+ "CYCLE_ACTION_DESCRIPTION" to pluginBranding.cycleActionDescription,
+ "INCOMPATIBLE_PLUGIN_ID" to pluginBranding.incompatiblePluginId
+)
+
+group = "patrick.kelleter"
+version = "2.0.0"
+
+base {
+ archivesName = pluginBranding.archiveBaseName
+}
+
+java {
+ toolchain {
+ languageVersion = JavaLanguageVersion.of(21)
+ }
+}
+
+repositories {
+ mavenCentral()
+ intellijPlatform {
+ defaultRepositories()
+ }
+}
+
+dependencies {
+ testImplementation("junit:junit:4.13.2")
+
+ intellijPlatform {
+ intellijIdeaCommunity("2024.2.6")
+ testFramework(TestFrameworkType.Platform)
+ }
+}
+
+tasks.withType().configureEach {
+ options.release = 21
+}
+
+val generatedPluginXml = layout.buildDirectory.file("generated/pluginXml/plugin.xml")
+val generatePluginXml = tasks.register("generatePluginXml") {
+ inputs.property("pluginVariant", pluginVariantName)
+ inputs.properties(brandingTokens)
+ from(layout.projectDirectory.file("src/main/plugin/plugin.xml"))
+ into(generatedPluginXml.map { it.asFile.parentFile })
+ filteringCharset = "UTF-8"
+ filter("tokens" to brandingTokens)
+}
+
+tasks.named("patchPluginXml") {
+ dependsOn(generatePluginXml)
+ inputFile = generatedPluginXml
+}
+
+tasks.processResources {
+ inputs.property("pluginVariant", pluginVariantName)
+ inputs.properties(brandingTokens)
+ filteringCharset = "UTF-8"
+ filter("tokens" to brandingTokens)
+}
+
+tasks.named("buildPlugin") {
+ archiveBaseName = pluginBranding.archiveBaseName
+}
+
+tasks.named("composedJar") {
+ archiveBaseName = pluginBranding.archiveBaseName
+}
+
+tasks.check {
+ dependsOn(tasks.named("verifyPluginProjectConfiguration"))
+}
+
+intellijPlatform {
+ buildSearchableOptions = true
+
+ pluginConfiguration {
+ id = pluginBranding.id
+ name = pluginBranding.name
+ description = pluginBranding.description
+ changeNotes = """
+
+
Updated for IntelliJ Platform 2024.2 and newer.
+
Added a settings page with optional previous-tab closing.
+
Added grouped file-type controls and optional spec.ts/spec.js test cycling.
+
Added one validated custom file suffix per category.
+
Added dedicated shortcuts for tests, ${pluginBranding.controllerActionName.lowercase()}, styles, and markup.
+
Fixed switching in editor splits and removed tab-closing side effects by default.
+
Improved support for virtual files and modern IntelliJ action APIs.