Skip to content

Replacing setTextValue → setText, setDescriptionValue → setDescription#16

Merged
VISTALL merged 1 commit into
consulo:masterfrom
unv-unv:eliminating-set-text-value
Apr 8, 2026
Merged

Replacing setTextValue → setText, setDescriptionValue → setDescription#16
VISTALL merged 1 commit into
consulo:masterfrom
unv-unv:eliminating-set-text-value

Conversation

@unv-unv
Copy link
Copy Markdown
Contributor

@unv-unv unv-unv commented Apr 6, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Gradle-related actions to use the newer Presentation APIs (setText/setDescription) instead of the deprecated setTextValue/setDescriptionValue, and aligns icons with PlatformIconGroup where applicable.

Changes:

  • Replace setTextValuesetText and setDescriptionValuesetDescription in action template presentations.
  • Migrate action icons from AllIcons to PlatformIconGroup for the affected actions.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
plugin/src/main/java/org/jetbrains/plugins/gradle/codeInsight/actions/AddGradleDslPluginAction.java Updates template presentation text/description setters and switches icon to PlatformIconGroup.nodesPlugin().
plugin/src/main/java/org/jetbrains/plugins/gradle/action/GradleOpenScriptAction.java Updates template presentation text/description setters to the new API.
maven-impl/src/main/java/org/jetbrains/plugins/gradle/integrations/maven/action/AddGradleDslDependencyAction.java Updates template presentation text/description setters and switches icon to PlatformIconGroup.nodesPplib().

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@VISTALL VISTALL merged commit 0af68d6 into consulo:master Apr 8, 2026
5 checks passed
@unv-unv unv-unv deleted the eliminating-set-text-value branch April 8, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants