Skip to content

Commit

Permalink
Update version with old Gradle plugin
Browse files Browse the repository at this point in the history
- Although Gradle 2.x plugin does work now, the GitHub actions for testing and publish need to be reworked. Therefore, we use the older Gradle plugin for pushing this update.
  • Loading branch information
halirutan committed Apr 10, 2024
1 parent 9b864de commit 3290713
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 32 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## [Unreleased]

### Fixed

- Add support for JetBrains IDEs 2024.1
- Update description

## [2023.3.0] - 2023-11-12

### Added
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ intellij {
version.set(properties("platformVersion"))
type.set(properties("platformType"))
updateSinceUntilBuild.set(true)
downloadSources = true
}

changelog {
Expand Down
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
pluginGroup=de.halirutan.keypromoterx
pluginName=Key-Promoter-X
pluginName=Key Promoter X
pluginRepositoryUrl=https://github.com/halirutan/IntelliJ-Key-Promoter-X
pluginVersion=2023.3.0
pluginVersion=2024.1
pluginSinceBuild=223
pluginUntilBuild=233.*
pluginUntilBuild=241.*
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
# See https://jb.gg/intellij-platform-builds-list for available build versions
pluginVerifierIdeVersions=IC-231.8109.2, IC-232.8660.185
pluginVerifierIdeVersions=IC-231.8109.2, IC-232.8660.185, IC-241.14494.240
platformType=IC
platformVersion=2022.3.1
gradleVersion=8.4
platformVersion=2023.3.6
gradleVersion=8.7
# suppress inspection "WrongPropertyKeyValueDelimiter"
# suppress inspection "UnusedProperty"
--add-exports java.base/jdk.internal.vm=ALL-UNNAMED
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ annotations = "24.0.1"
# plugins
kotlin = "1.9.10"
changelog = "2.2.0"
gradleIntelliJPlugin = "1.16.0"
gradleIntelliJPlugin = "1.17.3"
qodana = "0.1.13"
kover = "0.7.3"

Expand Down
28 changes: 6 additions & 22 deletions resources/META-INF/description.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,22 @@
<html>
The Key Promoter X helps you to learn essential shortcuts while you are working.
When you use the mouse on a button inside the IDE, the Key Promoter X shows you the keyboard shortcut that you
should have used instead. This provides an easy way to learn how
should have used instead.<br/>
This provides an easy way to learn how
to replace tedious mouse work with keyboard keys and helps to transition to a faster, mouse free development.
The Key Promoter X tool window shows you a hit-list of the mouse actions you use the most and directly provides you
with the shortcut you can use instead. For buttons that don't have a shortcut, the Key Promoter X prompts you with
the possibility to directly create one.
<br/>
<br/>
<strong>Sponsors</strong>
<br/>
<br/>
<a href="https://sponsorlink.codestream.com/?utm_source=jbmarket&amp;utm_campaign=keypromoterx&amp;utm_medium=banner"
title="Try CodeStream">
<strong>CodeStream</strong>:
</a>

Request and perform code reviews from inside your IDE.
Review any code, even if it's a work-in-progress that hasn't been committed yet, and use jump-to-definition,
your favorite keybindings, and other IDE tools.
<a href="https://sponsorlink.codestream.com/?utm_source=jbmarket&amp;utm_campaign=keypromoterx&amp;utm_medium=banner"
title="Try CodeStream">You
can try it for free!</a>
<br/>
<br/>
I'd also like to give a big thanks to all GitHub sponsors.
I dearly appreciate all the support for the project.
If Key Promoter X helps you save time and money, consider supporting me by becoming
<strong><a href="https://github.com/sponsors/halirutan">a sponsor of my work</a></strong>.
Sponsors allow me to dedicate time to the plugin and keep it running on all the JetBrains IDEs you love.
<br/>
<br/>
<hr>
<a href="https://github.com/sponsors/halirutan">Become a GitHub Sponsor</a> |
<a href="https://plugins.jetbrains.com/plugin/9792-key-promoter-x/sponsors">Marketplace</a> |
<a href="https://github.com/halirutan/IntelliJ-Key-Promoter-X">Repository</a> |
<a href="https://plugins.jetbrains.com/slack">#key-promoter-x on Slack</a> |
<a href="https://www.linkedin.com/in/halirutan/">LinkedIn</a> |
<a href="https://www.twitch.tv/halirutan">Twitch</a>

</html>
4 changes: 2 additions & 2 deletions resources/messages/KeyPromoterBundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
kp.notification.startup=Woohoo, new version! Sponsor now and be the first to experience the bug-squashing magic! Also, leave a rating on the JetBrains website or star the repository on GitHub.
kp.notification.startup=Sponsor now: Your support helps to dedicate more time to new releases and bug fixes!
kp.dialog.reset.statistic.text=Do you really want to reset your Key Promoter X statistics? This cannot be undone!
kp.dialog.reset.statistic.title=Reset Statistics
kp.dialog.tip=<html><body><center>Command <u><b>{0}</b></u> missed {1} time(s)</center><center>Press <b>{2}</b> to close the dialog</center></body></html>
Expand All @@ -21,7 +21,7 @@ kp.notification.ask.new.shortcut=Want to create a shortcut for {0}?
kp.notification.disable.message=Suppress Alert for this Shortcut
kp.notification.edit.shortcut=Edit Keybinding
kp.notification.group=Key Promoter X
kp.notification.startup.link=https://plugins.jetbrains.com/plugin/9792-key-promoter-x/sponsors
kp.notification.startup.link=https://github.com/sponsors/halirutan
kp.notification.startup.link.name=Become a Sponsor
kp.notification.tip.title={0}
kp.notification.tip.message=Shortcut {0} missed {1}
Expand Down
3 changes: 2 additions & 1 deletion src/de/halirutan/keypromoterx/KeyPromoterNotification.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public static void showStartupNotification() {
"kp.notification.group"),
KeyPromoterBundle.message("kp.notification.startup"),
NotificationType.INFORMATION)
.setImportant(false)
.setImportant(true)
.setImportantSuggestion(true)
.setIcon(KeyPromoterIcons.KP_ICON)
.addAction(new BrowseNotificationAction(
KeyPromoterBundle.message("kp.notification.startup.link.name"),
Expand Down

0 comments on commit 3290713

Please sign in to comment.