Skip to content

Conversation

@Flanker32
Copy link
Member

What does this implement/fix? Explain your changes.

Does this close any currently open issues?

Any relevant logs, screenshots, error output, etc.?

Any other comments?

Has this been tested?

  • Tested

Copy link

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 the Azure Toolkit for IntelliJ to support IntelliJ IDEA 2025.3 EAP. The update involves upgrading the IntelliJ Platform version from 252 (2025.2) to 253 (2025.3), along with corresponding changes to build dependencies and Java version requirements.

Key changes:

  • Updated IntelliJ Platform version to 253-EAP-SNAPSHOT (2025.3) with Java 21 requirement
  • Upgraded Gradle (8.8 → 8.14.1), Kotlin (2.1.0 → 2.2.20), and various plugin dependencies
  • Adapted API changes including removal of deprecated setWindowSize method and replacement of namedChildScope with childScope

Reviewed Changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
gradle-wrapper.properties Updated Gradle wrapper to version 8.14.1
libs.versions.toml Upgraded Kotlin, changelog, intellijPlatform, and springDependencyManagement plugin versions
gradle.properties Updated IntelliJ version to 253-EAP-SNAPSHOT and Java version to 21
build.gradle.kts Updated Java toolchain to version 21, removed instrumentCode configuration, and added conditional instrumentCode task
ResourceGroupCreationDialog.java/.form Added GUI Designer generated code and label binding
ServicePlanCreationDialog.java/.form Added GUI Designer generated code and label bindings
AppServiceInfoBasicPanel.java/.form Added GUI Designer generated code
azure-intellij-plugin-lib/build.gradle.kts Added jackson-dataformat-yaml dependency
azure-intellij-plugin-guidance/build.gradle.kts Added jackson-dataformat-yaml dependency
SparkBatchJobProcessAdapter.kt Removed deprecated setWindowSize method override
SparkLivySessionProcess.kt Removed deprecated setWindowSize method override
AzureCloudTerminalRunner.kt Replaced namedChildScope API with childScope
azure-intellij-plugin-hdinsight-lib/build.gradle.kts Commented out intellijIdeaUltimate dependency declaration
azure-intellij-plugin-cosmos/build.gradle.kts Commented out intellijIdeaUltimate dependency declaration
azure-intellij-plugin-appservice/build.gradle.kts Added instrumentCode task configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

intellijPlatform = "2.3.0"
kotlin = "2.2.20"
changelog = "2.4.0"
#intellijPlatform = "2.10.1"
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

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

Duplicate assignment of intellijPlatform version with one commented out. Remove the commented line to eliminate redundancy.

Suggested change
#intellijPlatform = "2.10.1"

Copilot uses AI. Check for mistakes.
intellijPlatform {
buildSearchableOptions = false
instrumentCode = true
// instrumentCode = true
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

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

Commented-out code should be removed rather than left in the codebase. If this configuration is no longer needed, delete the comment.

Suggested change
// instrumentCode = true

Copilot uses AI. Check for mistakes.
projectName = "azure-toolkit-for-intellij"
buildSearchableOptions = false
instrumentCode = true

Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

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

Removed configuration 'instrumentCode = true' appears to be intentional based on the new conditional task configuration added earlier. However, this creates inconsistency as the same setting is removed here but conditionally enabled in the tasks block. Consider documenting why this global setting was removed.

Suggested change
// Note: The global 'instrumentCode = true' configuration was intentionally removed.
// Instead, 'instrumentCode' is now conditionally enabled in the tasks block above.
// This allows for more granular control over which tasks have code instrumentation enabled,
// and avoids instrumenting code globally when not needed.

Copilot uses AI. Check for mistakes.
Comment on lines +78 to +83
{
// GUI initializer generated by IntelliJ IDEA GUI Designer
// >>> IMPORTANT!! <<<
// DO NOT EDIT OR ADD ANY CODE HERE!
$$$setupUI$$$();
}
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

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

The instance initializer block calling $$$setupUI$$$() is auto-generated UI code. While this is standard for IntelliJ's GUI Designer, ensure that any manual UI initialization in the constructor doesn't conflict with this auto-generated code.

Copilot uses AI. Check for mistakes.
import javax.swing.text.StyleContext;
import java.awt.*;
import java.util.*;
import java.util.List;
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

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

Redundant import of java.util.List when java.util.* is already imported on line 38. Remove this specific import.

Suggested change
import java.util.List;

Copilot uses AI. Check for mistakes.
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.

1 participant