Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<grid id="27dc6" binding="contentPanel" layout-manager="GridLayoutManager" row-count="6" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<xy x="20" y="20" width="417" height="180"/>
<xy x="20" y="20" width="417" height="204"/>
</constraints>
<properties/>
<border type="none"/>
Expand Down Expand Up @@ -43,10 +43,11 @@
<text value="Platform:"/>
</properties>
</component>
<component id="a4196" class="com.microsoft.azure.toolkit.intellij.legacy.appservice.platform.RuntimeComboBox" binding="selectorRuntime">
<component id="a4196" class="com.microsoft.azure.toolkit.intellij.legacy.appservice.platform.RuntimeComboBox" binding="selectorRuntime" custom-create="true">
<constraints>
<grid row="2" column="1" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="8" fill="1" indent="0" use-parent-layout="true"/>
</constraints>
<properties/>
</component>
<component id="3e67" class="com.intellij.ui.TitledSeparator" binding="deploymentTitle">
<constraints>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public RuntimeComboBox getSelectorRuntime() {
private void createUIComponents() {
// TODO: place custom component creation code here
this.selectorApplication = new AzureArtifactComboBox(project, true);
this.selectorRuntime = new RuntimeComboBox();
}

public void setDeploymentVisible(boolean visible) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ dependencies {
bundledPlugin("org.jetbrains.plugins.terminal")
}
}

tasks {
instrumentCode {
instrumentationLogs = true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,19 @@
<text value="Name:"/>
</properties>
</component>
<component id="c8aa9" class="com.microsoft.azure.toolkit.intellij.common.AzureTextInput" binding="textName">
<component id="c8aa9" class="com.microsoft.azure.toolkit.intellij.common.AzureTextInput" binding="textName" custom-create="true">
<constraints>
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<required value="true"/>
</properties>
</component>
<component id="75e4b" class="com.microsoft.azure.toolkit.intellij.legacy.appservice.serviceplan.PricingTierComboBox" binding="comboBoxPricingTier">
<component id="75e4b" class="com.microsoft.azure.toolkit.intellij.legacy.appservice.serviceplan.PricingTierComboBox" binding="comboBoxPricingTier" custom-create="true">
<constraints>
<grid row="2" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
</component>
<component id="a504e" class="com.intellij.ui.components.JBLabel" binding="labelDescription">
<constraints>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,9 @@ public List<AzureFormInput<?>> getInputs() {
return Collections.singletonList(this.textName);
}

private void createUIComponents() {
// TODO: place custom component creation code here
this.textName = new AzureTextInput();
this.comboBoxPricingTier = new PricingTierComboBox();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package com.microsoft.azure.toolkit.intellij.cloudshell.terminal
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.project.Project
import com.intellij.openapi.util.Disposer
import com.intellij.platform.util.coroutines.namedChildScope
import com.intellij.platform.util.coroutines.childScope
import com.jediterm.terminal.TtyConnector
import com.microsoft.azure.toolkit.intellij.cloudshell.CloudShellService
import com.microsoft.azure.toolkit.intellij.cloudshell.controlchannel.CloudConsoleControlChannelClient
Expand Down Expand Up @@ -56,7 +56,7 @@ class AzureCloudTerminalRunner(
cloudConsoleBaseUrl,
project
)
controlClient.connect(scope.namedChildScope("CloudConsoleControlChannelClient"))
controlClient.connect(scope.childScope("CloudConsoleControlChannelClient"))

val connector = createConnector(process)
Disposer.register(connector, controlClient)
Expand All @@ -70,7 +70,7 @@ class AzureCloudTerminalRunner(
private fun createConnector(process: CloudTerminalProcess) = AzureCloudProcessTtyConnector(
process,
project,
scope.namedChildScope("AzureCloudProcessTtyConnector"),
scope.childScope("AzureCloudProcessTtyConnector"),
uploadFileToTerminalUrl,
previewPortBaseUrl,
resizeTerminalUrl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies {
implementation("com.microsoft.azure:azure-toolkit-identity-lib")

intellijPlatform {
intellijIdeaUltimate(properties("platformVersion").get())
// intellijIdeaUltimate(properties("platformVersion").get())
// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
bundledPlugin("com.intellij.java")
bundledPlugin("com.intellij.database")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ dependencies {
// runtimeOnly project(path: ":azure-intellij-resource-connector-lib", configuration: "instrumentedJar")
implementation("com.microsoft.azure:azure-toolkit-ide-common-lib")
implementation("org.yaml:snakeyaml:2.2")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.2") {
exclude(group = "com.fasterxml.jackson", module = "jackson-bom")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies {
implementation("com.microsoft.hdinsight:azure-toolkit-ide-hdinsight-spark-lib")

intellijPlatform {
intellijIdeaUltimate(properties("platformVersion").get())
// intellijIdeaUltimate(properties("platformVersion").get())
// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
bundledPlugin("com.intellij.java")
plugin("org.intellij.scala:2024.2.5")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ class SparkLivySessionProcess(
return 0
}

override fun setWindowSize(columns: Int, rows: Int) {

}

override fun getInputStream(): InputStream = stdOutStream

fun start(): Observable<Session> = session.deploy()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,4 @@ class SparkBatchJobProcessAdapter(val sparkJobProcess: SparkBatchJobRemoteProces
override fun killProcessTree(): Boolean {
return sparkJobProcess.killProcessTree()
}

override fun setWindowSize(columns: Int, rows: Int) {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ dependencies {
exclude(group="pull-parser", module="pull-parser")
exclude(group="net.java.dev.msv", module="xsdlib")
}
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.2") {
exclude(group = "com.fasterxml.jackson", module = "jackson-bom")
}
intellijPlatform {
// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
bundledPlugin("org.jetbrains.plugins.terminal")
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<text value="Name:"/>
</properties>
</component>
<component id="c8aa9" class="com.microsoft.azure.toolkit.intellij.common.component.resourcegroup.ResourceGroupNameTextField" binding="textName">
<component id="c8aa9" class="com.microsoft.azure.toolkit.intellij.common.component.resourcegroup.ResourceGroupNameTextField" binding="textName" custom-create="true">
<constraints>
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,9 @@ public void setValue(final ResourceGroupDraft data) {
public List<AzureFormInput<?>> getInputs() {
return Collections.singletonList(this.textName);
}

private void createUIComponents() {
// TODO: place custom component creation code here
this.textName = new ResourceGroupNameTextField();
}
}
30 changes: 14 additions & 16 deletions PluginsAndFeatures/azure-toolkit-for-intellij/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ allprojects {

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
languageVersion = JavaLanguageVersion.of(21)
}
}

kotlin {
jvmToolchain(17)
jvmToolchain(21)
}

repositories {
Expand All @@ -55,26 +55,21 @@ allprojects {

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.
}

dependencies {
intellijPlatform {
intellijIdeaUltimate(properties("platformVersion").get())
// run from a local idea installation
// local(File("C:\\Program Files\\JetBrains\\IntelliJ IDEA 242.16677.21"));
instrumentationTools()
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-jetbrains-runtime.html#declared-explicitly
// jetbrainsRuntime()
intellijIdeaUltimate(properties("platformVersion").get(), useInstaller = false)
}

implementation(platform("com.microsoft.azure:azure-toolkit-libs:0.52.2"))
implementation(platform("com.microsoft.azure:azure-toolkit-ide-libs:0.52.2"))
implementation(platform("com.microsoft.hdinsight:azure-toolkit-ide-hdinsight-libs:0.1.1"))

compileOnly("org.projectlombok:lombok:1.18.24")
compileOnly("org.projectlombok:lombok:1.18.32")
compileOnly("org.jetbrains:annotations:24.0.0")
annotationProcessor("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.32")
implementation("com.microsoft.azure:azure-toolkit-common-lib:0.52.2")
aspect("com.microsoft.azure:azure-toolkit-common-lib:0.52.2")
}
Expand All @@ -91,21 +86,25 @@ allprojects {
implementation { exclude(module = "xsdlib") }
}

tasks.configureEach {
if (name == "instrumentCode") {
enabled = file("src/main/java").exists()
}
}

tasks {

compileJava {
sourceCompatibility = "17"
targetCompatibility = "17"
sourceCompatibility = "21"
targetCompatibility = "21"
}

compileKotlin {
kotlinOptions.jvmTarget = "17"
configure<AjcAction> {
enabled = false
}
}
compileTestKotlin {
kotlinOptions.jvmTarget = "17"
configure<AjcAction> {
enabled = false
}
Expand Down Expand Up @@ -134,7 +133,6 @@ allprojects {
intellijPlatform {
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.
pluginConfiguration {
id = properties("pluginId").get()
Expand Down
16 changes: 8 additions & 8 deletions PluginsAndFeatures/azure-toolkit-for-intellij/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
pluginVersion=3.96.2
intellijDisplayVersion=2025.2
intellij_version=252-EAP-SNAPSHOT
platformVersion=252.23309.22
intellijDisplayVersion=2025.3
intellij_version=253-EAP-SNAPSHOT
platformVersion=253-EAP-SNAPSHOT
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild=252
pluginUntilBuild=252.*
pluginSinceBuild=253
pluginUntilBuild=253.*
# Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP
platformPlugins=org.intellij.scala:2025.2.9
platformPlugins=org.intellij.scala:2025.3.12
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
platformType=IU
needPatchVersion=true
javaVersion=17
javaVersion=21
applicationinsights.key=57cc111a-36a8-44b3-b044-25d293b8b77c
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
pluginGroup=com.microsoft.azuretools
Expand All @@ -22,7 +22,7 @@ platformDownloadSources=true
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
kotlin.stdlib.default.dependency=false
# Gradle Releases -> https://github.com/gradle/gradle/releases
gradleVersion=8.8
gradleVersion=8.14.1
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=warn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
# libraries

# plugins
kotlin = "2.1.0"
changelog = "2.2.0"
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 = "2.10.1"
detekt = "1.23.6"
ktlint = "12.1.1"
#gradleIntelliJPlugin = "1.17.3"
#qodana = "2024.1.5"
aspectj = "8.6"
springDependencyManagement = "1.0.11.RELEASE"
springDependencyManagement = "1.1.6"
serialization = "1.9.24"

[plugins]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<artifact.name>${project.artifactId}-${project.version}.jar</artifact.name>
<hdinsight.htmlcopy.enabled>true</hdinsight.htmlcopy.enabled>
<project.build.encoding>UTF-8</project.build.encoding>
<scala.version>2.12.10</scala.version>
<scala.version>2.12.18</scala.version>
<spark.version>3.4.0</spark.version>
<checkstyle.skip>true</checkstyle.skip>
</properties>
Expand Down Expand Up @@ -108,7 +108,7 @@
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>4.8.0</version>
<version>4.8.1</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -147,7 +147,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<version>3.13.0</version>
<executions>
<!-- Replacing default-testCompile as it is treated specially by maven -->
<execution>
Expand Down
6 changes: 6 additions & 0 deletions Utils/azure-toolkit-ide-hdinsight-libs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<woodstox.version>6.4.0</woodstox.version>
<hadoop.version>3.4.0</hadoop.version>
<snappyjava.version>1.1.10.4</snappyjava.version>
<lombok.version>1.18.36</lombok.version>
</properties>
<modules>
<module>azuretools-core</module>
Expand Down Expand Up @@ -59,6 +60,11 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>com.microsoft.hdinsight</groupId>
<artifactId>hdinsight-node-common</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<artifact.name>${project.artifactId}-${project.version}.jar</artifact.name>
<hdinsight.htmlcopy.enabled>false</hdinsight.htmlcopy.enabled>
<project.build.encoding>UTF-8</project.build.encoding>
<scala.version>2.12.10</scala.version>
<scala.version>2.12.18</scala.version>
<spark.version>3.4.0</spark.version>
<checkstyle.skip>true</checkstyle.skip>
</properties>
Expand Down
Loading