diff --git a/.azure-pipelines/build-pull-request.yml b/.azure-pipelines/build-pull-request.yml index fa2257d0d45..885dddbc684 100644 --- a/.azure-pipelines/build-pull-request.yml +++ b/.azure-pipelines/build-pull-request.yml @@ -109,6 +109,12 @@ extends: inputs: type: InlineScript script: ./gradlew buildUtils -x buildToolkitsLib || exit -1 + - task: JavaToolInstaller@0 + displayName: Use Java 25 for IntelliJ + inputs: + versionSpec: "25" + jdkArchitectureOption: x64 + jdkSourceOption: PreInstalled - task: ms-devlabs.utilitytasks.task-Shellpp.Shellpp@0 displayName: Build IntelliJ inputs: diff --git a/.azure-pipelines/sign-for-stable-release.yml b/.azure-pipelines/sign-for-stable-release.yml index 7ea9e095ad7..ab1b673b241 100644 --- a/.azure-pipelines/sign-for-stable-release.yml +++ b/.azure-pipelines/sign-for-stable-release.yml @@ -90,23 +90,22 @@ extends: clean: true fetchTags: false - task: PowerShell@2 - displayName: Install JDK 21 + displayName: Install JDK 25 inputs: targetType: inline script: | - # Download Adoptium/Temurin JDK 21.0.8 - Write-Host "Downloading Java 21.0.8..." - $source = "https://download.oracle.com/java/21/archive/jdk-21.0.2_windows-x64_bin.zip" - $destination = "$(build.sourcesdirectory)\jdk21_x64_windows.zip" + Write-Host "Downloading Java 25.0.2..." + $source = "https://download.oracle.com/java/25/archive/jdk-25.0.2_windows-x64_bin.zip" + $destination = "$(build.sourcesdirectory)\jdk25_x64_windows.zip" Invoke-WebRequest -Uri $source -OutFile $destination - task: JavaToolInstaller@0 - displayName: 'Use Java 21' + displayName: 'Use Java 25' inputs: - versionSpec: 21 + versionSpec: 25 jdkArchitectureOption: x64 jdkSourceOption: LocalDirectory - jdkFile: '$(build.sourcesdirectory)\jdk21_x64_windows.zip' - jdkDestinationDirectory: '$(agent.toolsDirectory)/jdk21' + jdkFile: '$(build.sourcesdirectory)\jdk25_x64_windows.zip' + jdkDestinationDirectory: '$(agent.toolsDirectory)/jdk25' - task: UseNode@1 inputs: version: "22.x" @@ -131,7 +130,7 @@ extends: mvn -v # ./gradlew buildUtils || exit -1 mvn clean install -f ./Utils/pom.xml -T 1C "-Dcheckstyle.skip=true" "-Dmaven.test.skip=true" "-Dmaven.javadoc.skip=true" - mvn clean -f ./Utils/pom.xml + if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } cd PluginsAndFeatures/azure-toolkit-for-intellij ./gradlew clean buildPlugin -s "-Papplicationinsights.key=$(INTELLIJ_KEY)" "-PneedPatchVersion=false" "-Psources=false" "-Porg.gradle.configureondemand=false" "-Porg.gradle.daemon=false" "-Porg.gradle.unsafe.configuration-cache=false" "-Porg.gradle.caching=false" env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 067ebe4b0e9..df50a47b1eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,136 +2,20 @@ All notable changes to "Azure Toolkit for IntelliJ IDEA" will be documented in this file. -- [Change Log](#change-log) - - [3.97.7](#3977) - - [3.97.6](#3976) - - [3.97.5](#3975) - - [3.97.4](#3974) - - [3.97.3](#3973) - - [3.97.2](#3972) - - [3.97.1](#3971) - - [3.97.0](#3970) - - [3.96.2](#3962) - - [3.96.1](#3961) - - [3.95.0](#3950) - - [3.94.0](#3940) - - [3.93.0](#3930) - - [3.92.0](#3920) - - [3.91.0](#3910) - - [3.90.0](#3900) - - [3.89.0](#3890) - - [3.88.0](#3880) - - [3.87.0](#3870) - - [3.86.0](#3860) - - [3.85.0](#3850) - - [3.84.0](#3840) - - [3.83.0](#3830) - - [3.82.0](#3820) - - [3.81.0](#3810) - - [3.80.0](#3800) - - [3.79.1](#3791) - - [3.79.0](#3790) - - [3.78.1](#3781) - - [3.78.0](#3780) - - [3.77.0](#3770) - - [3.76.0](#3760) - - [3.75.0](#3750) - - [3.74.0](#3740) - - [3.73.0](#3730) - - [3.72.0](#3720) - - [3.71.0](#3710) - - [3.70.0](#3700) - - [3.69.0](#3690) - - [3.68.1](#3681) - - [3.68.0](#3680) - - [3.67.0](#3670) - - [3.66.0](#3660) - - [3.65.0](#3650) - - [3.64.0](#3640) - - [3.63.0](#3630) - - [3.62.0](#3620) - - [3.61.1](#3611) - - [3.61.0](#3610) - - [3.60.2](#3602) - - [3.60.1](#3601) - - [3.60.0](#3600) - - [3.59.0](#3590) - - [3.58.0](#3580) - - [3.57.1](#3571) - - [3.57.0](#3570) - - [3.56.0](#3560) - - [3.55.0](#3550) - - [3.54.0](#3540) - - [3.53.0](#3530) - - [3.52.0](#3520) - - [3.51.0](#3510) - - [3.50.0](#3500) - - [3.49.0](#3490) - - [3.48.0](#3480) - - [3.47.0](#3470) - - [3.46.0](#3460) - - [3.45.1](#3451) - - [3.45.0](#3450) - - [3.44.0](#3440) - - [3.43.0](#3430) - - [3.42.0](#3420) - - [3.41.1](#3411) - - [3.41.0](#3410) - - [3.40.0](#3400) - - [3.39.0](#3390) - - [3.38.0](#3380) - - [3.37.0](#3370) - - [3.36.0](#3360) - - [3.35.0](#3350) - - [3.34.0](#3340) - - [3.33.1](#3331) - - [3.33.0](#3330) - - [3.32.0](#3320) - - [3.31.0](#3310) - - [3.30.0](#3300) - - [3.29.0](#3290) - - [3.28.0](#3280) - - [3.27.0](#3270) - - [3.26.0](#3260) - - [3.25.0](#3250) - - [3.24.0](#3240) - - [3.23.0](#3230) - - [3.22.0](#3220) - - [3.21.1](#3211) - - [3.21.0](#3210) - - [3.20.0](#3200) - - [3.19.0](#3190) - - [3.18.0](#3180) - - [3.17.0](#3170) - - [3.16.0](#3160) - - [3.15.0](#3150) - - [3.14.0](#3140) - - [3.13.0](#3130) - - [3.12.0](#3120) - - [3.11.0](#3110) - - [3.10.0](#3100) - - [3.9.0](#390) - - [3.8.0](#380) - - [3.7.0](#370) - - [3.6.0](#360) - - [3.5.0](#350) - - [3.4.0](#340) - - [3.3.0](#330) - - [3.2.0](#320) - - [3.1.0](#310) - - [3.0.12](#3012) - - [3.0.11](#3011) - - [3.0.10](#3010) - - [3.0.9](#309) - - [3.0.8](#308) - - [3.0.7](#307) - - [3.0.6](#306) +## [Unreleased] ## 3.97.7 ### Fixed +- Migrate IntelliJ Platform integrations to APIs supported by IntelliJ IDEA 2026.2 +- Preserve proxy, run configuration, Project Explorer, Cosmos DB SSL, and refresh behavior during the migration +- Preserve file chooser guidance, button accessibility metadata, and plugin lifecycle cleanup +- Fix registry key conflict for Cosmos DB dbtools module - Fixed appmod plugin: Copilot modernization branding, CVE fix actions with custom agent support, and context menu hover issue. ## 3.97.6 +### Added +- Added support for IntelliJ IDEA 2026.2. + ### Fixed - Fixed several UI freeze issues caused by non-cancellable read actions in Azure task manager, Azure artifact resolution, Maven report generation, and background JDK version checks. diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice-java/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/action/RunFunctionAction.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice-java/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/action/RunFunctionAction.java index 2f4bc627f1e..d68387a8ed4 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice-java/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/action/RunFunctionAction.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice-java/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/action/RunFunctionAction.java @@ -71,7 +71,9 @@ private void runConfiguration(Module module) { } if (RunDialog.editConfiguration(project, settings, message("function.run.configuration.title"), DefaultRunExecutor.getRunExecutorInstance())) { final List tasks = new ArrayList<>(manager.getBeforeRunTasks(settings.getConfiguration())); - manager.addConfiguration(settings, false, tasks, false); + settings.storeInLocalWorkspace(); + manager.setBeforeRunTasks(settings.getConfiguration(), tasks); + manager.addConfiguration(settings); manager.setSelectedConfiguration(settings); ProgramRunnerUtil.executeConfiguration(project, settings, DefaultRunExecutor.getRunExecutorInstance()); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice-java/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/runner/core/IntellijGradleFunctionProject.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice-java/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/runner/core/IntellijGradleFunctionProject.java index aaebb230b14..3319314cb9b 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice-java/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/runner/core/IntellijGradleFunctionProject.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice-java/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/function/runner/core/IntellijGradleFunctionProject.java @@ -6,7 +6,7 @@ import com.intellij.openapi.externalSystem.model.project.ExternalProjectPojo; import com.intellij.openapi.externalSystem.model.task.ExternalSystemTaskId; -import com.intellij.openapi.externalSystem.model.task.ExternalSystemTaskNotificationListenerAdapter; +import com.intellij.openapi.externalSystem.model.task.ExternalSystemTaskNotificationListener; import com.intellij.openapi.externalSystem.model.task.ExternalSystemTaskType; import com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil; import com.intellij.openapi.module.Module; @@ -92,7 +92,8 @@ public void packageJar() { final GradleExecutionSettings settings = manager.getExecutionSettingsProvider().fun(Pair.create(workspace, externalProject.getProjectDir().toString())); final IAzureMessager messager = AzureMessager.getMessager(); gradleTaskManager.executeTasks(externalSystemTaskId, List.of("jar"), - externalProject.getProjectDir().toString(), settings, null, new ExternalSystemTaskNotificationListenerAdapter() { + externalProject.getProjectDir().toString(), settings, null, new ExternalSystemTaskNotificationListener() { + @Override public void onTaskOutput(ExternalSystemTaskId id, String text, boolean stdOut) { if (StringUtils.isNotBlank(text)) { for (String line : text.split("\\r?\\n")) { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/appservice/task/TriggerFunctionTask.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/appservice/task/TriggerFunctionTask.java index a953024e31d..05c1c6d00e6 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/appservice/task/TriggerFunctionTask.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/appservice/task/TriggerFunctionTask.java @@ -1,9 +1,10 @@ package com.microsoft.azure.toolkit.intellij.appservice.task; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.actionSystem.DataContext; -import com.intellij.openapi.actionSystem.EmptyAction; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.project.Project; import com.intellij.util.PlatformUtils; import com.microsoft.azure.toolkit.ide.appservice.function.FunctionAppActionsContributor; @@ -49,7 +50,7 @@ public void execute() throws Exception { final Action.Id action = PlatformUtils.isIdeaUltimate() ? FunctionAppActionsContributor.TRIGGER_FUNCTION_WITH_HTTP_CLIENT : FunctionAppActionsContributor.TRIGGER_FUNCTION_IN_BROWSER; final DataContext context = dataId -> CommonDataKeys.PROJECT.getName().equals(dataId) ? project : null; - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), null, "azure.guidance.summary", context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "azure.guidance.summary", ActionUiKind.NONE, null); IntellijAzureActionManager.getInstance().getAction(action).handle(target, event); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/appservice/AppServiceStreamingLogManager.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/appservice/AppServiceStreamingLogManager.java index 699f0bc757f..8f99c648bb2 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/appservice/AppServiceStreamingLogManager.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/appservice/AppServiceStreamingLogManager.java @@ -118,7 +118,7 @@ private void showAppServiceStreamingLog(Project project, String resourceId, ILog private StreamingLogsConsoleView getOrCreateConsoleView(Project project, String resourceId) { return consoleViewMap.compute(resourceId, - (id, view) -> (view == null || view.isDisposed()) ? new StreamingLogsConsoleView(project) : view); + (id, view) -> (view == null || view.isConsoleDisposed()) ? new StreamingLogsConsoleView(project) : view); } interface ILogStreaming { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/lib/legacy/function/FunctionCoreToolsCombobox.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/lib/legacy/function/FunctionCoreToolsCombobox.java index 7c57888e9f4..5aa2a1e72c8 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/lib/legacy/function/FunctionCoreToolsCombobox.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/src/main/java/com/microsoft/azure/toolkit/lib/legacy/function/FunctionCoreToolsCombobox.java @@ -9,7 +9,9 @@ import com.intellij.ide.DataManager; import com.intellij.ide.util.PropertiesComponent; import com.intellij.openapi.actionSystem.ActionPlaces; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.fileChooser.FileChooser; import com.intellij.openapi.fileChooser.FileChooserDescriptor; import com.intellij.openapi.keymap.KeymapUtil; @@ -107,7 +109,7 @@ public FunctionCoreToolsCombobox(Project project, boolean includeSettings) { private void openAzureSettingsPanel() { final Action openSettingsAction = AzureActionManager.getInstance().getAction(ResourceCommonActionsContributor.OPEN_AZURE_SETTINGS); - final AnActionEvent event = AnActionEvent.createFromInputEvent(null, ActionPlaces.UNKNOWN, null, DataManager.getInstance().getDataContext(FunctionCoreToolsCombobox.this)); + final AnActionEvent event = AnActionEvent.createEvent(DataManager.getInstance().getDataContext(FunctionCoreToolsCombobox.this), new Presentation(), ActionPlaces.UNKNOWN, ActionUiKind.NONE, null); final ActionInstance instance = openSettingsAction.instantiate(null, event); instance.perform(); // Open Azure Settings Panel sync } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-azuremcp/build.gradle.kts b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-azuremcp/build.gradle.kts index 7bae8a25618..c2ed363bc9b 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-azuremcp/build.gradle.kts +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-azuremcp/build.gradle.kts @@ -3,8 +3,9 @@ dependencies { implementation(project(":azure-intellij-plugin-lib-java")) implementation("com.microsoft.azure:azure-toolkit-common-lib") implementation("com.microsoft.azure:azure-toolkit-ide-common-lib") - testImplementation("org.junit.jupiter:junit-jupiter:5.8.1") - testImplementation("org.mockito:mockito-core:3.9.0") + testImplementation("org.junit.jupiter:junit-jupiter:5.12.2") + testRuntimeOnly("org.junit.platform:junit-platform-launcher") + testImplementation("org.mockito:mockito-core:5.23.0") intellijPlatform { // Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins. diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-base/src/main/resources/META-INF/plugin.xml b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-base/src/main/resources/META-INF/plugin.xml index 428fb92d15f..fa164a46431 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-base/src/main/resources/META-INF/plugin.xml +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-base/src/main/resources/META-INF/plugin.xml @@ -18,6 +18,14 @@

Azure

+

3.97.7

+
    +
  • Migrate IntelliJ Platform integrations to APIs supported by IntelliJ IDEA 2026.2
  • +
  • Preserve proxy, run configuration, Project Explorer, Cosmos DB SSL, and refresh behavior during the migration
  • +
  • Preserve file chooser guidance, button accessibility metadata, and plugin lifecycle cleanup
  • +
  • Fix registry key conflict for Cosmos DB dbtools module
  • +
  • Fixed appmod plugin: Copilot modernization branding, CVE fix actions with custom agent support, and context menu hover issue.
  • +

You may get the full change log here

]]> @@ -27,6 +35,7 @@ com.microsoft.intellij.ui.messages.messages com.intellij.modules.java + com.intellij.modules.jcef org.jetbrains.idea.maven com.intellij.gradle diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/com/microsoft/azure/toolkit/intellij/bicep/activities/BicepStartupActivity.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/com/microsoft/azure/toolkit/intellij/bicep/activities/BicepStartupActivity.java index 9afd26418c3..b00a2ff6cda 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/com/microsoft/azure/toolkit/intellij/bicep/activities/BicepStartupActivity.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/com/microsoft/azure/toolkit/intellij/bicep/activities/BicepStartupActivity.java @@ -23,9 +23,6 @@ import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.SystemUtils; -import org.jetbrains.plugins.textmate.configuration.BundleConfigBean; -import org.jetbrains.plugins.textmate.configuration.TextMateSettings; -import org.jetbrains.plugins.textmate.configuration.TextMateSettings.TextMateSettingsState; import org.jetbrains.plugins.textmate.configuration.TextMateUserBundlesSettings; import org.wso2.lsp4intellij.IntellijLanguageClient; import org.wso2.lsp4intellij.client.languageserver.serverdefinition.ProcessBuilderServerDefinition; @@ -33,9 +30,6 @@ import javax.annotation.Nonnull; import java.io.File; import java.nio.file.Path; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Objects; import java.util.Optional; @Slf4j @@ -93,16 +87,10 @@ public static synchronized void registerBicepTextMateBundle() { @AzureOperation("boundary/bicep.unregister_textmate_bundles") public static synchronized void unregisterBicepTextMateBundle() { - final TextMateSettingsState state = TextMateSettings.getInstance().getState(); - if (Objects.nonNull(state)) { - final Path bicepParamTextmatePath = Path.of(CommonConst.PLUGIN_PATH, "bicep", "textmate", "bicepparam"); - final Collection bundles = state.getBundles(); - if (bundles.stream().anyMatch(b -> "bicep".equals(b.getName()))) { - final ArrayList newBundles = new ArrayList<>(bundles); - newBundles.removeIf(bundle -> StringUtils.equalsAnyIgnoreCase(bundle.getName(), "bicep", "bicepparam")); - state.setBundles(newBundles); - } - } + final Path bicepTextmatePath = Path.of(CommonConst.PLUGIN_PATH, "bicep", "textmate", "bicep"); + final Path bicepParamTextmatePath = Path.of(CommonConst.PLUGIN_PATH, "bicep", "textmate", "bicepparam"); + TextMateUserBundlesSettings.getInstance().removeBundle(bicepTextmatePath.toString()); + TextMateUserBundlesSettings.getInstance().removeBundle(bicepParamTextmatePath.toString()); } @Override diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/client/DefaultLanguageClient.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/client/DefaultLanguageClient.java index 76280ff883b..e656142fdb7 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/client/DefaultLanguageClient.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/client/DefaultLanguageClient.java @@ -200,7 +200,7 @@ public CompletableFuture showMessageRequest(ShowMessageReques } else { - final Notification notification = STICKY_NOTIFICATION_GROUP.createNotification(title, null, message, getNotificationType(msgType)); + final Notification notification = STICKY_NOTIFICATION_GROUP.createNotification(title, message, getNotificationType(msgType)); final CompletableFuture integerCompletableFuture = new CompletableFuture<>(); for (int i = 0, optionsSize = options.length; i < optionsSize; i++) { final int finalI = i; diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/listeners/LSPProjectManagerListener.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/listeners/LSPProjectManagerListener.java index 4b4a6fdcdaf..774c52ebf3e 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/listeners/LSPProjectManagerListener.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/listeners/LSPProjectManagerListener.java @@ -19,7 +19,6 @@ import com.intellij.openapi.project.Project; import com.intellij.openapi.project.ProjectManagerListener; import org.jetbrains.annotations.NotNull; -import org.jetbrains.annotations.Nullable; import org.wso2.lsp4intellij.IntellijLanguageClient; import org.wso2.lsp4intellij.client.languageserver.wrapper.LanguageServerWrapper; import org.wso2.lsp4intellij.utils.FileUtils; @@ -30,10 +29,7 @@ public class LSPProjectManagerListener implements ProjectManagerListener { private static final Logger LOG = Logger.getInstance(LSPProjectManagerListener.class); - @Override - public void projectOpened(@Nullable final Project project) { - // Todo - } + // Removed deprecated projectOpened method - replaced with ProjectActivity if needed @Override public void projectClosing(@NotNull Project project) { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/requests/HoverHandler.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/requests/HoverHandler.java index bc97a7461fd..b813ac47be4 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/requests/HoverHandler.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-bicep/src/main/java/org/wso2/lsp4intellij/requests/HoverHandler.java @@ -17,7 +17,7 @@ package org.wso2.lsp4intellij.requests; import com.intellij.openapi.diagnostic.Logger; -import com.intellij.util.ui.UIUtil; +import com.intellij.ui.JBColor; import com.vladsch.flexmark.html.HtmlRenderer; import com.vladsch.flexmark.parser.Parser; import com.vladsch.flexmark.util.data.MutableDataSet; @@ -69,7 +69,7 @@ public static String getHoverString(@NonNull Hover hover) { result.add(renderer.render(parser.parse(string))); } } - return "" + String.join("\n\n", result) + ""; + return "" + String.join("\n\n", result) + ""; } else { return ""; } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerapps/src/main/java/com/microsoft/azure/toolkit/intellij/containerapps/component/CodeForm.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerapps/src/main/java/com/microsoft/azure/toolkit/intellij/containerapps/component/CodeForm.java index c94f5fb2f8e..2dc2429da38 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerapps/src/main/java/com/microsoft/azure/toolkit/intellij/containerapps/component/CodeForm.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerapps/src/main/java/com/microsoft/azure/toolkit/intellij/containerapps/component/CodeForm.java @@ -12,8 +12,6 @@ import com.intellij.openapi.module.ModuleUtil; import com.intellij.openapi.project.Project; import com.intellij.openapi.project.ProjectUtil; -import com.intellij.openapi.ui.ComponentWithBrowseButton; -import com.intellij.openapi.ui.TextComponentAccessor; import com.intellij.openapi.util.io.FileUtil; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.ui.HyperlinkLabel; @@ -178,8 +176,7 @@ public void setVisible(final boolean visible) { private void createUIComponents() { this.fileCode = new AzureFileInput(); - this.fileCode.addActionListener(new ComponentWithBrowseButton.BrowseFolderActionListener<>("Select Path of Source Code", null, fileCode, - this.project, FileChooserDescriptorFactory.createSingleFolderDescriptor(), TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT)); + this.fileCode.addBrowseFolderListener(this.project, FileChooserDescriptorFactory.createSingleFolderDescriptor().withTitle("Select Path of Source Code")); this.fileCode.addValueChangedListener(s -> onFolderChanged.accept(Path.of(s))); this.fileCode.addValueChangedListener(this::onSelectFilePath); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/buildimage/DockerBuildTaskProvider.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/buildimage/DockerBuildTaskProvider.java index b3e482c4424..f06c5c7c6b8 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/buildimage/DockerBuildTaskProvider.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/buildimage/DockerBuildTaskProvider.java @@ -135,7 +135,7 @@ public void onError(Throwable throwable) { private ConsoleView createConsoleView(final Project project, final String imageName) { final DataContext context = dataId -> CommonDataKeys.PROJECT.getName().equals(dataId) ? project : null; - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), null, "azure.guidance.summary", context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "azure.guidance.summary", ActionUiKind.NONE, null); ActionManager.getInstance().getAction("ActivateRunToolWindow").actionPerformed(event); final ConsoleView console = TextConsoleBuilderFactory.getInstance().createBuilder(project).getConsole(); ((ConsoleViewImpl) console).setVisible(true); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/component/DockerHostCreationDialog.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/component/DockerHostCreationDialog.java index 48916d3ce15..e467072e988 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/component/DockerHostCreationDialog.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/component/DockerHostCreationDialog.java @@ -8,8 +8,6 @@ import com.intellij.icons.AllIcons; import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory; import com.intellij.openapi.project.Project; -import com.intellij.openapi.ui.ComponentWithBrowseButton; -import com.intellij.openapi.ui.TextComponentAccessor; import com.intellij.openapi.util.io.FileUtil; import com.intellij.ui.AnimatedIcon; import com.microsoft.azure.toolkit.intellij.common.AzureDialog; @@ -66,8 +64,7 @@ protected void init() { lblCertPath.setLabelFor(txtCertPath); txtCertPath.addValueChangedListener(ignore -> resetValidationMessage()); txtCertPath.addValidator(this::validateCertPath); - txtCertPath.addActionListener(new ComponentWithBrowseButton.BrowseFolderActionListener<>("Select Cert for Docker Host", null, txtCertPath, - project, FileChooserDescriptorFactory.createSingleFolderDescriptor(), TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT)); + txtCertPath.addBrowseFolderListener(project, FileChooserDescriptorFactory.createSingleFolderDescriptor().withTitle("Select Cert for Docker Host")); } private AzureValidationInfo validateCertPath() { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/component/DockerImageCreationDialog.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/component/DockerImageCreationDialog.java index bdd9ce5ec2d..64291cbe6ee 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/component/DockerImageCreationDialog.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/component/DockerImageCreationDialog.java @@ -8,8 +8,6 @@ import com.intellij.openapi.fileChooser.FileChooserDescriptor; import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory; import com.intellij.openapi.project.Project; -import com.intellij.openapi.ui.ComponentWithBrowseButton; -import com.intellij.openapi.ui.TextComponentAccessor; import com.microsoft.azure.toolkit.intellij.common.AzureArtifactComboBox; import com.microsoft.azure.toolkit.intellij.common.AzureDialog; import com.microsoft.azure.toolkit.intellij.common.AzureTextInput; @@ -56,12 +54,12 @@ protected void init() { }); final FileChooserDescriptor dockerDescriptor = FileChooserDescriptorFactory.createSingleFileDescriptor(); - txtDockerFile.addActionListener(new ComponentWithBrowseButton.BrowseFolderActionListener<>("Select Docker File", "Select Docker File", - txtDockerFile, project, dockerDescriptor, TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT)); + txtDockerFile.addBrowseFolderListener(project, dockerDescriptor.withTitle("Select Docker File") + .withDescription("Select Docker File")); final FileChooserDescriptor baseDirectory = FileChooserDescriptorFactory.createSingleFolderDescriptor(); - txtBaseDirectory.addActionListener(new ComponentWithBrowseButton.BrowseFolderActionListener<>("Select Base Directory", "Select base directory for docker build", - txtDockerFile, project, baseDirectory, TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT)); + txtBaseDirectory.addBrowseFolderListener(project, baseDirectory.withTitle("Select Base Directory") + .withDescription("Select base directory for docker build")); } @Override diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/servicesview/AzureContainerRegistryConfigurator.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/servicesview/AzureContainerRegistryConfigurator.java index 5a611b72546..af89e5fdb5a 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/servicesview/AzureContainerRegistryConfigurator.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerregistry/src/main/java/com/microsoft/azure/toolkit/intellij/containerregistry/servicesview/AzureContainerRegistryConfigurator.java @@ -9,7 +9,9 @@ import com.intellij.docker.view.registry.DockerRegistryProvider; import com.intellij.icons.AllIcons; import com.intellij.ide.BrowserUtil; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.options.ConfigurationException; import com.intellij.ui.AnimatedIcon; import com.intellij.ui.HyperlinkAdapter; @@ -115,7 +117,7 @@ public void applyDataToRegistry(@Nonnull final DockerRegistryConfiguration regis final Action enableAdminUser = AzureActionManager.getInstance().getAction(ContainerRegistryActionsContributor.ENABLE_ADMIN_USER).bind(data); final AzureString message = AzureString.format(ERROR_MESSAGE_PATTERN_ADMIN_DISABLED, data.getName()); final ConfigurationException exception = new ConfigurationException(message.toString()); - exception.setQuickFix(dataContext -> enableAdminUser.handle(null, AnActionEvent.createFromDataContext("", null, dataContext))); + exception.setQuickFix(dataContext -> enableAdminUser.handle(null, AnActionEvent.createEvent(dataContext, new Presentation(), "", ActionUiKind.NONE, null))); throw exception; } AzureTelemeter.log(AzureTelemetry.Type.OP_END, "user/acr.add_docker_registry_with_acr_instance_in_services_view"); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerservice/src/main/java/com/microsoft/azure/toolkit/intellij/containerservice/actions/KubernetesUtils.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerservice/src/main/java/com/microsoft/azure/toolkit/intellij/containerservice/actions/KubernetesUtils.java index fc5ad272319..8eaa62acade 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerservice/src/main/java/com/microsoft/azure/toolkit/intellij/containerservice/actions/KubernetesUtils.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerservice/src/main/java/com/microsoft/azure/toolkit/intellij/containerservice/actions/KubernetesUtils.java @@ -19,7 +19,7 @@ public class KubernetesUtils { public static final String REDHAT_KUBERNETES_PLUGIN_ID = "com.redhat.devtools.intellij.kubernetes"; public static boolean isKubernetesPluginEnabled() { - return Optional.ofNullable(PluginManagerCore.getPlugin(PluginId.findId(KUBERNETES_PLUGIN_ID))) + return Optional.ofNullable(PluginManagerCore.getPlugin(PluginId.getId(KUBERNETES_PLUGIN_ID))) .map(plugin -> plugin.isEnabled()).orElse(false); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerservice/src/main/java/com/microsoft/azure/toolkit/intellij/containerservice/actions/OpenKubernetesPluginAction.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerservice/src/main/java/com/microsoft/azure/toolkit/intellij/containerservice/actions/OpenKubernetesPluginAction.java index 2f965ec511d..4b5a7f5e546 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerservice/src/main/java/com/microsoft/azure/toolkit/intellij/containerservice/actions/OpenKubernetesPluginAction.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerservice/src/main/java/com/microsoft/azure/toolkit/intellij/containerservice/actions/OpenKubernetesPluginAction.java @@ -10,7 +10,6 @@ import com.intellij.execution.services.ServiceViewContributor; import com.intellij.execution.services.ServiceViewManager; import com.intellij.ide.projectView.PresentationData; -import com.intellij.kubernetes.api.Context; import com.intellij.kubernetes.api.KubernetesApiProvider; import com.intellij.navigation.ItemPresentation; import com.intellij.openapi.project.Project; diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/IntelliJCosmosActionsContributor.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/IntelliJCosmosActionsContributor.java index f6a4bdf289e..b73f67b9f87 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/IntelliJCosmosActionsContributor.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/IntelliJCosmosActionsContributor.java @@ -126,7 +126,7 @@ public void registerHandlers(AzureActionManager am) { CreateCosmosContainerAction.createCassandraTable(e.getProject(), (CassandraKeyspace) r, CassandraTableDraft.CassandraTableConfig.getDefaultConfig())); final String DATABASE_TOOLS_PLUGIN_ID = "com.intellij.database"; - if (PluginManagerCore.getPlugin(PluginId.findId(DATABASE_TOOLS_PLUGIN_ID)) == null) { + if (PluginManagerCore.getPlugin(PluginId.getId(DATABASE_TOOLS_PLUGIN_ID)) == null) { final BiConsumer openDatabaseHandler = (c, e) -> openDatabaseTool(e.getProject(), c); final boolean cassandraOn = Registry.is("azure.toolkit.cosmos_cassandra.dbtools.enabled"); am.registerHandler(CosmosActionsContributor.OPEN_DATABASE_TOOL, (r, e) -> r instanceof MongoCosmosDBAccount || (r instanceof CassandraCosmosDBAccount && cassandraOn), openDatabaseHandler); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/dbtools/AzureCosmosDbAccountConnectionInterceptor.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/dbtools/AzureCosmosDbAccountConnectionInterceptor.java index 46003ae727b..bb56976355f 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/dbtools/AzureCosmosDbAccountConnectionInterceptor.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/dbtools/AzureCosmosDbAccountConnectionInterceptor.java @@ -13,19 +13,20 @@ import com.microsoft.azure.toolkit.lib.common.telemetry.AzureTelemeter; import com.microsoft.azure.toolkit.lib.common.telemetry.AzureTelemetry; import org.apache.commons.lang3.StringUtils; +import kotlin.coroutines.Continuation; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.util.HashMap; import java.util.Map; -import java.util.concurrent.CompletionStage; import static com.microsoft.azure.toolkit.lib.common.telemetry.AzureTelemeter.*; @SuppressWarnings("UnstableApiUsage") public class AzureCosmosDbAccountConnectionInterceptor implements DatabaseConnectionInterceptor { @Nullable - public CompletionStage intercept(@NotNull DatabaseConnectionInterceptor.ProtoConnection proto, boolean silent) { + @Override + public Object interceptConnection(@NotNull DatabaseConnectionInterceptor.ProtoConnection proto, boolean silent, @NotNull Continuation $completion) { final DatabaseConnectionPoint point = proto.getConnectionPoint(); final String accountId = point.getAdditionalProperty(AzureCosmosDbAccountParamEditor.KEY_COSMOS_ACCOUNT_ID); if (StringUtils.isNotBlank(accountId) && !StringUtils.equalsIgnoreCase(accountId, AzureCosmosDbAccountParamEditor.NONE)) { @@ -38,6 +39,6 @@ public CompletionStage intercept(@NotNull DatabaseConnectionInt properties.put(OP_TYPE, Operation.Type.USER); AzureTelemeter.log(AzureTelemetry.Type.OP_END, properties); } - return null; + return Boolean.FALSE; } } \ No newline at end of file diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/dbtools/AzureCosmosDbAccountParamEditor.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/dbtools/AzureCosmosDbAccountParamEditor.java index 86f17c4aeb7..11881d659e5 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/dbtools/AzureCosmosDbAccountParamEditor.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/java/com/microsoft/azure/toolkit/intellij/cosmos/dbtools/AzureCosmosDbAccountParamEditor.java @@ -10,20 +10,19 @@ import com.intellij.database.dataSource.LocalDataSource; import com.intellij.database.dataSource.url.DataInterchange; import com.intellij.database.dataSource.url.FieldSize; -import com.intellij.database.dataSource.url.template.UrlEditorModel; import com.intellij.database.dataSource.url.ui.ParamEditorBase; import com.intellij.icons.AllIcons; import com.intellij.ide.DataManager; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.actionSystem.DataContext; -import com.intellij.openapi.actionSystem.EmptyAction; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.project.Project; import com.intellij.openapi.wm.ToolWindow; import com.intellij.openapi.wm.ToolWindowManager; import com.intellij.ui.ComponentUtil; import com.intellij.ui.HyperlinkLabel; -import com.intellij.ui.components.JBCheckBox; import com.microsoft.azure.toolkit.ide.common.action.ResourceCommonActionsContributor; import com.microsoft.azure.toolkit.intellij.common.AzureComboBox; import com.microsoft.azure.toolkit.intellij.cosmos.creation.CreateCosmosDBAccountAction; @@ -77,7 +76,6 @@ public class AzureCosmosDbAccountParamEditor extends ParamEditorBase { - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), e, "cosmos.dbtools", context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "cosmos.dbtools", ActionUiKind.NONE, e); AzureActionManager.getInstance().getAction(ResourceCommonActionsContributor.SELECT_RESOURCE_IN_EXPLORER).handle(Azure.az(AzureCosmosService.class), event); CreateCosmosDBAccountAction.create(null, null); }); @@ -194,29 +192,22 @@ private void setAccount(@Nullable CosmosDBAccount account) { consumer.consume("user", user); consumer.consume("port", port); }); - this.setUsername(user); + // this.setUsername(user); // setUsername is not needed as putProperties should update the model this.updating = false; }, AzureTask.Modality.ANY); }); } - private void setUsername(String user) { - final UrlEditorModel model = this.getDataSourceConfigurable().getUrlEditor().getEditorModel(); - model.setParameter("user", user); - model.commit(true); - } - @SneakyThrows private void setUseSsl(boolean useSsl) { - final DataSourceConfigurable configurable = this.getDataSourceConfigurable(); - // getSshSslPanel() was removed in IntelliJ 261; use reflection to access the panel field directly - final Object sshSslPanel = FieldUtils.readField(configurable, "mySshSslPanel", true); - final JBCheckBox useSSLCheckBox = (JBCheckBox) FieldUtils.readField(sshSslPanel, "myUseSSLJBCheckBox", true); - useSSLCheckBox.setSelected(useSsl); + final Object sshSslPanel = FieldUtils.readField(this.getDataSourceConfigurable(), "mySshSslPanel", true); + final AbstractButton useSslCheckBox = (AbstractButton) FieldUtils.readField(sshSslPanel, "myUseSSLJBCheckBox", true); + useSslCheckBox.setSelected(useSsl); } @SneakyThrows private DataSourceConfigurable getDataSourceConfigurable() { + // This is the only way to get the configurable from the interchange as of 2026.1 return (DataSourceConfigurable) FieldUtils.readField(this.getInterchange(), "myConfigurable", true); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/resources/META-INF/azure-intellij-plugin-cosmos-dbtools.xml b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/resources/META-INF/azure-intellij-plugin-cosmos-dbtools.xml index 63b72ec1b4e..83b8bede090 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/resources/META-INF/azure-intellij-plugin-cosmos-dbtools.xml +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/src/main/resources/META-INF/azure-intellij-plugin-cosmos-dbtools.xml @@ -14,7 +14,7 @@ + restartRequired="true" defaultValue="false" overrides="true"/> diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/dbtools/DatabaseServerConnectionInterceptor.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/dbtools/DatabaseServerConnectionInterceptor.java index aabc01bd122..93612864696 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/dbtools/DatabaseServerConnectionInterceptor.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/dbtools/DatabaseServerConnectionInterceptor.java @@ -14,18 +14,20 @@ import com.microsoft.azure.toolkit.lib.common.telemetry.AzureTelemetry; import org.apache.commons.lang3.StringUtils; +import kotlin.coroutines.Continuation; + import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.util.HashMap; import java.util.Map; -import java.util.concurrent.CompletionStage; import static com.microsoft.azure.toolkit.lib.common.telemetry.AzureTelemeter.*; @SuppressWarnings("UnstableApiUsage") public class DatabaseServerConnectionInterceptor implements DatabaseConnectionInterceptor { @Nullable - public CompletionStage intercept(@Nonnull DatabaseConnectionInterceptor.ProtoConnection proto, boolean silent) { + @Override + public Object interceptConnection(@Nonnull DatabaseConnectionInterceptor.ProtoConnection proto, boolean silent, @Nonnull Continuation $completion) { final DatabaseConnectionPoint point = proto.getConnectionPoint(); final String accountId = point.getAdditionalProperty(DatabaseServerParamEditor.KEY_DB_SERVER_ID); if (StringUtils.isNotBlank(accountId) && !StringUtils.equalsIgnoreCase(accountId, DatabaseServerParamEditor.NONE)) { @@ -38,6 +40,6 @@ public CompletionStage intercept(@Nonnull DatabaseConnectionInt properties.put(OP_TYPE, Operation.Type.USER); AzureTelemeter.log(AzureTelemetry.Type.OP_END, properties); } - return null; + return Boolean.FALSE; } } \ No newline at end of file diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/dbtools/DatabaseServerParamEditor.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/dbtools/DatabaseServerParamEditor.java index 0a34bde7e73..f3fe776cf5b 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/dbtools/DatabaseServerParamEditor.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/dbtools/DatabaseServerParamEditor.java @@ -13,10 +13,11 @@ import com.intellij.database.dataSource.url.ui.ParamEditorBase; import com.intellij.icons.AllIcons; import com.intellij.ide.DataManager; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.actionSystem.DataContext; -import com.intellij.openapi.actionSystem.EmptyAction; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.project.Project; import com.intellij.openapi.wm.ToolWindow; import com.intellij.openapi.wm.ToolWindowManager; @@ -152,7 +153,7 @@ private void createServerInIde(InputEvent e) { window.dispose(); final ToolWindow explorer = ToolWindowManager.getInstance(Objects.requireNonNull(project)).getToolWindow("Azure Explorer"); Objects.requireNonNull(explorer).activate(() -> { - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), e, "database.dbtools", context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "database.dbtools", ActionUiKind.NONE, e); if (MySqlServer.class.isAssignableFrom(clazz)) { AzureActionManager.getInstance().getAction(ResourceCommonActionsContributor.SELECT_RESOURCE_IN_EXPLORER).handle(Azure.az(AzureMySql.class), event); CreateMySqlAction.create(project, null); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/mysql/IntellijMySqlActionsContributor.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/mysql/IntellijMySqlActionsContributor.java index a327ad7a88b..76a1f763eba 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/mysql/IntellijMySqlActionsContributor.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/mysql/IntellijMySqlActionsContributor.java @@ -69,7 +69,7 @@ private void openDatabaseTool(Project project, @Nonnull MySqlServer server) { final String DATABASE_TOOLS_PLUGIN_ID = "com.intellij.database"; final String DATABASE_PLUGIN_NOT_INSTALLED = "\"Database tools and SQL\" plugin is not installed."; final String NOT_SUPPORT_ERROR_ACTION = "\"Database tools and SQL\" plugin is only provided in IntelliJ Ultimate edition."; - if (PluginManagerCore.getPlugin(PluginId.findId(DATABASE_TOOLS_PLUGIN_ID)) == null) { + if (PluginManagerCore.getPlugin(PluginId.getId(DATABASE_TOOLS_PLUGIN_ID)) == null) { final Action tryUltimate = AzureActionManager.getInstance().getAction(IntellijActionsContributor.TRY_ULTIMATE).bind(server); throw new AzureToolkitRuntimeException(DATABASE_PLUGIN_NOT_INSTALLED, NOT_SUPPORT_ERROR_ACTION, tryUltimate); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/postgre/IntellijPostgreSqlActionsContributor.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/postgre/IntellijPostgreSqlActionsContributor.java index 3999ea214cc..c887d5784c0 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/postgre/IntellijPostgreSqlActionsContributor.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/postgre/IntellijPostgreSqlActionsContributor.java @@ -69,7 +69,7 @@ private void openDatabaseTool(Project project, @Nonnull PostgreSqlServer server) final String DATABASE_TOOLS_PLUGIN_ID = "com.intellij.database"; final String DATABASE_PLUGIN_NOT_INSTALLED = "\"Database tools and SQL\" plugin is not installed."; final String NOT_SUPPORT_ERROR_ACTION = "\"Database tools and SQL\" plugin is only provided in IntelliJ Ultimate edition."; - if (PluginManagerCore.getPlugin(PluginId.findId(DATABASE_TOOLS_PLUGIN_ID)) == null) { + if (PluginManagerCore.getPlugin(PluginId.getId(DATABASE_TOOLS_PLUGIN_ID)) == null) { final Action tryUltimate = AzureActionManager.getInstance().getAction(IntellijActionsContributor.TRY_ULTIMATE).bind(server); throw new AzureToolkitRuntimeException(DATABASE_PLUGIN_NOT_INSTALLED, NOT_SUPPORT_ERROR_ACTION, tryUltimate); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/sqlserver/IntellijSqlServerActionsContributor.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/sqlserver/IntellijSqlServerActionsContributor.java index f658c2c7bac..7ffddcdf845 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/sqlserver/IntellijSqlServerActionsContributor.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-database/src/main/java/com/microsoft/azure/toolkit/intellij/database/sqlserver/IntellijSqlServerActionsContributor.java @@ -69,7 +69,7 @@ private void openDatabaseTool(Project project, @Nonnull MicrosoftSqlServer serve final String DATABASE_TOOLS_PLUGIN_ID = "com.intellij.database"; final String DATABASE_PLUGIN_NOT_INSTALLED = "\"Database tools and SQL\" plugin is not installed."; final String NOT_SUPPORT_ERROR_ACTION = "\"Database tools and SQL\" plugin is only provided in IntelliJ Ultimate edition."; - if (PluginManagerCore.getPlugin(PluginId.findId(DATABASE_TOOLS_PLUGIN_ID)) == null) { + if (PluginManagerCore.getPlugin(PluginId.getId(DATABASE_TOOLS_PLUGIN_ID)) == null) { final Action tryUltimate = AzureActionManager.getInstance().getAction(IntellijActionsContributor.TRY_ULTIMATE).bind(server); throw new AzureToolkitRuntimeException(DATABASE_PLUGIN_NOT_INSTALLED, NOT_SUPPORT_ERROR_ACTION, tryUltimate); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance-java/src/main/java/com/microsoft/azure/toolkit/ide/guidance/view/CoursesView.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance-java/src/main/java/com/microsoft/azure/toolkit/ide/guidance/view/CoursesView.java index 0fa971eec73..cb325b58e30 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance-java/src/main/java/com/microsoft/azure/toolkit/ide/guidance/view/CoursesView.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance-java/src/main/java/com/microsoft/azure/toolkit/ide/guidance/view/CoursesView.java @@ -2,8 +2,10 @@ import com.intellij.ide.DataManager; import com.intellij.openapi.actionSystem.ActionManager; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.DataContext; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.project.Project; import com.intellij.ui.GotItTooltip; import com.intellij.ui.HyperlinkLabel; @@ -70,7 +72,7 @@ private void init() { final Action enable = AzureActionManager.getInstance().getAction(ResourceCommonActionsContributor.ENABLE_PLUGIN_AND_RESTART).bind("Git4Idea").withLabel("Enable and Restart"); Optional.ofNullable(AzureActionManager.getInstance()) .map(m -> m.getAction(ResourceCommonActionsContributor.BROWSE_AZURE_SAMPLES)) - .ifPresentOrElse(a -> a.handle(null, AnActionEvent.createFromInputEvent(event, "azure.guidance", null, context)), + .ifPresentOrElse(a -> a.handle(null, AnActionEvent.createEvent(context, new Presentation(), "azure.guidance", ActionUiKind.NONE, event)), () -> AzureMessager.getMessager().warning("Browsing Azure sample projects requires \"Git\" plugin to be enabled first.", enable)); }); AzureTaskManager.getInstance().runInBackground("load courses", () -> GuidanceConfigManager.getInstance().loadCourses()) diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/input/FileChooserInputPanel.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/input/FileChooserInputPanel.java index 0f0b4618ce9..046ff59660e 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/input/FileChooserInputPanel.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/input/FileChooserInputPanel.java @@ -1,8 +1,6 @@ package com.microsoft.azure.toolkit.ide.guidance.input; import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory; -import com.intellij.openapi.ui.ComponentWithBrowseButton; -import com.intellij.openapi.ui.TextComponentAccessor; import com.microsoft.azure.toolkit.intellij.common.AzureFormJPanel; import com.microsoft.azure.toolkit.intellij.common.component.AzureFileInput; import com.microsoft.azure.toolkit.lib.common.form.AzureFormInput; @@ -25,8 +23,9 @@ public FileChooserInputPanel() { } private void init() { - fileInput.addActionListener(new ComponentWithBrowseButton.BrowseFolderActionListener<>(SELECT_PATH_TO_SAVE_THE_PROJECT, PATH_TO_SAVE_THE_DEMO_PROJECT, fileInput, - null, FileChooserDescriptorFactory.createSingleFolderDescriptor(), TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT)); + fileInput.addBrowseFolderListener(null, FileChooserDescriptorFactory.createSingleFolderDescriptor() + .withTitle(SELECT_PATH_TO_SAVE_THE_PROJECT) + .withDescription(PATH_TO_SAVE_THE_DEMO_PROJECT)); fileInput.setRequired(true); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/task/FocusResourceInAzureExplorerTask.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/task/FocusResourceInAzureExplorerTask.java index 16a333a1dae..8634b269043 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/task/FocusResourceInAzureExplorerTask.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/task/FocusResourceInAzureExplorerTask.java @@ -1,9 +1,10 @@ package com.microsoft.azure.toolkit.ide.guidance.task; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.actionSystem.DataContext; -import com.intellij.openapi.actionSystem.EmptyAction; +import com.intellij.openapi.actionSystem.Presentation; import com.microsoft.azure.toolkit.ide.common.action.ResourceCommonActionsContributor; import com.microsoft.azure.toolkit.ide.guidance.ComponentContext; import com.microsoft.azure.toolkit.ide.guidance.Task; @@ -34,7 +35,7 @@ public void execute() { (AbstractAzResource) context.getParameter(RESOURCE) : Azure.az().getById(resourceId); assert Objects.nonNull(resource) : String.format("failed to get resource with id (%s) in Azure", resourceId); final DataContext context = dataId -> CommonDataKeys.PROJECT.getName().equals(dataId) ? this.context.getProject() : null; - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), null, "azure.guidance.summary", context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "azure.guidance.summary", ActionUiKind.NONE, null); AzureActionManager.getInstance().getAction(ResourceCommonActionsContributor.SELECT_RESOURCE_IN_EXPLORER).handle(resource, event); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/task/SignInTask.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/task/SignInTask.java index 1e441b2633c..3161451a0be 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/task/SignInTask.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/src/main/java/com/microsoft/azure/toolkit/ide/guidance/task/SignInTask.java @@ -1,9 +1,10 @@ package com.microsoft.azure.toolkit.ide.guidance.task; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.actionSystem.DataContext; -import com.intellij.openapi.actionSystem.EmptyAction; +import com.intellij.openapi.actionSystem.Presentation; import com.microsoft.azure.toolkit.ide.common.action.ResourceCommonActionsContributor; import com.microsoft.azure.toolkit.ide.guidance.ComponentContext; import com.microsoft.azure.toolkit.ide.guidance.Task; @@ -49,7 +50,7 @@ public void execute() { AzureMessager.getMessager().info(AzureString.format("Sign in successfully with %s", Objects.requireNonNull(account).getUsername())); } final DataContext context = dataId -> CommonDataKeys.PROJECT.getName().equals(dataId) ? this.context.getProject() : null; - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), null, "azure.guidance.summary", context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "azure.guidance.summary", ActionUiKind.NONE, null); AzureActionManager.getInstance().getAction(ResourceCommonActionsContributor.OPEN_AZURE_EXPLORER).handle(null, event); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/build.gradle.kts b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/build.gradle.kts index 56a4f4a0f5a..3e2c62dc3d5 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/build.gradle.kts +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/build.gradle.kts @@ -57,7 +57,7 @@ dependencies { // Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins. bundledPlugin("com.intellij.java") bundledPlugin("org.jetbrains.idea.maven") - plugin("org.intellij.scala:2024.2.5") + plugin("org.intellij.scala:2026.2.5") } } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/helpers/UIHelperImpl.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/helpers/UIHelperImpl.java index e90d870c757..c812f3a218f 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/helpers/UIHelperImpl.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/helpers/UIHelperImpl.java @@ -20,7 +20,7 @@ import com.intellij.openapi.wm.StatusBar; import com.intellij.openapi.wm.WindowManager; import com.intellij.testFramework.LightVirtualFile; -import com.intellij.util.ui.UIUtil; +import com.intellij.ui.JBColor; import com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager; import com.microsoft.azuretools.azurecommons.helpers.AzureCmdException; import com.microsoft.azuretools.azurecommons.helpers.NotNull; @@ -176,7 +176,7 @@ protected FileEditorManager getFileEditorManager(@NotNull final String sid, @Not @Override public boolean isDarkTheme() { - return UIUtil.isUnderDarcula(); + return !JBColor.isBright(); } public void closeSpringCloudAppPropertyView(@NotNull Object projectObject, String appId) { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/ui/SrvPriSettingsDialog.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/ui/SrvPriSettingsDialog.java index d1970a276ae..c3ebc95b5f1 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/ui/SrvPriSettingsDialog.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/ui/SrvPriSettingsDialog.java @@ -89,8 +89,8 @@ private SrvPriSettingsDialog(List sdl, Project project) { table.setCellSelectionEnabled(false); destinationFolderTextField.setText(System.getProperty("user.home")); - destinationFolderTextField.addBrowseFolderListener("Choose Destination Folder", "", null, - FileChooserDescriptorFactory.createSingleFolderDescriptor()); + destinationFolderTextField.addBrowseFolderListener(null, + FileChooserDescriptorFactory.createSingleFolderDescriptor().withTitle("Choose Destination Folder")); final Font labelFont = UIManager.getFont("Label.font"); selectSubscriptionCommentTextPane.setFont(labelFont); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/util/PluginUtil.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/util/PluginUtil.java index 119b887fb78..777d4511ae8 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/util/PluginUtil.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-base/src/main/java/com/microsoft/intellij/util/PluginUtil.java @@ -160,7 +160,7 @@ public static Module findModule(Project project, String path) { } public static String getPluginRootDirectory() { - final IdeaPluginDescriptor pluginDescriptor = PluginManager.getPlugin(PluginId.findId(CommonConst.PLUGIN_ID)); + final IdeaPluginDescriptor pluginDescriptor = PluginManager.getPlugin(PluginId.getId(CommonConst.PLUGIN_ID)); return pluginDescriptor.getPath().getAbsolutePath(); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/build.gradle.kts b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/build.gradle.kts index edd3bcda579..251c271b75a 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/build.gradle.kts +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/build.gradle.kts @@ -12,7 +12,7 @@ dependencies { // 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") + plugin("org.intellij.scala:2026.2.5") } } \ No newline at end of file diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/common/DarkThemeManager.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/common/DarkThemeManager.java index b7ca43898dc..d8e4639b03e 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/common/DarkThemeManager.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/common/DarkThemeManager.java @@ -8,6 +8,7 @@ import com.intellij.execution.ui.ConsoleViewContentType; import com.intellij.openapi.editor.colors.EditorColorsManager; import com.intellij.openapi.editor.colors.EditorColorsScheme; +import com.intellij.ui.JBColor; import com.intellij.util.ui.UIUtil; import java.awt.*; @@ -43,7 +44,7 @@ public static DarkThemeManager getInstance() { } public String getWarningColor() { - if (UIUtil.isUnderDarcula()) { + if (!JBColor.isBright()) { return LightOrange; } @@ -65,7 +66,7 @@ public Color getErrorMessageColor() { } public Color getWarningMessageColor() { - if (UIUtil.isUnderDarcula()) { + if (!JBColor.isBright()) { return new Color(255, 198, 109); } @@ -73,7 +74,7 @@ public Color getWarningMessageColor() { } public String getErrorColor() { - if (UIUtil.isUnderDarcula()) { + if (!JBColor.isBright()) { return Rose; } @@ -81,7 +82,7 @@ public String getErrorColor() { } public String getInfoColor() { - if (UIUtil.isUnderDarcula()) { + if (!JBColor.isBright()) { return Gray; } @@ -89,7 +90,7 @@ public String getInfoColor() { } public String getHyperLinkColor() { - if (UIUtil.isUnderDarcula()) { + if (!JBColor.isBright()) { return LightBlue; } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/run/SparkBatchJobLocalRunConfigurationProducer.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/run/SparkBatchJobLocalRunConfigurationProducer.java index 351fdb22ebf..7f397f9ec74 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/run/SparkBatchJobLocalRunConfigurationProducer.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/run/SparkBatchJobLocalRunConfigurationProducer.java @@ -29,20 +29,28 @@ public class SparkBatchJobLocalRunConfigurationProducer extends JavaRunConfigurationProducerBase { + private final ConfigurationFactory configurationFactory; private final SparkApplicationType applicationType; public SparkBatchJobLocalRunConfigurationProducer(final ConfigurationFactory configFactory, final SparkApplicationType applicationType) { - super(configFactory); + super(); + this.configurationFactory = configFactory; this.applicationType = applicationType; } public SparkBatchJobLocalRunConfigurationProducer(final ConfigurationType configType, final SparkApplicationType applicationType) { super(configType); + this.configurationFactory = configType.getConfigurationFactories()[0]; this.applicationType = applicationType; } + @Override + public ConfigurationFactory getConfigurationFactory() { + return this.configurationFactory; + } + @Override public boolean setupConfigurationFromContext(final LivySparkBatchJobRunConfiguration configuration, final ConfigurationContext context, diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/BackgroundTaskIndicator.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/BackgroundTaskIndicator.java index a694fcc11c2..953fb42e5e2 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/BackgroundTaskIndicator.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/BackgroundTaskIndicator.java @@ -6,10 +6,8 @@ package com.microsoft.azure.hdinsight.spark.ui; import com.intellij.util.ui.AsyncProcessIcon; -import com.intellij.util.ui.UIUtil; import javax.swing.*; -import java.awt.*; public class BackgroundTaskIndicator extends JPanel{ private AsyncProcessIcon inProcessIcon; @@ -25,11 +23,6 @@ public BackgroundTaskIndicator(String runningText) { this.inProcessIcon = new AsyncProcessIcon(runningText + "-icon"); this.inProcessIcon.setVisible(false); - if (UIUtil.isUnderWin10LookAndFeel()) { - textField.setBackground(new Color(242,242,242)); - textField.setDisabledTextColor(new Color(140,140,140)); - } - add(inProcessIcon); add(textField); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/SparkFailureTaskDebugConfigurable.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/SparkFailureTaskDebugConfigurable.java index 8c522d8953b..9cf91b702f1 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/SparkFailureTaskDebugConfigurable.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/SparkFailureTaskDebugConfigurable.java @@ -18,6 +18,8 @@ import javax.swing.*; +import static com.microsoft.intellij.ui.util.SwingExtsKt.configureBrowseButton; + public class SparkFailureTaskDebugConfigurable implements SettableControl { private TextFieldWithBrowseButton myFailureJobContextPathField; private JPanel myWholePanel; @@ -31,7 +33,7 @@ public SparkFailureTaskDebugConfigurable(Project myProject) { new MacroAwareTextBrowseFolderListener(dataRootDirectoryChooser, myProject)); myFailureJobContextPathField.getTextField().setName("failureJobContextPathFieldText"); - myFailureJobContextPathField.getButton().setName("failureJobContextPathFieldButton"); + configureBrowseButton(myFailureJobContextPathField, "failureJobContextPathFieldButton"); } // Data --> Component @@ -55,4 +57,3 @@ public JComponent getComponent() { return myWholePanel; } } - diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/SparkLocalRunParamsPanel.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/SparkLocalRunParamsPanel.java index 1be162ebae1..e7ddea97923 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/SparkLocalRunParamsPanel.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/azure/hdinsight/spark/ui/SparkLocalRunParamsPanel.java @@ -31,6 +31,8 @@ import java.util.Arrays; import java.util.Optional; +import static com.microsoft.intellij.ui.util.SwingExtsKt.configureBrowseButton; + public class SparkLocalRunParamsPanel { public static final String HADOOP_HOME_ENV = "HADOOP_HOME"; public static final String WINUTILS_EXE_NAME = "winutils.exe"; @@ -96,9 +98,9 @@ protected void textChanged(DocumentEvent documentEvent) { // Set name for telemetry listener purpose myWinutilsPathTextFieldWithBrowserButton.getTextField().setName("winUtilsText"); - myWinutilsPathTextFieldWithBrowserButton.getButton().setName("winUtilsButton"); + configureBrowseButton(myWinutilsPathTextFieldWithBrowserButton, "winUtilsButton"); myDataRootDirectoryFieldWithBrowseButton.getTextField().setName("dataRootPathText"); - myDataRootDirectoryFieldWithBrowseButton.getButton().setName("dataRootPathButton"); + configureBrowseButton(myDataRootDirectoryFieldWithBrowseButton, "dataRootPathButton"); } public SparkLocalRunParamsPanel withInitialize() { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/intellij/ui/components/JsonEnvPropertiesField.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/intellij/ui/components/JsonEnvPropertiesField.java index d57113483ff..b4967ab50e7 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/intellij/ui/components/JsonEnvPropertiesField.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/intellij/ui/components/JsonEnvPropertiesField.java @@ -214,7 +214,6 @@ protected AnActionButtonRunnable createRemoveAction() { } @NotNull - @Override protected AnActionButton[] createExtraActions() { return myUserList ? super.createExtraActions() diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/intellij/util/PluginUtil.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/intellij/util/PluginUtil.java index c7697885fdb..1a4ec0bf71f 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/intellij/util/PluginUtil.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/java/com/microsoft/intellij/util/PluginUtil.java @@ -153,7 +153,7 @@ public static Module findModule(Project project, String path) { } public static String getPluginRootDirectory() { - final IdeaPluginDescriptor pluginDescriptor = PluginManager.getPlugin(PluginId.findId(CommonConst.PLUGIN_ID)); + final IdeaPluginDescriptor pluginDescriptor = PluginManager.getPlugin(PluginId.getId(CommonConst.PLUGIN_ID)); return pluginDescriptor.getPath().getAbsolutePath(); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/common/viewmodels/SwingComponentPropertyDelegated.kt b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/common/viewmodels/SwingComponentPropertyDelegated.kt index e967b05b7a0..463529aaa21 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/common/viewmodels/SwingComponentPropertyDelegated.kt +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/common/viewmodels/SwingComponentPropertyDelegated.kt @@ -59,11 +59,14 @@ inline fun swingPropertyDelegated(crossinline getter: (property: KProperty<* class ComponentWithBrowseButtonEnabledDelegated(private val componentWithBrowseButton: ComponentWithBrowseButton<*>) : SwingComponentPropertyDelegated() { + private var buttonEnabled = true + override operator fun getValue(thisRef: Any?, property: KProperty<*>): Boolean { - return componentWithBrowseButton.button.isEnabled + return buttonEnabled } override fun setValueInDispatch(ref: Any?, property: KProperty<*>, v: Boolean) { + buttonEnabled = v componentWithBrowseButton.setButtonEnabled(v) } } @@ -90,4 +93,3 @@ class ImmutableComboBoxModelDelegated(private val comboBox: JComboBox) { } } } - diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/run/action/SparkRunConfigurationAction.kt b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/run/action/SparkRunConfigurationAction.kt index b84e3fdf753..aed418045ea 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/run/action/SparkRunConfigurationAction.kt +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/run/action/SparkRunConfigurationAction.kt @@ -29,7 +29,7 @@ import com.intellij.execution.configurations.RuntimeConfigurationError import com.intellij.execution.runners.ExecutionEnvironmentBuilder import com.intellij.execution.runners.ProgramRunner import com.intellij.openapi.actionSystem.AnActionEvent -import com.intellij.openapi.actionSystem.UpdateInBackground +import com.intellij.openapi.actionSystem.ActionUpdateThread import com.intellij.openapi.progress.ProgressManager import com.intellij.openapi.roots.TestSourcesFilter.isTestSources import com.microsoft.azure.hdinsight.common.logger.ILogger @@ -46,7 +46,7 @@ import com.microsoft.intellij.telemetry.TelemetryKeys import com.microsoft.intellij.util.runInReadAction import javax.swing.Icon -abstract class SparkRunConfigurationAction : AzureAnAction, ILogger, UpdateInBackground { +abstract class SparkRunConfigurationAction : AzureAnAction, ILogger { constructor(icon: Icon?) : super(icon) constructor(text: String?) : super(text) constructor(text: String?, description: String?, icon: Icon?) : super(text, description, icon) @@ -54,6 +54,8 @@ abstract class SparkRunConfigurationAction : AzureAnAction, ILogger, UpdateInBac abstract val runExecutor: Executor + override fun getActionUpdateThread(): ActionUpdateThread = ActionUpdateThread.BGT + open fun canRun(setting: RunnerAndConfigurationSettings): Boolean = setting.configuration is LivySparkBatchJobRunConfiguration && ProgramRunner.getRunner(runExecutor.id, setting.configuration) diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkClusterListRefreshableCombo.kt b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkClusterListRefreshableCombo.kt index 7faa5480cd3..ecef1cc8a02 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkClusterListRefreshableCombo.kt +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkClusterListRefreshableCombo.kt @@ -43,6 +43,7 @@ import com.microsoft.azure.sqlbigdata.sdk.cluster.SqlBigDataLivyLinkClusterDetai import com.microsoft.intellij.forms.dsl.panel import com.microsoft.intellij.rxjava.DisposableObservers import com.microsoft.intellij.rxjava.IdeaSchedulers +import com.microsoft.intellij.ui.util.configureBrowseButton import com.microsoft.intellij.ui.util.findFirst import rx.Observable import rx.Observable.* @@ -61,9 +62,9 @@ open class SparkClusterListRefreshableCombo: ILogger, Disposable { private val clustersSelection = ComboboxWithBrowseButton(JComboBox(ImmutableComboBoxModel.empty())).apply { comboBox.name = getComboBoxNamePrefix() + "Combo" - button.name = getComboBoxNamePrefix() + "Button" setButtonIcon(AllIcons.Actions.Refresh) + configureBrowseButton(getComboBoxNamePrefix() + "Button") comboBox.apply { setRenderer(object : SimpleListCellRenderer() { @@ -95,11 +96,8 @@ open class SparkClusterListRefreshableCombo: ILogger, Disposable { } } - button.apply { - toolTipText = "Refresh" - addActionListener { - viewModel.doRefreshSubject.onNext(true) - } + addActionListener { + viewModel.doRefreshSubject.onNext(true) } } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkCommonRunParametersPanel.kt b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkCommonRunParametersPanel.kt index be1287ffec8..9c9fa8387c3 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkCommonRunParametersPanel.kt +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkCommonRunParametersPanel.kt @@ -31,6 +31,7 @@ import com.intellij.uiDesigner.core.GridConstraints import com.microsoft.azure.hdinsight.common.DarkThemeManager import com.microsoft.intellij.forms.dsl.panel import com.microsoft.intellij.helpers.ManifestFileUtilsEx +import com.microsoft.intellij.ui.util.configureBrowseButton import java.awt.BorderLayout import javax.swing.JComponent import javax.swing.JLabel @@ -41,7 +42,7 @@ class SparkCommonRunParametersPanel(private val myProject: Project, private val private val mainClassTextField: TextFieldWithBrowseButton = TextFieldWithBrowseButton().apply { textField.name = "mainClassTextFieldText" - button.name = "mainClassTextFieldButton" + configureBrowseButton("mainClassTextFieldButton") toolTipText = mainClassToolTip accessibleContext.accessibleDescription = "$mainClassToolTip required" diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkSubmissionAdvancedConfigPanel.kt b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkSubmissionAdvancedConfigPanel.kt index 9e6f071a931..a340388fecc 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkSubmissionAdvancedConfigPanel.kt +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkSubmissionAdvancedConfigPanel.kt @@ -55,6 +55,7 @@ import com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager import com.microsoft.intellij.forms.dsl.panel import com.microsoft.intellij.rxjava.DisposableObservers import com.microsoft.intellij.rxjava.IdeaSchedulers +import com.microsoft.intellij.ui.util.configureBrowseButton import org.apache.commons.lang3.StringUtils import rx.subjects.PublishSubject import java.awt.Dimension @@ -157,7 +158,7 @@ class SparkSubmissionAdvancedConfigPanel: JPanel(), SettableControl(arrayOf("Azure Account")).apply { name = "adlsCardAuthMethodComboBox" } private val subscriptionsLabel = JLabel("Subscription List") + private var refreshInProgress = false private val subscriptionsComboBox = ComboboxWithBrowseButton(JComboBox(ImmutableComboBoxModel.empty())).apply { comboBox.name = "adlsCardSubscriptionsComboBoxCombo" - button.name = "adlsCardSubscriptionsComboBoxButton" - button.toolTipText = "Refresh" - button.icon = AllIcons.Actions.Refresh - button.addActionListener { - //refresh subscriptions after refresh button is clicked - if (button.isEnabled) { - button.isEnabled = false - (viewModel as ViewModel).refreshSubscriptions() - .doOnEach { button.isEnabled = true } - .subscribe( - { }, - { err -> log().warn(ExceptionUtils.getStackTrace(err)) }) - } - } + setButtonIcon(AllIcons.Actions.Refresh) + configureBrowseButton("adlsCardSubscriptionsComboBoxButton", "Refresh") + addActionListener { doRefreshSubscriptions() } // after container is selected or new model is set, update upload path comboBox.addPropertyChangeListener("model") { @@ -125,6 +116,22 @@ class SparkSubmissionJobUploadStorageAdlsCard } } + private fun doRefreshSubscriptions() { + if (refreshInProgress) { + return + } + refreshInProgress = true + subscriptionsComboBox.setButtonEnabled(false) + (viewModel as ViewModel).refreshSubscriptions() + .doOnTerminate { + refreshInProgress = false + subscriptionsComboBox.setButtonEnabled(true) + } + .subscribe( + { }, + { err -> log().warn(ExceptionUtils.getStackTrace(err)) }) + } + private val signInCard = SparkSubmissionJobUploadStorageAdlsSignInCard().apply { signInLink.addActionListener { viewModel.storageCheckSubject.onNext(StorageCheckEvent.SignInOutEvent(true)) diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkSubmissionJobUploadStorageAzureBlobCard.kt b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkSubmissionJobUploadStorageAzureBlobCard.kt index 4a54fe3371a..5ca1a760097 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkSubmissionJobUploadStorageAzureBlobCard.kt +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/ui/SparkSubmissionJobUploadStorageAzureBlobCard.kt @@ -44,6 +44,7 @@ import com.microsoft.azure.toolkit.ide.common.store.ISecureStore import com.microsoft.intellij.forms.dsl.panel import com.microsoft.intellij.rxjava.IdeaSchedulers import com.microsoft.azure.toolkit.intellij.common.component.UIUtils +import com.microsoft.intellij.ui.util.configureBrowseButton import com.microsoft.intellij.ui.util.findFirst import com.microsoft.azure.hdinsight.sdk.storage.StorageClientSDKManager import com.microsoft.azure.hdinsight.sdk.storage.model.ClientStorageAccount @@ -102,6 +103,7 @@ class SparkSubmissionJobUploadStorageAzureBlobCard } private val storageContainerLabel = JLabel("Storage Container") + private var refreshInProgress = false private val storageContainerUI = ComboboxWithBrowseButton(JComboBox(ImmutableComboBoxModel.empty())).apply { comboBox.name = "blobCardStorageContainerComboBoxCombo" @@ -133,22 +135,25 @@ class SparkSubmissionJobUploadStorageAzureBlobCard } } - button.name = "blobCardStorageContainerComboBoxButton" - button.toolTipText = "Refresh" - button.icon = AllIcons.Actions.Refresh - button.addActionListener { doRefresh() } + setButtonIcon(AllIcons.Actions.Refresh) + configureBrowseButton("blobCardStorageContainerComboBoxButton", "Refresh") + addActionListener { doRefresh() } } - @Synchronized private fun doRefresh() { - if (storageContainerUI.button.isEnabled) { - storageContainerUI.button.isEnabled = false - (viewModel as ViewModel).refreshContainers() - .doOnEach { storageContainerUI.button.isEnabled = true } - .subscribe( - { }, - { err -> log().warn(ExceptionUtils.getStackTrace(err)) }) + if (refreshInProgress) { + return } + refreshInProgress = true + storageContainerUI.setButtonEnabled(false) + (viewModel as ViewModel).refreshContainers() + .doOnTerminate { + refreshInProgress = false + storageContainerUI.setButtonEnabled(true) + } + .subscribe( + { }, + { err -> log().warn(ExceptionUtils.getStackTrace(err)) }) } override val view: JComponent by lazy { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/intellij/telemetry/ContaninerTelemetryExtension.kt b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/intellij/telemetry/ContaninerTelemetryExtension.kt index 7ee15d4dbc1..e3f70a6bb68 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/intellij/telemetry/ContaninerTelemetryExtension.kt +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/intellij/telemetry/ContaninerTelemetryExtension.kt @@ -23,6 +23,7 @@ package com.microsoft.intellij.telemetry import com.intellij.ui.InplaceButton +import com.intellij.openapi.ui.ComponentWithBrowseButton import com.microsoft.azure.cosmosspark.common.JXHyperLinkWithUri import com.microsoft.azure.hdinsight.spark.common.SparkSubmitStorageType import com.microsoft.azuretools.telemetrywrapper.EventType @@ -49,7 +50,7 @@ fun Container.addTelemetryListener(serviceName: String) { createLogEvent(serviceName, "click-hyperlink", component.name) } is JsonEnvPropertiesField -> component.apply { - button.addActionListener { + addActionListener { createLogEvent(serviceName, "click-button", name) } textField.addFocusListener(object: FocusAdapter() { @@ -64,6 +65,9 @@ fun Container.addTelemetryListener(serviceName: String) { } }) } + is ComponentWithBrowseButton<*> -> component.addActionListener { + createLogEvent(serviceName, "click-button", component.name) + } is JComboBox<*> -> component.addItemListener { itemEvent -> if (itemEvent?.stateChange == ItemEvent.SELECTED) { when (component.name) { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/intellij/ui/util/SwingExts.kt b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/intellij/ui/util/SwingExts.kt index 6d3081c5ce6..9838fa71bcb 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/intellij/ui/util/SwingExts.kt +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/intellij/ui/util/SwingExts.kt @@ -22,6 +22,8 @@ package com.microsoft.intellij.ui.util +import com.intellij.openapi.ui.ComponentWithBrowseButton +import javax.swing.AbstractButton import javax.swing.ListModel val ListModel?.iterator: Iterator @@ -38,3 +40,15 @@ val ListModel?.iterator: Iterator fun ListModel?.findFirst(predicate: (T) -> Boolean): T? = this?.iterator?.asSequence()?.find(predicate) +@JvmOverloads +fun ComponentWithBrowseButton<*>.configureBrowseButton(name: String, tooltip: String? = null) { + val button = components.filterIsInstance().singleOrNull() + if (button != null) { + button.name = name + tooltip?.let { button.toolTipText = it } + } else { + this.name = name + accessibleContext.accessibleName = name + tooltip?.let { toolTipText = it } + } +} diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/build.gradle.kts b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/build.gradle.kts index 490e0d79ea7..89221971ee2 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/build.gradle.kts +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/build.gradle.kts @@ -18,6 +18,6 @@ dependencies { // Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins. bundledPlugin("com.intellij.java") bundledPlugin("org.jetbrains.idea.maven") - plugin("org.intellij.scala:2024.2.5") + plugin("org.intellij.scala:2026.2.5") } } \ No newline at end of file diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/common/SparkSubmissionToolWindowProcessor.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/common/SparkSubmissionToolWindowProcessor.java index 3ab2838b735..650661fe5a5 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/common/SparkSubmissionToolWindowProcessor.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/common/SparkSubmissionToolWindowProcessor.java @@ -8,6 +8,7 @@ import com.intellij.ide.ui.UISettings; import com.intellij.ide.ui.UISettingsListener; import com.intellij.openapi.application.ApplicationManager; +import com.intellij.util.messages.MessageBusConnection; import com.intellij.openapi.wm.ToolWindow; import com.intellij.ui.components.JBScrollPane; import com.intellij.util.ui.JBUI; @@ -54,6 +55,7 @@ public class SparkSubmissionToolWindowProcessor implements IToolWindowProcessor private PropertyChangeSupport changeSupport; private final ToolWindow toolWindow; + private MessageBusConnection messageBusConnection; private IClusterDetail clusterDetail; private int batchId; @@ -65,8 +67,9 @@ public SparkSubmissionToolWindowProcessor(final ToolWindow toolWindow) { public void initialize() { ApplicationManager.getApplication().assertIsDispatchThread(); - // TODO: Fix deprecated API "addUISettingsListener" - UISettings.getInstance().addUISettingsListener(new UISettingsListener() { + // Use message bus for UI settings listener instead of deprecated addUISettingsListener + messageBusConnection = ApplicationManager.getApplication().getMessageBus().connect(); + messageBusConnection.subscribe(UISettingsListener.TOPIC, new UISettingsListener() { @Override public void uiSettingsChanged(final UISettings uiSettings) { synchronized (this) { @@ -78,7 +81,7 @@ public void uiSettingsChanged(final UISettings uiSettings) { } } - }, ApplicationManager.getApplication()); + }); fontFace = jEditorPanel.getFont().getFamily(); @@ -355,6 +358,13 @@ private String parserHtmlElementList(final List htmlElem return builder.toString(); } + public void dispose() { + if (messageBusConnection != null) { + messageBusConnection.disconnect(); + messageBusConnection = null; + } + } + interface IHtmlElement { String getHtmlString(); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SbtVersionOptionsPanel.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SbtVersionOptionsPanel.java index d186a228cea..6d3439654da 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SbtVersionOptionsPanel.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SbtVersionOptionsPanel.java @@ -5,15 +5,16 @@ package com.microsoft.azure.hdinsight.projects; +import com.intellij.openapi.progress.ProgressIndicator; import com.intellij.openapi.progress.ProgressManager; import com.intellij.openapi.ui.ComboBox; import com.microsoft.azure.hdinsight.common.logger.ILogger; +import org.jetbrains.plugins.scala.project.Versions$; +import org.jetbrains.sbt.SbtVersion; import scala.collection.immutable.Seq; -import scala.reflect.ClassTag; import javax.swing.*; import java.awt.*; -import java.lang.reflect.Method; public class SbtVersionOptionsPanel extends JPanel implements ILogger { private ComboBox sbtVersionComboBox; @@ -38,36 +39,21 @@ public void updateSbtVersions() { final String[][] versions = new String[1][1]; ProgressManager.getInstance().runProcess(() -> { try { - // In newer Scala plugin versions, the API changed. Use reflection for cross-version compatibility. - // Old: Versions.SBT$.MODULE$.loadVersionsWithProgress(null).versions() -> Seq - // New: Versions.loadSbtVersions(false, null) -> Seq - final Class versionsClass = Class.forName("org.jetbrains.plugins.scala.project.Versions"); - try { - // Try new API first - final Method loadSbtVersionsMethod = versionsClass.getMethod("loadSbtVersions", boolean.class, com.intellij.openapi.progress.ProgressIndicator.class); - final Seq sbtVersions = (Seq) loadSbtVersionsMethod.invoke(null, false, null); - final int size = sbtVersions.size(); - final String[] result = new String[size]; - for (int i = 0; i < size; i++) { - result[i] = sbtVersions.apply(i).toString(); - } - versions[0] = result; - } catch (final NoSuchMethodException e) { - // Fallback to old API - final Class versionsSbtClass = Class.forName("org.jetbrains.plugins.scala.project.Versions$SBT$"); - final Object module = versionsSbtClass.getField("MODULE$").get(null); - final Method loadMethod = module.getClass().getMethod("loadVersionsWithProgress", com.intellij.openapi.progress.ProgressIndicator.class); - final Object loadedVersions = loadMethod.invoke(module, (Object) null); - final Method versionsMethod = loadedVersions.getClass().getMethod("versions"); - final Seq versionSeq = (Seq) versionsMethod.invoke(loadedVersions); - versions[0] = (String[]) versionSeq.toArray(ClassTag.apply(String.class)); + // Access Scala companion object directly: Versions$.MODULE$.loadSbtVersions() + final Seq sbtVersions = Versions$.MODULE$.loadSbtVersions(false, (ProgressIndicator) null); + final int size = sbtVersions.size(); + final String[] result = new String[size]; + for (int i = 0; i < size; i++) { + result[i] = sbtVersions.apply(i).toString(); } - } catch (final Exception e) { + versions[0] = result; + } catch (final Exception | LinkageError e) { log().warn("Failed to get SBT versions from scala plugin.", e); versions[0] = new String[0]; } }, null); + this.sbtVersionComboBox.removeAllItems(); for (String version : versions[0]) { this.sbtVersionComboBox.addItem(version); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SparkJavaSettingsStep.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SparkJavaSettingsStep.java index a40742a7207..803ff66b82d 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SparkJavaSettingsStep.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SparkJavaSettingsStep.java @@ -7,7 +7,7 @@ import com.intellij.ide.util.projectWizard.ModuleWizardStep; import com.intellij.ide.util.projectWizard.SettingsStep; -import com.intellij.openapi.module.StdModuleTypes; +import com.intellij.openapi.module.ModuleTypeManager; import com.intellij.openapi.options.ConfigurationException; import javax.swing.*; @@ -19,7 +19,7 @@ public class SparkJavaSettingsStep extends ModuleWizardStep { public SparkJavaSettingsStep(HDInsightModuleBuilder builder, SettingsStep settingsStep) { this.builder = builder; - this.javaStep = StdModuleTypes.JAVA.modifyProjectTypeStep(settingsStep, builder); + this.javaStep = ModuleTypeManager.getInstance().findByID("JAVA_MODULE").modifyProjectTypeStep(settingsStep, builder); this.sparkVersionOptionsPanel = new SparkVersionOptionsPanel(); settingsStep.addSettingsField("Spark \u001Bversion:", sparkVersionOptionsPanel); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SparkScalaSettingsStep.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SparkScalaSettingsStep.java index 39984fb21dc..9ae16782a80 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SparkScalaSettingsStep.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/SparkScalaSettingsStep.java @@ -7,7 +7,7 @@ import com.intellij.ide.util.projectWizard.ModuleWizardStep; import com.intellij.ide.util.projectWizard.SettingsStep; -import com.intellij.openapi.module.StdModuleTypes; +import com.intellij.openapi.module.ModuleTypeManager; import com.intellij.openapi.options.ConfigurationException; import javax.swing.*; @@ -20,7 +20,7 @@ public class SparkScalaSettingsStep extends ModuleWizardStep { public SparkScalaSettingsStep(HDInsightModuleBuilder builder, SettingsStep settingsStep) { this.builder = builder; - this.javaStep = StdModuleTypes.JAVA.modifyProjectTypeStep(settingsStep, builder); + this.javaStep = ModuleTypeManager.getInstance().findByID("JAVA_MODULE").modifyProjectTypeStep(settingsStep, builder); if (builder.getSelectedTemplate() != null && builder.getSelectedTemplate().getTemplateType() == HDInsightTemplatesType.ScalaFailureTaskDebugSample) { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/ui/HDInsightProjectTypeStep.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/ui/HDInsightProjectTypeStep.java index 5ca4d4b6d49..80c4658280c 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/ui/HDInsightProjectTypeStep.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/ui/HDInsightProjectTypeStep.java @@ -25,6 +25,7 @@ import javax.swing.*; import java.util.HashSet; +import java.util.Optional; import java.util.Set; public class HDInsightProjectTypeStep extends ModuleWizardStep implements Disposable { @@ -41,7 +42,9 @@ public class HDInsightProjectTypeStep extends ModuleWizardStep implements Dispos public HDInsightProjectTypeStep(HDInsightModuleBuilder moduleBuilder) { this.moduleBuilder = moduleBuilder; - this.scalaPluginInstalled = PluginManagerCore.getPlugin(PluginId.findId(SCALA_PLUGIN_ID)) != null; + this.scalaPluginInstalled = Optional.ofNullable(PluginManagerCore.getPlugin(PluginId.getId(SCALA_PLUGIN_ID))) + .map(IdeaPluginDescriptor::isEnabled) + .orElse(false); this.templateList.addListSelectionListener(e -> onTemplateSelected()); this.templateList.setTemplates(moduleBuilder.getTemplates(), false); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/util/ProjectSampleUtil.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/util/ProjectSampleUtil.java index 1faf90f8b29..507680a38e1 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/util/ProjectSampleUtil.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/java/com/microsoft/azure/hdinsight/projects/util/ProjectSampleUtil.java @@ -18,7 +18,7 @@ public class ProjectSampleUtil { public static String getRootOrSourceFolder(Module module, boolean isSourceFolder) { - ModuleRootManager moduleRootManager = module.getComponent(ModuleRootManager.class); + ModuleRootManager moduleRootManager = ModuleRootManager.getInstance(module); if (module == null) { return null; } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/kotlin/com/microsoft/azure/hdinsight/jobs/framework/JobViewPanel.kt b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/kotlin/com/microsoft/azure/hdinsight/jobs/framework/JobViewPanel.kt index 96d7bab34c6..e80aeffc9dc 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/kotlin/com/microsoft/azure/hdinsight/jobs/framework/JobViewPanel.kt +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight/src/main/kotlin/com/microsoft/azure/hdinsight/jobs/framework/JobViewPanel.kt @@ -72,7 +72,7 @@ class JobViewPanel(private val rootPath: String, private val clusterName: String fun CefBrowser.updateTheme() { val isDarkTheme = EditorColorsManager.getInstance().isDarkEditor - val themeName = LafManager.getInstance().currentLookAndFeel.name + val themeName = LafManager.getInstance().currentUIThemeLookAndFeel.name val themeMode = if (themeName.toLowerCase() == "high contrast") { "highcontrast" diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-integration-services/src/main/java/com/microsoft/azure/toolkit/intellij/integration/services/NodeViewDescriptor.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-integration-services/src/main/java/com/microsoft/azure/toolkit/intellij/integration/services/NodeViewDescriptor.java index 23d7e1797e8..583315ed731 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-integration-services/src/main/java/com/microsoft/azure/toolkit/intellij/integration/services/NodeViewDescriptor.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-integration-services/src/main/java/com/microsoft/azure/toolkit/intellij/integration/services/NodeViewDescriptor.java @@ -10,9 +10,11 @@ import com.intellij.ide.projectView.PresentationData; import com.intellij.navigation.ItemPresentation; import com.intellij.openapi.actionSystem.ActionGroup; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.actionSystem.DataProvider; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.project.Project; import com.intellij.ui.SimpleTextAttributes; import com.microsoft.azure.toolkit.ide.common.component.ActionNode; @@ -88,7 +90,7 @@ public class NodeViewDescriptor implements ServiceViewDescriptor { @Override public boolean handleDoubleClick(@Nonnull final MouseEvent e) { final DataContext context = DataManager.getInstance().getDataContext(e.getComponent()); - final AnActionEvent event = AnActionEvent.createFromInputEvent(e, "ServicesNode.click", null, context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "ServicesNode.click", ActionUiKind.NONE, e); if (node instanceof ActionNode) { this.node.click(event); } else { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-java-sdk/build.gradle.kts b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-java-sdk/build.gradle.kts index 7bae8a25618..c2ed363bc9b 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-java-sdk/build.gradle.kts +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-java-sdk/build.gradle.kts @@ -3,8 +3,9 @@ dependencies { implementation(project(":azure-intellij-plugin-lib-java")) implementation("com.microsoft.azure:azure-toolkit-common-lib") implementation("com.microsoft.azure:azure-toolkit-ide-common-lib") - testImplementation("org.junit.jupiter:junit-jupiter:5.8.1") - testImplementation("org.mockito:mockito-core:3.9.0") + testImplementation("org.junit.jupiter:junit-jupiter:5.12.2") + testRuntimeOnly("org.junit.platform:junit-platform-launcher") + testImplementation("org.mockito:mockito-core:5.23.0") intellijPlatform { // Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins. diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-keyvault/src/main/java/com/microsoft/azure/toolkit/intellij/keyvault/creation/certificate/CertificateCreationDialog.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-keyvault/src/main/java/com/microsoft/azure/toolkit/intellij/keyvault/creation/certificate/CertificateCreationDialog.java index 196d3a655e3..dfb8f987792 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-keyvault/src/main/java/com/microsoft/azure/toolkit/intellij/keyvault/creation/certificate/CertificateCreationDialog.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-keyvault/src/main/java/com/microsoft/azure/toolkit/intellij/keyvault/creation/certificate/CertificateCreationDialog.java @@ -59,7 +59,8 @@ protected void init() { txtPassword.setRequired(false); final FileChooserDescriptor descriptor = FileChooserDescriptorFactory.createSingleFileDescriptor() .withFileFilter(file -> StringUtils.equalsAnyIgnoreCase(file.getExtension(), "pem", "pfx")); - txtCertificate.addBrowseFolderListener("Select Certificate File", "Select Certificate File", null, descriptor); + txtCertificate.addBrowseFolderListener(null, descriptor.withTitle("Select Certificate File") + .withDescription("Select Certificate File")); this.lblCertificateFile.setLabelFor(txtCertificate); this.lblName.setLabelFor(txtName); this.lblPassword.setLabelFor(passwordField); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib-java/build.gradle.kts b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib-java/build.gradle.kts index 98df1604baf..51c12b46c7d 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib-java/build.gradle.kts +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib-java/build.gradle.kts @@ -5,8 +5,7 @@ plugins { sourceSets { main { resources { - srcDir("src/main/resources") - exclude("whatsnew.assets/**") + exclude("whatsnew.assets/**", "whatsnew-history.md") } } test { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib-java/src/main/resources/whatsnew.md b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib-java/src/main/resources/whatsnew-history.md similarity index 86% rename from PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib-java/src/main/resources/whatsnew.md rename to PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib-java/src/main/resources/whatsnew-history.md index 91d763086b0..7cdc6e3bf02 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib-java/src/main/resources/whatsnew.md +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib-java/src/main/resources/whatsnew-history.md @@ -1,106 +1,8 @@ - -# What's new in Azure Toolkit for IntelliJ - -## 3.97.7 -### Fixed -- Fixed appmod plugin: Copilot modernization branding, CVE fix actions with custom agent support, and context menu hover issue. - -## 3.97.6 -### Fixed -- Fixed several UI freeze issues caused by non-cancellable read actions in Azure task manager, Azure artifact resolution, Maven report generation, and background JDK version checks. - -## 3.97.5 -### Added -- Enable Azure Skills for GitHub Copilot. - -### Fixed -- Fixed zip entry path check. -- Fixed screen reader not reading the new status after selecting subscription with keyboard. - -## 3.97.4 -- Update prompts and tool references of GitHub Copilot modernization. - -## 3.97.3 -- Rename GitHub Copilot app modernization to GitHub Copilot modernization. - -## 3.97.2 -### Fixed -- Fixed a known issue. - -## 3.97.1 -### Fixed -- Fixed [#11647](https://github.com/microsoft/azure-tools-for-java/issues/11647): Error checking JDK version: x.xx.x - -## 3.97.0 -### Added -- Integrate GitHub Copilot app modernization with "Migrate to Azure" entry points - - New "Migrate to Azure" node under Azure root node in Service Explorer - - New "Migrate to Azure" action in project/module right-click context menu - - New "Migrate to Azure" node under Azure facet in Project Explorer - - Auto-detection and installation prompt for GitHub Copilot app modernization plugin -- Detect outdated Java/framework and suggest upgrades with "GitHub Copilot app modernization" -- Detect CVEs in Java project dependencies and suggest upgrades with "GitHub Copilot app modernization" - -## 3.96.3 -- Support IntelliJ 2025.3 EAP -- Update the Azure MCP server name from releases list - -## 3.96.2 -- Configure GitHub Copilot with trimmed Azure MCP server for faster startup and a smaller footprint. - -## 3.96.1 -- Configure Azure MCP server for GitHub Copilot -- Integrate azd to Azure Explorer -- Fix some known issues - -## 3.95.0 -- Update function cdn uri -- Integrate rule sets for flagging and making better Azure SDK usage. - -## 3.94.0 -- Fix some known issues. - -## 3.93.0 -- Support IntelliJ 2024.3 Beta -- Support Azure Cloud Shell (Thanks for @rafaelldi) - -## 3.92.0 -- Added Managed identity support for Azure Functions. -- Fixed [#8473](https://github.com/microsoft/azure-tools-for-java/issues/8473): Class initialization must not depend on services. Consider using instance of the service on-demand instead. -- Fixed [#8497](https://github.com/microsoft/azure-tools-for-java/issues/8497): fix support for swap - -## 3.91.0 -- Added support for Managed Identity Authentication in Web App Resource Connections. - - Support update the identity configuration of Web App to connect Azure resources (Azure Storage Account/Azure Key Vault/Azure Cosmos DB for NoSQL) - - Support grant permission to managed identity to connected resource (Azure Storage Account/Azure Key Vault) - -## 3.90.0 -### Added -- Support IntelliJ 2024.2 EAP -- Support workload profiles environment type in Azure Container Apps - - Support create workload profiles during the creation of an Azure Container Apps environment. - - Enable setting of workload profiles during the creation of container apps and function apps. - -## 3.89.0 -### Added -- Added a "get started with Azure Container Apps" course. - -### Fixed -- Error occurs when pushing image to container registry with docker file. -- WebApp of deploy WebApp run configuration shows incorrectly after deploying to a slot. -- "Load .env" before run task doesn't show in cases when deploying Azure WebApp. -- Some other know issues. - -## 3.88.1 -### Added -- Support creation/deployment for flex consumption function app. - -### Fixed -- Fixes duplicate before run tasks for Azure Container Apps deployment run configuration + ## 3.88.0 ### Added -- Support for deploying source code/artifacts to Azure Container Apps directly. +- Support for deploying source code/artifacts to Azure Container Apps directly. deploy source code to Azure ### Fixed @@ -108,7 +10,7 @@ ## 3.87.0 ### Added -- Support for connecting Azure Storage account with connection string and managing them in both `Services` view and `Project Explorer`. +- Support for connecting Azure Storage account with connection string and managing them in both `Services` view and `Project Explorer`. ### Fixed - [#8205](https://github.com/microsoft/azure-tools-for-java/issues/8205): Could not emit tick xxx due to lack of requests (interval doesn't support small downstream requests that replenish slower than the ticks) @@ -120,7 +22,7 @@ ## 3.86.0 ### Added -- Support for managing Azure resources in integrated `Services` view. +- Support for managing Azure resources in integrated `Services` view. - Feature recommendation based on user project dependencies. ### Updated @@ -133,9 +35,9 @@ ## 3.85.0 ### Added -- Support for containerized FunctionApps (based on Azure Container Apps) +- Support for containerized FunctionApps (based on Azure Container Apps) - Support for creating docker WebApp/FunctionApp -- Support for Managing Azure Container Registries (ACR) with bundled Docker plugin (2023.3) in integrated `Services` view. +- Support for Managing Azure Container Registries (ACR) with bundled Docker plugin (2023.3) in integrated `Services` view. - Warn user when creating/deploying WebApps/FunctionApps of (to-be-) deprected runtime. ### Updated @@ -151,11 +53,11 @@ ## 3.84.0 ### Added -- Browse Azure sample projects and create new project from them. +- Browse Azure sample projects and create new project from them. browse azure sample projects -- More "shortcut" actions to manage Azure Kubernetes Service (AKS) resources with bundled Kubernetes plugin (2023.3). - add AKS into Kubernetes Explorer +- More "shortcut" actions to manage Azure Kubernetes Service (AKS) resources with bundled Kubernetes plugin (2023.3). + add AKS into Kubernetes Explorer open AKS in Kubernetes Explorer ### Updated @@ -167,8 +69,8 @@ * Resource Management features in Azure explorer - Create new secret/certificate/key in toolkts - View/Download secret/certificate/key (need Azure CLI installed) - * Code assistance of Key Vault for Spring project - keyvault code assistance + * Code assistance of Key Vault for Spring project + keyvault code assistance create secret from plain text ### Fixed @@ -179,10 +81,10 @@ ## 3.82.0 ### Added -- Code assistance of Azure resources for Spring and Azure Functions. - spring cloud code assistance - function code assistance -- Azure Functions flex consumption tier support. +- Code assistance of Azure resources for Spring and Azure Functions. + spring cloud code assistance + function code assistance +- Azure Functions flex consumption tier support. ### Fixed - [#7907](https://github.com/microsoft/azure-tools-for-java/issues/7907): Uncaught Exception Operator called default onErrorDropped java.lang.InterruptedException. @@ -208,9 +110,9 @@ ## 3.80.0 ### Added -- Azure OpenAI (chat) playground for GTP* models. +- Azure OpenAI (chat) playground for GTP* models. azure openai playground -- Guidance (Getting started course) to try Azure OpenAI and its playground (chat) in IntelliJ IDEA. +- Guidance (Getting started course) to try Azure OpenAI and its playground (chat) in IntelliJ IDEA. getting started with azure openai - Azure OpenAI resource management. @@ -229,9 +131,9 @@ ## 3.79.0 ### Added -- Support for creating Azure Spring apps/services of Enterprise/Standard/Basic tier in IDE. +- Support for creating Azure Spring apps/services of Enterprise/Standard/Basic tier in IDE. create spring apps -- Support for managing deployment target services directly in Project Explorer. +- Support for managing deployment target services directly in Project Explorer. deployment targets ### Fixed @@ -289,14 +191,14 @@ - Basic resource management support for service connections - New one click action to deploy Dockerfile (build image first) to Azure Container App Azure Container Apps -- Finer granular resource management(registry/repository/images/...) for Azure Container Registry +- Finer granular resource management(registry/repository/images/...) for Azure Container Registry Azure Container Registry - Monitoring support for Azure Container Apps (azure monitor integration & log streaming) ### Changed - Docker development/container based Azure services experience enhancement - UX enhancement for docker host run/deploy experience - - Migrate docker client to docker java to unblock docker experience in MacOS + - Migrate docker client to docker java to unblock docker experience in MacOS - UX enhancement for Azure Monitor - Finer time control (hour, minute, seconds...) for montior queries - Add customer filters persistence support @@ -353,15 +255,15 @@ ## 3.73.0 ### Added -- [Azure Monitor] Azure Monitor to view history logs with rich filters. +- [Azure Monitor] Azure Monitor to view history logs with rich filters. gif of Azure Monitor -- [Azure Container Apps] Creation of Azure Container Apps Environment. -- [Azure Explorer] Pagination support in Azure Explorer. +- [Azure Container Apps] Creation of Azure Container Apps Environment. +- [Azure Explorer] Pagination support in Azure Explorer. load more in azure explorer ### Changed - Update default Java runtime to Java 11 when creating Azure Spring App. -- Add setting item to allow users to choose whether to enable authentication cache. +- Add setting item to allow users to choose whether to enable authentication cache. setting item to enable auth cache ### Fixed diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/build.gradle.kts b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/build.gradle.kts index 8229d1b47d3..43b0e280aab 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/build.gradle.kts +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/build.gradle.kts @@ -28,4 +28,3 @@ dependencies { bundledPlugin("org.jetbrains.plugins.terminal") } } - diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureActionButton.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureActionButton.java index 18c1026b9cb..18ca266eb0f 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureActionButton.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureActionButton.java @@ -6,10 +6,11 @@ package com.microsoft.azure.toolkit.intellij.common; import com.intellij.ide.DataManager; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.actionSystem.DataKey; -import com.intellij.openapi.actionSystem.EmptyAction; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.UserDataHolder; import com.microsoft.azure.toolkit.lib.common.action.Action; @@ -95,10 +96,27 @@ private void registerActionListener() { private void onActionPerformed(ActionEvent actionEvent) { final DataContext dataContext = DataManager.getInstance().getDataContext(this); - final DataContext context = (String key) -> StringUtils.equals(key, ACTION_EVENT_KEY.getName()) ? - actionEvent : dataContext.getData(key); + final DataContext context = new DataContext() { + @Override + public Object getData(@Nonnull String dataId) { + if (StringUtils.equals(dataId, ACTION_EVENT_KEY.getName())) { + return actionEvent; + } + return dataContext.getData(dataId); + } + + @Override + public T getData(@Nonnull DataKey key) { + if (StringUtils.equals(key.getName(), ACTION_EVENT_KEY.getName())) { + @SuppressWarnings("unchecked") + T result = (T) actionEvent; + return result; + } + return dataContext.getData(key); + } + }; // todo: use panel name as the action place - final AnActionEvent event = AnActionEvent.createFromDataContext("actionButton", null, context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "actionButton", ActionUiKind.NONE, null); Optional.ofNullable(action).ifPresent(a -> a.handle(null, event)); } } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureDialog.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureDialog.java index a2623b3eac1..f07314d5f5e 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureDialog.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureDialog.java @@ -5,9 +5,10 @@ package com.microsoft.azure.toolkit.intellij.common; import com.intellij.ide.DataManager; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.DataContext; -import com.intellij.openapi.actionSystem.EmptyAction; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.DialogWrapper; import com.intellij.openapi.ui.ValidationInfo; @@ -66,7 +67,7 @@ protected void doOKAction() { if (Objects.nonNull(this.okAction)) { final T data = this.getForm().getValue(); final DataContext context = DataManager.getInstance().getDataContext(this.getContentPanel()); - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), null, getName(), context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), getName(), ActionUiKind.NONE, null); this.okAction.handle(data, event); super.doOKAction(); } else if (Objects.nonNull(this.okActionListener)) { @@ -89,7 +90,7 @@ public void doCancelAction() { try { if (Objects.nonNull(this.closeAction)) { final DataContext context = DataManager.getInstance().getDataContext(this.getContentPanel()); - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), null, getName(), context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), getName(), ActionUiKind.NONE, null); this.closeAction.handle(null, event); super.doCancelAction(); } else { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/CommonConst.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/CommonConst.java index de94fcd41bd..c23ac1c15c6 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/CommonConst.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/CommonConst.java @@ -19,7 +19,7 @@ public class CommonConst { public static final String PLUGIN_ID = "com.microsoft.tooling.msservices.intellij.azure"; public static final String PLUGIN_NAME = "azure-toolkit-for-intellij"; public static final String PLUGIN_VERSION = PluginManager.getPlugin(PluginId.getId(PLUGIN_ID)).getVersion(); - public static final String PLUGIN_PATH = Objects.requireNonNull(PluginManagerCore.getPlugin(PluginId.findId(PLUGIN_ID))).getPluginPath().toString(); + public static final String PLUGIN_PATH = Objects.requireNonNull(PluginManagerCore.getPlugin(PluginId.getId(PLUGIN_ID))).getPluginPath().toString(); public static final String SPARK_APPLICATION_TYPE = "com.microsoft.azure.hdinsight.DefaultSparkApplicationType"; public static final String LOADING_TEXT = "Loading..."; diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/action/IntellijAzureActionManager.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/action/IntellijAzureActionManager.java index 1809c7dd3f7..11b92593f52 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/action/IntellijAzureActionManager.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/action/IntellijAzureActionManager.java @@ -152,7 +152,7 @@ public ShortcutSet getShortcuts() { @Nullable @SuppressWarnings("unchecked") private T getSource(@Nonnull AnActionEvent e) { - return Optional.ofNullable((T) e.getDataContext().getData(Action.SOURCE)) + return Optional.ofNullable((T) e.getDataContext().getData(ACTION_SOURCE)) .or(() -> Optional.ofNullable(e.getData(CommonDataKeys.NAVIGATABLE_ARRAY)) .filter(d -> d.length == 1 && d[0] instanceof DataProvider) .map(d -> (DataProvider) d[0]) @@ -322,7 +322,6 @@ public void registerCustomShortcutSetForActions(JComponent component, @Nullable } @Override - @SuppressWarnings("UnresolvedPropertyKey") public Shortcuts getIDEDefaultShortcuts() { return new Shortcuts() { @Override @@ -347,7 +346,7 @@ public Object edit() { @Override public Object refresh() { - return Action.Id.of(IdeActions.ACTION_REFRESH); + return getShortcutSet(IdeActions.ACTION_REFRESH); } @Override @@ -362,12 +361,12 @@ public Object restart() { @Override public Object stop() { - return Action.Id.of(IdeActions.ACTION_STOP_PROGRAM); + return getShortcutSet(IdeActions.ACTION_STOP_PROGRAM); } @Override public Object deploy() { - return Action.Id.of(IdeActions.ACTION_DEFAULT_RUNNER); + return getShortcutSet(IdeActions.ACTION_DEFAULT_RUNNER); } @Override @@ -382,6 +381,13 @@ public Object paste() { }; } + @Nullable + private static ShortcutSet getShortcutSet(@Nonnull String actionId) { + return Optional.ofNullable(ActionManager.getInstance().getAction(actionId)) + .map(AnAction::getShortcutSet) + .orElse(null); + } + public static class Provider implements AzureActionManagerProvider { @Override diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/auth/AzureLoginHelper.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/auth/AzureLoginHelper.java index bedd6014291..d9c126ba6eb 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/auth/AzureLoginHelper.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/auth/AzureLoginHelper.java @@ -5,8 +5,10 @@ package com.microsoft.azure.toolkit.intellij.common.auth; import com.intellij.openapi.actionSystem.ActionManager; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.actionSystem.impl.SimpleDataContext; import com.intellij.openapi.project.Project; import com.microsoft.azure.toolkit.lib.Azure; @@ -62,8 +64,8 @@ public static boolean isAzureSubsAvailableOrReportError(String dialogTitle) { public static void requireSignedIn(Project project, Consumer consumer) { // Todo(andxu): legacy code shall be deleted later. final Action> requireAuth = AzureActionManager.getInstance().getAction(Action.REQUIRE_AUTH); - final AnActionEvent event = AnActionEvent.createFromAnAction(ActionManager.getInstance().getAction("AzureToolkit.AzureSignIn"), - null, "not_used", SimpleDataContext.getSimpleContext(CommonDataKeys.PROJECT, project)); + final AnActionEvent event = AnActionEvent.createEvent(ActionManager.getInstance().getAction("AzureToolkit.AzureSignIn"), + SimpleDataContext.getSimpleContext(CommonDataKeys.PROJECT, project), new Presentation(), "not_used", ActionUiKind.NONE, null); if (Objects.nonNull(requireAuth)) { requireAuth.handle(consumer, event); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/auth/ServicePrincipalLoginDialog.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/auth/ServicePrincipalLoginDialog.java index 3ab1eed3dde..e72aece3c6c 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/auth/ServicePrincipalLoginDialog.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/auth/ServicePrincipalLoginDialog.java @@ -17,8 +17,7 @@ import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory; import com.intellij.openapi.ide.CopyPasteManager; import com.intellij.openapi.project.Project; -import com.intellij.openapi.ui.ComponentWithBrowseButton; -import com.intellij.openapi.ui.TextComponentAccessor; +import com.intellij.openapi.ui.TextBrowseFolderListener; import com.intellij.openapi.ui.TextFieldWithBrowseButton; import com.intellij.openapi.ui.ValidationInfo; import com.intellij.openapi.vfs.LocalFileSystem; @@ -83,8 +82,7 @@ public ServicePrincipalLoginDialog(@Nonnull Project project) { // initialize cert file select final FileChooserDescriptor pem = FileChooserDescriptorFactory.createSingleFileDescriptor("pem"); pem.withFileFilter(file -> StringUtils.equalsIgnoreCase(file.getExtension(), "pem")); - certFileTextField.addActionListener(new ComponentWithBrowseButton.BrowseFolderActionListener<>("Select Certificate File", null, certFileTextField, null, - pem, TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT) { + certFileTextField.addBrowseFolderListener(new TextBrowseFolderListener(pem.withTitle("Select Certificate File")) { @Nullable protected VirtualFile getInitialFile() { return LocalFileSystem.getInstance().findFileByPath(Paths.get(System.getProperty("user.home"), "/").toString()); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/component/TreeUtils.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/component/TreeUtils.java index f3cb3890056..2bc89d1af11 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/component/TreeUtils.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/component/TreeUtils.java @@ -157,7 +157,7 @@ private static void clickNode(final MouseEvent e, final Tree.TreeNode node) { } else { final DataContext context = DataManager.getInstance().getDataContext(tree); place += ".node"; - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), e, place, context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), place, ActionUiKind.NONE, e); if (e.getClickCount() == 1) { node.inner.click(event); } else if (e.getClickCount() == 2) { @@ -175,7 +175,7 @@ public void mousePressed(MouseEvent e) { if (Objects.nonNull(node) && e.getClickCount() == 1 && inlineActionIndex > -1) { final String place = TreeUtils.getPlace(tree) + "." + (TreeUtils.underAppGroups(node) ? "app" : "type") + ".inline"; final DataContext context = DataManager.getInstance().getDataContext(tree); - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), e, place, context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), place, ActionUiKind.NONE, e); node.inner.triggerInlineAction(event, inlineActionIndex, TreeUtils.getPlace(tree)); } } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/messager/IntellijAzureMessager.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/messager/IntellijAzureMessager.java index 70f2adc7bc9..d2fc996c232 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/messager/IntellijAzureMessager.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/messager/IntellijAzureMessager.java @@ -61,7 +61,9 @@ public IntellijAzureMessager() { } private static Notification createNotification(@Nonnull String title, @Nonnull String content, NotificationType type) { - return new Notification(NOTIFICATION_GROUP_ID, title, content, type, new NotificationListener.UrlOpeningListener(false) { + final Notification notification = new Notification(NOTIFICATION_GROUP_ID, content, type); + notification.setTitle(title); + notification.setListener(new NotificationListener.UrlOpeningListener(false) { @Override @SneakyThrows protected void hyperlinkActivated(@NotNull Notification notification, @NotNull HyperlinkEvent event) { @@ -85,6 +87,7 @@ protected void hyperlinkActivated(@NotNull Notification notification, @NotNull H } } }); + return notification; } @Override diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/messager/IntellijErrorDialog.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/messager/IntellijErrorDialog.java index f3fe75064b7..31b1b8d24f2 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/messager/IntellijErrorDialog.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/messager/IntellijErrorDialog.java @@ -8,10 +8,10 @@ import com.intellij.ide.BrowserUtil; import com.intellij.ide.DataManager; import com.intellij.openapi.actionSystem.ActionPlaces; -import com.intellij.openapi.actionSystem.AnAction; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.DataContext; -import com.intellij.openapi.actionSystem.EmptyAction; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.ui.DialogWrapper; import com.intellij.openapi.ui.Messages; import com.intellij.ui.HideableDecorator; @@ -86,8 +86,7 @@ protected void doAction(final ActionEvent e) { .or(() -> Optional.ofNullable(e.getSource()).filter(s -> s instanceof Component).map(c -> ((Component) c))) .orElse(IntellijErrorDialog.this.getWindow()); final DataContext context = DataManager.getInstance().getDataContext(source); - final AnAction dummyAction = new EmptyAction(); - final AnActionEvent actionEvent = AnActionEvent.createFromAnAction(dummyAction, inputEvent, ActionPlaces.UNKNOWN, context); + final AnActionEvent actionEvent = AnActionEvent.createEvent(context, new Presentation(), ActionPlaces.UNKNOWN, ActionUiKind.NONE, inputEvent); a.handle(null, actionEvent); } }; diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/streaminglog/StreamingLogsConsoleView.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/streaminglog/StreamingLogsConsoleView.java index 673f62e0b65..9a7192bf171 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/streaminglog/StreamingLogsConsoleView.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/streaminglog/StreamingLogsConsoleView.java @@ -14,12 +14,11 @@ public class StreamingLogsConsoleView extends ConsoleViewImpl { private static final String SEPARATOR = System.getProperty("line.separator"); - private boolean isDisposed; + private boolean disposed; private Disposable subscription; public StreamingLogsConsoleView(@NotNull Project project) { super(project, true); - this.isDisposed = false; this.setUpdateFoldingsEnabled(false); } @@ -43,13 +42,8 @@ public boolean isActive() { return subscription != null && !subscription.isDisposed(); } - /** - * Returns whether this console view has been disposed. - * Note: In IntelliJ 261+, ConsoleViewImpl.isDisposed() is private final, - * so this is NOT an override but a new public method for callers. - */ - public boolean isDisposed() { - return this.isDisposed; + public boolean isConsoleDisposed() { + return this.disposed; } private void printlnToConsole(String message, ConsoleViewContentType consoleViewContentType) { @@ -59,7 +53,7 @@ private void printlnToConsole(String message, ConsoleViewContentType consoleView @Override public void dispose() { super.dispose(); - this.isDisposed = true; + this.disposed = true; closeStreamingLog(); } } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/subscription/SubscriptionsDialog.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/subscription/SubscriptionsDialog.java index d46ae27eea0..d552d0e6446 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/subscription/SubscriptionsDialog.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/subscription/SubscriptionsDialog.java @@ -260,7 +260,7 @@ public void actionPerformed(AnActionEvent anActionEvent) { refreshAction.registerCustomShortcutSet(KeyEvent.VK_R, InputEvent.ALT_DOWN_MASK, contentPane); final ToolbarDecorator tableToolbarDecorator = ToolbarDecorator.createDecorator(table) .disableUpDownActions() - .addExtraAction(refreshAction); + .addExtraAction((com.intellij.openapi.actionSystem.AnAction) refreshAction); panelTable = tableToolbarDecorator.createPanel(); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/telemetry/IntelliJAzureTelemetryCommonPropertiesProvider.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/telemetry/IntelliJAzureTelemetryCommonPropertiesProvider.java index 09bcea791c2..36e0d602c3e 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/telemetry/IntelliJAzureTelemetryCommonPropertiesProvider.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/telemetry/IntelliJAzureTelemetryCommonPropertiesProvider.java @@ -6,7 +6,7 @@ package com.microsoft.azure.toolkit.intellij.common.telemetry; import com.intellij.openapi.application.ApplicationInfo; -import com.intellij.openapi.application.PermanentInstallationID; +import com.intellij.openapi.application.JetBrainsPermanentInstallationID; import com.microsoft.azure.toolkit.intellij.common.CommonConst; import com.microsoft.azure.toolkit.intellij.common.settings.IntellijStore; import com.microsoft.azure.toolkit.lib.Azure; @@ -45,7 +45,7 @@ public static final String getInstallationId() { installId = InstallationIdUtils.getHashMac(); } if (StringUtils.isBlank(installId) || !InstallationIdUtils.isValidHashMac(installId)) { - installId = InstallationIdUtils.hash(PermanentInstallationID.get()); + installId = InstallationIdUtils.hash(JetBrainsPermanentInstallationID.get()); } return installId; } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/common/AzureRunProfileState.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/common/AzureRunProfileState.java index d7c8829ae57..8f3add17953 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/common/AzureRunProfileState.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/legacy/common/AzureRunProfileState.java @@ -14,9 +14,11 @@ import com.intellij.execution.process.ProcessEvent; import com.intellij.execution.runners.ProgramRunner; import com.intellij.execution.ui.ConsoleView; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.actionSystem.DataContext; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.project.Project; import com.microsoft.azure.toolkit.intellij.common.RunProcessHandler; import com.microsoft.azure.toolkit.intellij.common.RunProcessHandlerMessenger; @@ -119,7 +121,7 @@ protected void onFail(@NotNull Throwable error, @NotNull RunProcessHandler proce if (rootCause instanceof StreamingDiagnosticsException root) { final Action action = AzureActionManager.getInstance().getAction(StreamingLogSupport.OPEN_STREAMING_LOG); final DataContext context = dataId -> CommonDataKeys.PROJECT.getName().equals(dataId) ? project : null; - final AnActionEvent event = AnActionEvent.createFromDataContext("azure.run_state.deploy_image", null, context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "azure.run_state.deploy_image", ActionUiKind.NONE, null); action.handle(root.getStreamingLog(), event); } } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-samples/build.gradle.kts b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-samples/build.gradle.kts index 626b956b018..7990e194d0c 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-samples/build.gradle.kts +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-samples/build.gradle.kts @@ -9,5 +9,6 @@ dependencies { intellijPlatform { // Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins. bundledPlugin("Git4Idea") + bundledModule("intellij.platform.vcs.impl") } } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-samples/src/main/java/com/microsoft/azure/toolkit/intellij/samples/view/AzureSamplesCloneDialogExtensionComponent.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-samples/src/main/java/com/microsoft/azure/toolkit/intellij/samples/view/AzureSamplesCloneDialogExtensionComponent.java index 4828c231231..1b0ccc94a23 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-samples/src/main/java/com/microsoft/azure/toolkit/intellij/samples/view/AzureSamplesCloneDialogExtensionComponent.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-samples/src/main/java/com/microsoft/azure/toolkit/intellij/samples/view/AzureSamplesCloneDialogExtensionComponent.java @@ -237,7 +237,8 @@ private void createUIComponents() { final FileChooserDescriptor fcd = FileChooserDescriptorFactory.createSingleFolderDescriptor(); fcd.setShowFileSystemRoots(true); fcd.setHideIgnored(false); - this.directoryField.addBrowseFolderListener("Destination Directory", "Select a parent directory for the clone", project, fcd); + this.directoryField.addBrowseFolderListener(project, fcd.withTitle("Destination Directory") + .withDescription("Select a parent directory for the clone")); } @Override diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/toolkit/intellij/sparkoncosmos/actions/SubmitClusterJobAction.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/toolkit/intellij/sparkoncosmos/actions/SubmitClusterJobAction.java index e8528093a5c..7128c1c3018 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/toolkit/intellij/sparkoncosmos/actions/SubmitClusterJobAction.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/toolkit/intellij/sparkoncosmos/actions/SubmitClusterJobAction.java @@ -2,6 +2,7 @@ import com.intellij.execution.RunManager; import com.intellij.execution.RunnerAndConfigurationSettings; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.project.Project; @@ -42,11 +43,13 @@ public static void submit(SparkOnCosmosClusterNode target, AnActionEvent e) { Presentation actionPresentation = new Presentation("Submit Job"); actionPresentation.setDescription("Submit specified Spark application into the remote cluster"); - AnActionEvent event = AnActionEvent.createFromDataContext( + AnActionEvent event = AnActionEvent.createEvent( + context, + actionPresentation, String.format("Azure Data Lake Spark pool %s:%s context menu", cluster.getAccount().getName(), cluster.getName()), - actionPresentation, - context); + ActionUiKind.NONE, + null); new CosmosSparkSelectAndSubmitAction().actionPerformed(event); } catch (Exception ignore) { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/toolkit/intellij/sparkoncosmos/actions/SubmitSOCServerlessJob.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/toolkit/intellij/sparkoncosmos/actions/SubmitSOCServerlessJob.java index 4550f77121a..ebf98699b3e 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/toolkit/intellij/sparkoncosmos/actions/SubmitSOCServerlessJob.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/toolkit/intellij/sparkoncosmos/actions/SubmitSOCServerlessJob.java @@ -2,6 +2,7 @@ import com.intellij.execution.RunManager; import com.intellij.execution.RunnerAndConfigurationSettings; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.project.Project; @@ -42,11 +43,13 @@ public static void submit(SparkOnCosmosADLAccountNode target, AnActionEvent e) { Presentation actionPresentation = new Presentation("Submit Cosmos Serverless Spark Job"); actionPresentation.setDescription("Submit specified Spark application into the remote cluster"); - AnActionEvent event = AnActionEvent.createFromDataContext( + AnActionEvent event = AnActionEvent.createEvent( + context, + actionPresentation, String.format("Cosmos Serverless Cluster %s:%s context menu", adlAccount.getName(), adlAccount.getName()), - actionPresentation, - context); + ActionUiKind.NONE, + null); new CosmosServerlessSparkSelectAndSubmitAction().actionPerformed(event); } catch (Exception ignore) { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/ui/components/JsonEnvPropertiesField.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/ui/components/JsonEnvPropertiesField.java index 14a699bc597..64f70457ba1 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/ui/components/JsonEnvPropertiesField.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/java/com/microsoft/azure/ui/components/JsonEnvPropertiesField.java @@ -214,7 +214,6 @@ protected AnActionButtonRunnable createRemoveAction() { } @NotNull - @Override protected AnActionButton[] createExtraActions() { return myUserList ? super.createExtraActions() diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/kotlin/com/microsoft/azure/cosmos/spark/actions/SparkAppSubmitContext.kt b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/kotlin/com/microsoft/azure/cosmos/spark/actions/SparkAppSubmitContext.kt index 85ef7a29f7a..544ed6ee7b6 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/kotlin/com/microsoft/azure/cosmos/spark/actions/SparkAppSubmitContext.kt +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-sparkoncosmos/src/main/kotlin/com/microsoft/azure/cosmos/spark/actions/SparkAppSubmitContext.kt @@ -28,8 +28,14 @@ import com.intellij.openapi.actionSystem.DataKey class SparkAppSubmitContext : DataContext { private val dataStore = mutableMapOf() - override fun getData(key: String): Any? { - return dataStore[key] + @Suppress("OVERRIDE_DEPRECATION") + override fun getData(dataId: String): Any? { + return dataStore[dataId] + } + + override fun getData(key: DataKey): T? { + @Suppress("UNCHECKED_CAST") + return dataStore[key.name] as? T } fun putData(key: DataKey, value: T): SparkAppSubmitContext = apply { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-storage-java/src/main/java/com/microsoft/azure/toolkit/intellij/storage/code/spring/StoragePathCompletionProvider.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-storage-java/src/main/java/com/microsoft/azure/toolkit/intellij/storage/code/spring/StoragePathCompletionProvider.java index 7336b23f8fb..e92e5298869 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-storage-java/src/main/java/com/microsoft/azure/toolkit/intellij/storage/code/spring/StoragePathCompletionProvider.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-storage-java/src/main/java/com/microsoft/azure/toolkit/intellij/storage/code/spring/StoragePathCompletionProvider.java @@ -12,7 +12,9 @@ import com.intellij.codeInsight.lookup.LookupElementBuilder; import com.intellij.ide.DataManager; import com.intellij.openapi.actionSystem.ActionPlaces; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.module.Module; import com.intellij.openapi.module.ModuleUtil; import com.intellij.psi.PsiElement; @@ -200,7 +202,7 @@ public static void navigateToFile(StorageFile file, Module module) { AbstractAzureFacetNode.selectConnectedResource(connections.get(0), file.getId(), file.isDirectory()); if (!file.isDirectory()) { DataManager.getInstance().getDataContextFromFocusAsync().onSuccess(context -> { - final AnActionEvent event = AnActionEvent.createFromInputEvent(null, ActionPlaces.EDITOR_GUTTER, null, context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), ActionPlaces.EDITOR_GUTTER, ActionUiKind.NONE, null); AzureActionManager.getInstance().getAction(StorageActionsContributor.OPEN_FILE).handle(file, event); }); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-storage/src/main/java/com/microsoft/azure/toolkit/intellij/storage/azurite/AzuriteService.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-storage/src/main/java/com/microsoft/azure/toolkit/intellij/storage/azurite/AzuriteService.java index 5ba3e3c72c2..faa7dcce835 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-storage/src/main/java/com/microsoft/azure/toolkit/intellij/storage/azurite/AzuriteService.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-storage/src/main/java/com/microsoft/azure/toolkit/intellij/storage/azurite/AzuriteService.java @@ -153,7 +153,7 @@ private void showAzuriteTerminal(@Nonnull final Project project) { private ConsoleView getOrCreateConsoleView(final Project project) { final DataContext context = dataId -> CommonDataKeys.PROJECT.getName().equals(dataId) ? project : null; - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), null, "azure.azurite", context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "azure.azurite", ActionUiKind.NONE, null); ActionManager.getInstance().getAction("ActivateRunToolWindow").actionPerformed(event); final ConsoleView console = TextConsoleBuilderFactory.getInstance().createBuilder(project).getConsole(); final ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow("Run"); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-synapse/build.gradle.kts b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-synapse/build.gradle.kts index 290303d3c0a..6b2359d9f57 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-synapse/build.gradle.kts +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-synapse/build.gradle.kts @@ -18,7 +18,7 @@ dependencies { // Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins. bundledPlugin("com.intellij.java") bundledPlugin("org.jetbrains.idea.maven") - plugins("org.intellij.scala:2024.2.5") + plugins("org.intellij.scala:2026.2.5") } } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/creation/VMCreationDialog.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/creation/VMCreationDialog.java index f324e0e8f17..8d55fdd34a6 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/creation/VMCreationDialog.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/creation/VMCreationDialog.java @@ -9,8 +9,6 @@ import com.intellij.openapi.fileChooser.FileChooserDescriptor; import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory; import com.intellij.openapi.project.Project; -import com.intellij.openapi.ui.ComponentWithBrowseButton; -import com.intellij.openapi.ui.TextComponentAccessor; import com.intellij.openapi.ui.ValidationInfo; import com.intellij.ui.TitledSeparator; import com.microsoft.azure.toolkit.intellij.common.AzureComboBox; @@ -208,8 +206,7 @@ protected void init() { cbImage.addItemListener(this::onImageChanged); // initialize cert file select final FileChooserDescriptor pub = FileChooserDescriptorFactory.createSingleFileDescriptor("pub"); - txtCertificate.addActionListener(new ComponentWithBrowseButton.BrowseFolderActionListener<>(SELECT_CERT_TITLE, SSH_PUBLIC_KEY_DESCRIPTION, txtCertificate, - project, pub, TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT)); + txtCertificate.addBrowseFolderListener(project, pub.withTitle(SELECT_CERT_TITLE).withDescription(SSH_PUBLIC_KEY_DESCRIPTION)); lblSubscription.setIcon(AllIcons.General.ContextHelp); lblResourceGroup.setIcon(AllIcons.General.ContextHelp); lblAuthenticationType.setIcon(AllIcons.General.ContextHelp); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/ssh/ConnectUsingSshActionCommunityImpl.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/ssh/ConnectUsingSshActionCommunityImpl.java index ee78ef9a585..77302cf0af7 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/ssh/ConnectUsingSshActionCommunityImpl.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/ssh/ConnectUsingSshActionCommunityImpl.java @@ -11,7 +11,7 @@ import com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager; import com.microsoft.azure.toolkit.lib.compute.virtualmachine.VirtualMachine; import org.jetbrains.plugins.terminal.ShellTerminalWidget; -import org.jetbrains.plugins.terminal.TerminalView; +import org.jetbrains.plugins.terminal.TerminalToolWindowManager; import javax.annotation.Nonnull; import java.io.IOException; @@ -29,9 +29,9 @@ public void connectBySsh(VirtualMachine vm, @Nonnull Project project) { final String machineName = vm.getName(); AzureTaskManager.getInstance().runLater(() -> { // create a new terminal tab - final TerminalView terminalView = TerminalView.getInstance(project); + final TerminalToolWindowManager terminalManager = TerminalToolWindowManager.getInstance(project); final String terminalTitle = String.format(SSH_TERMINAL_TABLE_NAME, machineName); - final ShellTerminalWidget shellTerminalWidget = terminalView.createLocalShellWidget(null, terminalTitle); + final ShellTerminalWidget shellTerminalWidget = terminalManager.createLocalShellWidget(null, terminalTitle); try { // create ssh connection in terminal openTerminal(vm, shellTerminalWidget); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/ssh/ConnectUsingSshActionUltimateImpl.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/ssh/ConnectUsingSshActionUltimateImpl.java index bc1c0185a99..dbbb629ea22 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/ssh/ConnectUsingSshActionUltimateImpl.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-vm/src/main/java/com/microsoft/azure/toolkit/intellij/vm/ssh/ConnectUsingSshActionUltimateImpl.java @@ -23,7 +23,7 @@ import org.apache.commons.lang3.reflect.MethodUtils; import org.jetbrains.annotations.NotNull; import org.jetbrains.plugins.terminal.TerminalTabState; -import org.jetbrains.plugins.terminal.TerminalView; +import org.jetbrains.plugins.terminal.TerminalToolWindowManager; import javax.annotation.Nonnull; import java.lang.reflect.InvocationTargetException; @@ -57,7 +57,7 @@ public void connectBySsh(VirtualMachine vm, @Nonnull Project project) { private static void createSshSession(@Nonnull Project project, SshConfig ssh, SshTerminalCachingRunner runner) { final TerminalTabState tabState = new TerminalTabState(); tabState.myTabName = ssh.getName(); - TerminalView.getInstance(project).createNewSession(runner, tabState); + TerminalToolWindowManager.getInstance(project).createNewSession(runner, tabState); } private Action openSshConfigurationAction(final @NotNull Project project, RemoteCredentials sshCredential) { diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-aad/src/main/java/com/microsoft/azure/toolkit/intellij/connector/aad/RegisterAzureApplicationForm.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-aad/src/main/java/com/microsoft/azure/toolkit/intellij/connector/aad/RegisterAzureApplicationForm.java index 8bef9ff4d6f..94e463b407d 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-aad/src/main/java/com/microsoft/azure/toolkit/intellij/connector/aad/RegisterAzureApplicationForm.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-aad/src/main/java/com/microsoft/azure/toolkit/intellij/connector/aad/RegisterAzureApplicationForm.java @@ -5,10 +5,10 @@ package com.microsoft.azure.toolkit.intellij.connector.aad; +import com.intellij.ide.BrowserUtil; import com.intellij.openapi.progress.ProgressManager; import com.intellij.openapi.project.Project; import com.intellij.ui.TitledSeparator; -import com.intellij.ui.components.ComponentsKt; import com.intellij.ui.components.JBCheckBox; import com.intellij.ui.components.JBLabel; import com.intellij.util.ui.JBUI; @@ -24,6 +24,7 @@ import javax.annotation.Nonnull; import javax.annotation.Nullable; import javax.swing.*; +import javax.swing.event.HyperlinkEvent; import java.awt.event.ItemEvent; import java.util.ArrayList; import java.util.Arrays; @@ -105,7 +106,16 @@ public void setValue(ApplicationRegistrationModel data) { } private void createUIComponents() { - noteComponent = ComponentsKt.noteComponent(MessageBundle.message("dialog.identity.ad.register_app.description")); + final JEditorPane note = new JEditorPane("text/html", MessageBundle.message("dialog.identity.ad.register_app.description")); + note.setEditable(false); + note.setOpaque(false); + note.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, true); + note.addHyperlinkListener(e -> { + if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { + BrowserUtil.browse(e.getDescription()); + } + }); + noteComponent = note; noteComponent.setBorder(JBUI.Borders.emptyBottom(5)); subscriptionBox = new SubscriptionComboBox(); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib-java/src/main/java/com/microsoft/azure/toolkit/intellij/connector/code/EditConnectionFix.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib-java/src/main/java/com/microsoft/azure/toolkit/intellij/connector/code/EditConnectionFix.java index 5ca63baa886..adcfda9b48a 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib-java/src/main/java/com/microsoft/azure/toolkit/intellij/connector/code/EditConnectionFix.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib-java/src/main/java/com/microsoft/azure/toolkit/intellij/connector/code/EditConnectionFix.java @@ -3,10 +3,11 @@ import com.intellij.codeInsight.intention.IntentionAction; import com.intellij.codeInspection.util.IntentionFamilyName; import com.intellij.codeInspection.util.IntentionName; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.actionSystem.DataContext; -import com.intellij.openapi.actionSystem.EmptyAction; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.project.Project; import com.intellij.psi.PsiFile; @@ -41,7 +42,7 @@ public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file @AzureOperation("user/connector.edit_connection_quick_fix") public void invoke(@NotNull Project project, Editor editor, PsiFile file) throws IncorrectOperationException { final DataContext context = dataId -> CommonDataKeys.PROJECT.getName().equals(dataId) ? project : null; - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), null, "azure.annotator.action", context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "azure.annotator.action", ActionUiKind.NONE, null); AzureActionManager.getInstance().getAction(ResourceConnectionActionsContributor.EDIT_CONNECTION).handle(connection, event); } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib-java/src/main/java/com/microsoft/azure/toolkit/intellij/connector/code/spring/PropertiesLineMarkerProvider.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib-java/src/main/java/com/microsoft/azure/toolkit/intellij/connector/code/spring/PropertiesLineMarkerProvider.java index e3a8acb947f..08394d7a673 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib-java/src/main/java/com/microsoft/azure/toolkit/intellij/connector/code/spring/PropertiesLineMarkerProvider.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib-java/src/main/java/com/microsoft/azure/toolkit/intellij/connector/code/spring/PropertiesLineMarkerProvider.java @@ -11,8 +11,10 @@ import com.intellij.ide.DataManager; import com.intellij.lang.properties.psi.impl.PropertyImpl; import com.intellij.openapi.actionSystem.ActionPlaces; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.DataContext; +import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.editor.markup.GutterIconRenderer; import com.intellij.openapi.module.Module; import com.intellij.openapi.module.ModuleUtil; @@ -81,7 +83,7 @@ public static class SpringDatasourceNavigationHandler implements GutterIconNavig @AzureOperation(name = "user/connector.navigate_from_line_marker", source = "this.resource.getData()") public void navigate(MouseEvent mouseEvent, PsiElement psiElement) { final DataContext context = DataManager.getInstance().getDataContext(mouseEvent.getComponent()); - final AnActionEvent event = AnActionEvent.createFromInputEvent(mouseEvent, ActionPlaces.EDITOR_GUTTER, null, context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), ActionPlaces.EDITOR_GUTTER, ActionUiKind.NONE, mouseEvent); this.resource.navigate(event); } } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/connector/SignInHyperLinkLabel.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/connector/SignInHyperLinkLabel.java index d511eee6dea..f31470918f9 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/connector/SignInHyperLinkLabel.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/connector/SignInHyperLinkLabel.java @@ -2,6 +2,7 @@ import com.intellij.icons.AllIcons; import com.intellij.ide.DataManager; +import com.intellij.openapi.actionSystem.ActionUiKind; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.actionSystem.Presentation; @@ -29,7 +30,7 @@ public SignInHyperLinkLabel() { AzureEventBus.on("account.logged_out.account", new AzureEventBus.EventListener((e) -> this.setVisible(!Azure.az(AzureAccount.class).isLoggedIn()))); this.addHyperlinkListener(e -> { final DataContext context = DataManager.getInstance().getDataContext(this); - final AnActionEvent event = AnActionEvent.createFromInputEvent(e.getInputEvent(), "ConnectorDialog", new Presentation(), context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), "ConnectorDialog", ActionUiKind.NONE, e.getInputEvent()); AzureActionManager.getInstance().getAction(Action.REQUIRE_AUTH) .handle((a) -> this.setVisible(!Azure.az(AzureAccount.class).isLoggedIn()), event); }); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/connector/projectexplorer/AzureFacetTreeStructureProvider.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/connector/projectexplorer/AzureFacetTreeStructureProvider.java index 59fd6ad9e64..a6936fa6da7 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/connector/projectexplorer/AzureFacetTreeStructureProvider.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/connector/projectexplorer/AzureFacetTreeStructureProvider.java @@ -123,7 +123,7 @@ public void mousePressed(MouseEvent e) { final AbstractTreeNode currentTreeNode = getCurrentTreeNode(e); if (SwingUtilities.isLeftMouseButton(e) && currentTreeNode instanceof IAzureFacetNode node) { final DataContext context = DataManager.getInstance().getDataContext(tree); - final AnActionEvent event = AnActionEvent.createFromAnAction(new EmptyAction(), e, ActionPlaces.PROJECT_VIEW_POPUP + ".click", context); + final AnActionEvent event = AnActionEvent.createEvent(context, new Presentation(), ActionPlaces.PROJECT_VIEW_POPUP + ".click", ActionUiKind.NONE, e); if (e.getClickCount() == 1) { node.onClicked(event); } else if (e.getClickCount() == 2) { @@ -203,12 +203,11 @@ private void addListener(@Nonnull final Project project) { } @Override - public @Nullable Object getData(@Nonnull Collection> selected, @Nonnull String dataId) { - final IAzureFacetNode azureFacetNode = selected.stream() - .filter(node -> node instanceof IAzureFacetNode) - .map(n -> (IAzureFacetNode) n).findFirst().orElse(null); - return Objects.nonNull(azureFacetNode) ? azureFacetNode.getData(dataId) : TreeStructureProvider.super.getData(selected, dataId); + public void uiDataSnapshot(@Nonnull DataSink sink, @Nonnull Collection> selected) { + selected.stream() + .filter(IAzureFacetNode.class::isInstance) + .map(IAzureFacetNode.class::cast) + .findFirst() + .ifPresent(node -> DataSink.uiDataSnapshot(sink, (Object) node)); } } - - diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/facet/AzureFacetEditorPanel.java b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/facet/AzureFacetEditorPanel.java index 147cd50e571..effd80a1436 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/facet/AzureFacetEditorPanel.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/facet/AzureFacetEditorPanel.java @@ -3,8 +3,6 @@ import com.intellij.openapi.fileChooser.FileChooserDescriptor; import com.intellij.openapi.module.Module; import com.intellij.openapi.project.ProjectUtil; -import com.intellij.openapi.ui.ComponentWithBrowseButton.BrowseFolderActionListener; -import com.intellij.openapi.ui.TextComponentAccessor; import com.intellij.openapi.ui.TextFieldWithBrowseButton; import lombok.Getter; @@ -45,9 +43,7 @@ private void createUIComponents() { this.dotAzureDirInput.setEnabled(false); // noinspection DialogTitleCapitalization final String title = "Select path to Azure resource connection configuration files"; - final BrowseFolderActionListener listener = new BrowseFolderActionListener<>(title, null, dotAzureDirInput, - this.module.getProject(), descriptor, TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT); - this.dotAzureDirInput.addActionListener(listener); + this.dotAzureDirInput.addBrowseFolderListener(this.module.getProject(), descriptor.withTitle(title)); } // CHECKSTYLE IGNORE check FOR NEXT 1 LINES diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/build.gradle.kts b/PluginsAndFeatures/azure-toolkit-for-intellij/build.gradle.kts index 437d80e9239..269a669527b 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/build.gradle.kts +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/build.gradle.kts @@ -1,6 +1,19 @@ import io.freefair.gradle.plugins.aspectj.AjcAction import org.apache.tools.ant.filters.ReplaceTokens +import org.gradle.api.DefaultTask +import org.gradle.api.file.RegularFileProperty +import org.gradle.api.provider.Property +import org.gradle.api.tasks.Input +import org.gradle.api.tasks.InputFile +import org.gradle.api.tasks.OutputFile +import org.gradle.api.tasks.PathSensitive +import org.gradle.api.tasks.PathSensitivity +import org.gradle.api.tasks.TaskAction +import org.gradle.language.jvm.tasks.ProcessResources +import org.jetbrains.changelog.Changelog import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType +import org.jetbrains.kotlin.gradle.dsl.JvmTarget +import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile import java.net.URI import java.time.LocalDateTime import java.time.format.DateTimeFormatter @@ -9,6 +22,80 @@ fun properties(key: String) = providers.gradleProperty(key) fun environment(key: String) = providers.environmentVariable(key) +fun Changelog.Item.hasContent() = summary.isNotBlank() || sections.values.any { it.isNotEmpty() } + +abstract class GenerateWhatsNewTask : DefaultTask() { + @get:Input + abstract val pluginVersion: Property + + @get:Input + abstract val releaseNotes: Property + + @get:Input + abstract val historyStartVersion: Property + + @get:InputFile + @get:PathSensitive(PathSensitivity.RELATIVE) + abstract val historyFile: RegularFileProperty + + @get:OutputFile + abstract val outputFile: RegularFileProperty + + @TaskAction + fun generate() { + val history = historyFile.get().asFile.readText().normalizeLineEndings() + val historyMarker = "\n## ${historyStartVersion.get()}" + val historyStart = history.indexOf(historyMarker) + require(historyStart >= 0) { + "What's New history does not contain ${historyStartVersion.get()}." + } + val content = listOf( + "", + "# What's new in Azure Toolkit for IntelliJ", + releaseNotes.get().normalizeLineEndings().trim(), + history.substring(historyStart + 1).trim(), + ).filter { it.isNotBlank() }.joinToString("\n\n") + "\n" + outputFile.get().asFile.apply { + parentFile.mkdirs() + writeText(content, Charsets.UTF_8) + } + } + + private fun String.normalizeLineEndings() = replace("\r\n", "\n").replace("\r", "\n") +} + +abstract class ValidateReleaseMetadataTask : DefaultTask() { + @get:Input + abstract val pluginVersion: Property + + @get:Input + abstract val developmentBuild: Property + + @get:Input + abstract val hasVersionedChangelog: Property + + @get:InputFile + @get:PathSensitive(PathSensitivity.RELATIVE) + abstract val pluginXmlFile: RegularFileProperty + + @TaskAction + fun validate() { + val version = pluginVersion.get() + require(Regex("""\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?""").matches(version)) { + "Plugin version '$version' is not a semantic version." + } + require(developmentBuild.get() || hasVersionedChangelog.get()) { + "Stable build requires a non-empty '$version' entry in CHANGELOG.md. Run patchChangelog first." + } + val pluginXml = pluginXmlFile.get().asFile.readText() + listOf("", "", " + require(!pluginXml.contains(dynamicElement)) { + "$dynamicElement is generated by Gradle and must not be stored in the source plugin.xml." + } + } + } +} + plugins { id("java") alias(libs.plugins.kotlin) @@ -22,6 +109,18 @@ plugins { } group = properties("pluginGroup").get() +version = properties("version").get() + +val configuredPluginVersion = properties("version") +val releaseVersion = configuredPluginVersion.map { it.removeSuffix("-SNAPSHOT") } +val isDevelopmentBuild = providers.provider { + properties("needPatchVersion").get().toBoolean() || configuredPluginVersion.get().endsWith("SNAPSHOT") +} + +changelog { + version.set(releaseVersion) + path.set(rootProject.file("../../CHANGELOG.md").canonicalPath) +} allprojects { apply { @@ -33,12 +132,12 @@ allprojects { java { toolchain { - languageVersion = JavaLanguageVersion.of(21) + languageVersion = JavaLanguageVersion.of(properties("javaToolchainVersion").get().toInt()) } } kotlin { - jvmToolchain(21) + jvmToolchain(properties("javaToolchainVersion").get().toInt()) } repositories { @@ -63,8 +162,9 @@ allprojects { intellijIdeaUltimate(properties("platformVersion").get()) { useInstaller = false } - // JBR 25 required to run IntelliJ 2026.1 (PathClassLoader is JBR-only) + // JBR 25 required to run IntelliJ 2026.2 (PathClassLoader is JBR-only) jetbrainsRuntime() + bundledPlugin("com.intellij.modules.jcef") // MavenId/MavenCoordinate classes moved from maven plugin to repository-search plugin in 261 bundledPlugin("org.jetbrains.idea.reposearch") // Test framework classes moved to separate modules in 261 @@ -75,12 +175,16 @@ allprojects { 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")) + implementation("commons-collections:commons-collections:3.2.2") - compileOnly("org.projectlombok:lombok:1.18.32") + compileOnly("org.projectlombok:lombok:1.18.46") compileOnly("org.jetbrains:annotations:24.0.0") - annotationProcessor("org.projectlombok:lombok:1.18.32") + annotationProcessor("org.projectlombok:lombok:1.18.46") implementation("com.microsoft.azure:azure-toolkit-common-lib:0.52.2") + implementation("org.aspectj:aspectjrt:1.9.25") + implementation("org.aspectj:aspectjweaver:1.9.25") aspect("com.microsoft.azure:azure-toolkit-common-lib:0.52.2") + aspect("org.aspectj:aspectjweaver:1.9.25") // junit was removed from IntelliJ platform bundled libs in 261 testImplementation("junit:junit:4.13.2") } @@ -90,7 +194,6 @@ allprojects { implementation { exclude(module = "log4j") } implementation { exclude(module = "stax-api") } implementation { exclude(module = "groovy-xml") } - implementation { exclude(module = "groovy-templates") } implementation { exclude(module = "jna") } implementation { exclude(module = "xpp3") } implementation { exclude(module = "pull-parser") } @@ -104,10 +207,16 @@ allprojects { } tasks { + withType().configureEach { + compilerOptions { + jvmTarget.set(JvmTarget.fromTarget(properties("javaVersion").get())) + } + } compileJava { - sourceCompatibility = "21" - targetCompatibility = "21" + sourceCompatibility = properties("javaVersion").get() + targetCompatibility = properties("javaVersion").get() + options.release.set(properties("javaVersion").map(String::toInt)) } compileKotlin { @@ -194,52 +303,53 @@ dependencies { bundledPlugin("com.intellij.properties") bundledPlugin("org.jetbrains.plugins.terminal") bundledPlugin("org.intellij.plugins.markdown") + bundledPlugin("com.intellij.modules.jcef") // Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace. plugins(properties("platformPlugins").map { it.split(',') }) + pluginComposedModule(implementation(project(":azure-intellij-plugin-lib"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-lib-java"))) + pluginComposedModule(implementation(project(":azure-intellij-resource-connector-lib"))) + pluginComposedModule(implementation(project(":azure-intellij-resource-connector-lib-java"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-service-explorer"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-guidance"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-guidance-java"))) + pluginComposedModule(implementation(project(":azure-sdk-reference-book"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-springcloud"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-storage"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-storage-java"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-appservice"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-appservice-java"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-arm"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-applicationinsights"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-cosmos"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-cognitiveservices"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-monitor"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-containerregistry"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-containerservice"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-containerapps"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-database"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-database-java"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-vm"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-redis"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-redis-java"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-samples"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-bicep"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-eventhubs"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-servicebus"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-keyvault"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-keyvault-java"))) + pluginComposedModule(implementation(project(":azure-intellij-resource-connector-aad"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-hdinsight-lib"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-sqlserverbigdata"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-hdinsight"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-synapse"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-sparkoncosmos"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-hdinsight-base"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-integration-services"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-cloud-shell"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-java-sdk"))) + pluginComposedModule(implementation(project(":azure-intellij-plugin-azuremcp"))) } - implementation(project(":azure-intellij-plugin-lib")) - implementation(project(":azure-intellij-plugin-lib-java")) - implementation(project(":azure-intellij-resource-connector-lib")) - implementation(project(":azure-intellij-resource-connector-lib-java")) - implementation(project(":azure-intellij-plugin-service-explorer")) - implementation(project(":azure-intellij-plugin-guidance")) - implementation(project(":azure-intellij-plugin-guidance-java")) - implementation(project(":azure-sdk-reference-book")) - implementation(project(":azure-intellij-plugin-springcloud")) - implementation(project(":azure-intellij-plugin-storage")) - implementation(project(":azure-intellij-plugin-storage-java")) - implementation(project(":azure-intellij-plugin-appservice")) - implementation(project(":azure-intellij-plugin-appservice-java")) - implementation(project(":azure-intellij-plugin-arm")) - implementation(project(":azure-intellij-plugin-applicationinsights")) - implementation(project(":azure-intellij-plugin-cosmos")) - implementation(project(":azure-intellij-plugin-cognitiveservices")) - implementation(project(":azure-intellij-plugin-monitor")) - implementation(project(":azure-intellij-plugin-containerregistry")) - implementation(project(":azure-intellij-plugin-containerservice")) - implementation(project(":azure-intellij-plugin-containerapps")) - implementation(project(":azure-intellij-plugin-database")) - implementation(project(":azure-intellij-plugin-database-java")) - implementation(project(":azure-intellij-plugin-vm")) - implementation(project(":azure-intellij-plugin-redis")) - implementation(project(":azure-intellij-plugin-redis-java")) - implementation(project(":azure-intellij-plugin-samples")) - implementation(project(":azure-intellij-plugin-bicep")) - implementation(project(":azure-intellij-plugin-eventhubs")) - implementation(project(":azure-intellij-plugin-servicebus")) - implementation(project(":azure-intellij-plugin-keyvault")) - implementation(project(":azure-intellij-plugin-keyvault-java")) - implementation(project(":azure-intellij-resource-connector-aad")) - implementation(project(":azure-intellij-plugin-hdinsight-lib")) - implementation(project(":azure-intellij-plugin-sqlserverbigdata")) - implementation(project(":azure-intellij-plugin-hdinsight")) - implementation(project(":azure-intellij-plugin-synapse")) - implementation(project(":azure-intellij-plugin-sparkoncosmos")) - implementation(project(":azure-intellij-plugin-hdinsight-base")) - implementation(project(":azure-intellij-plugin-integration-services")) - implementation(project(":azure-intellij-plugin-cloud-shell")) - implementation(project(":azure-intellij-plugin-java-sdk")) - implementation(project(":azure-intellij-plugin-azuremcp")) implementation("commons-io:commons-io") implementation("org.apache.commons:commons-lang3") implementation("com.microsoft.azure:azure-toolkit-common-lib") @@ -253,6 +363,54 @@ dependencies { testImplementation("org.assertj:assertj-core:3.19.0") } +val whatsNewHistoryStartVersion = "3.88.0" +val validateReleaseMetadata = tasks.register("validateReleaseMetadata") { + pluginVersion.set(releaseVersion) + developmentBuild.set(isDevelopmentBuild) + hasVersionedChangelog.set(provider { + changelog.getOrNull(releaseVersion.get()) + ?.withEmptySections(false) + ?.hasContent() == true + }) + pluginXmlFile.set(layout.projectDirectory.file("src/main/resources/META-INF/plugin.xml")) +} +val generateWhatsNew = tasks.register("generateWhatsNew") { + dependsOn(validateReleaseMetadata) + pluginVersion.set(releaseVersion) + historyStartVersion.set(whatsNewHistoryStartVersion) + historyFile.set(layout.projectDirectory.file( + "azure-intellij-plugin-lib-java/src/main/resources/whatsnew-history.md" + )) + releaseNotes.set(provider { + val items = buildList { + val unreleased = changelog.getUnreleased().withEmptySections(false) + if (isDevelopmentBuild.get() && unreleased.hasContent()) { + add(unreleased) + } + require(changelog.has(whatsNewHistoryStartVersion)) { + "CHANGELOG.md does not contain the What's New history boundary $whatsNewHistoryStartVersion." + } + addAll(changelog.getAll().values + .filterNot { it.isUnreleased } + .takeWhile { it.version != whatsNewHistoryStartVersion }) + } + items.joinToString("\n\n") { + changelog.renderItem( + it.withLinkedHeader(false).withLinks(false).withEmptySections(false), + Changelog.OutputType.MARKDOWN + ) + } + }) + outputFile.set(layout.buildDirectory.file("generated/whatsNew/whatsnew.md")) +} + +project(":azure-intellij-plugin-lib-java") { + tasks.named("processResources") { + dependsOn(generateWhatsNew) + from(generateWhatsNew.flatMap { it.outputFile }) + } +} + tasks { wrapper { gradleVersion = properties("gradleVersion").get() @@ -269,23 +427,35 @@ tasks { val formatter: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyyMMddHHmmss") val timestamp = currentDateTime.format(formatter) val needPatchVersion = properties("needPatchVersion").get() - val pluginVersion = properties("pluginVersion").get() + val pluginVersion = configuredPluginVersion.get() + val changelogVersion = releaseVersion.get() val intellijDisplayVersion = properties("intellijDisplayVersion").get() val getPatchedVersion: String by lazy { if (needPatchVersion.toBoolean() || pluginVersion.endsWith("SNAPSHOT")) { if (pluginVersion.endsWith("SNAPSHOT")) { - val fixedPluginVersion = pluginVersion.split("-") - "${fixedPluginVersion[0]}-$intellijDisplayVersion-SNAPSHOT.$timestamp" + "$changelogVersion-$intellijDisplayVersion-SNAPSHOT.$timestamp" } else { - "$pluginVersion-$intellijDisplayVersion-BETA.$timestamp" + "$changelogVersion-$intellijDisplayVersion-BETA.$timestamp" } } else { - "$pluginVersion-$intellijDisplayVersion" + "$changelogVersion-$intellijDisplayVersion" } } patchPluginXml { + dependsOn(validateReleaseMetadata) version = getPatchedVersion + changeNotes.set(provider { + val unreleased = changelog.getUnreleased().withEmptySections(false) + val versioned = changelog.getOrNull(changelogVersion)?.withEmptySections(false) + val item = when { + isDevelopmentBuild.get() && unreleased.hasContent() -> unreleased + versioned?.hasContent() == true -> versioned + else -> changelog.getAll().values + .first { !it.isUnreleased && it.withEmptySections(false).hasContent() } + } + changelog.renderItem(item, Changelog.OutputType.HTML) + }) } register("downloadBicepLanguageServer") { @@ -322,7 +492,7 @@ tasks { // refers https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-testing-extension.html#intellijPlatformTesting val testIde by intellijPlatformTesting.runIde.registering { - type = IntelliJPlatformType.IntellijIdeaCommunity + type = IntelliJPlatformType.IntellijIdeaUltimate version = properties("platformVersion").get() } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/gradle.properties b/PluginsAndFeatures/azure-toolkit-for-intellij/gradle.properties index 16a7bcec1dd..50735bd2130 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/gradle.properties +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/gradle.properties @@ -1,16 +1,18 @@ -pluginVersion=3.97.7 -intellijDisplayVersion=2026.1 -intellij_version=261-EAP-SNAPSHOT -platformVersion=261-EAP-SNAPSHOT +# Add release notes under CHANGELOG.md [Unreleased], update this value once, +# then run `gradlew patchChangelog` before a stable build. +version=3.97.7 +intellijDisplayVersion=2026.2 +platformVersion=262.8665.176-EAP # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html -pluginSinceBuild=261 -pluginUntilBuild=261.* +pluginSinceBuild=262 +pluginUntilBuild=262.* # Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP -platformPlugins=org.intellij.scala:2026.1.8 +platformPlugins=org.intellij.scala:2026.2.5 # IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension platformType=IU needPatchVersion=true javaVersion=21 +javaToolchainVersion=25 applicationinsights.key=57cc111a-36a8-44b3-b044-25d293b8b77c # IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html pluginGroup=com.microsoft.azuretools @@ -22,7 +24,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=9.0 +gradleVersion=9.1.0 # Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html org.gradle.configuration-cache=true org.gradle.configuration-cache.problems=warn @@ -34,5 +36,3 @@ org.gradle.configureondemand=true org.gradle.daemon=true org.gradle.jvmargs='-Duser.language=en' org.jetbrains.intellij.platform.buildFeature.useBinaryReleases=false - - diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/gradle/libs.versions.toml b/PluginsAndFeatures/azure-toolkit-for-intellij/gradle/libs.versions.toml index 6527cbeaabe..4aa2f54c2ea 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/gradle/libs.versions.toml +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/gradle/libs.versions.toml @@ -2,17 +2,17 @@ # libraries # plugins -kotlin = "2.2.20" +kotlin = "2.4.0" changelog = "2.4.0" #intellijPlatform = "2.10.1" -intellijPlatform = "2.12.0" +intellijPlatform = "2.18.1" detekt = "1.23.6" ktlint = "12.1.1" #gradleIntelliJPlugin = "1.17.3" #qodana = "2024.1.5" aspectj = "9.2.0" springDependencyManagement = "1.1.6" -serialization = "1.9.24" +serialization = "2.4.0" [plugins] changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/gradle/wrapper/gradle-wrapper.properties b/PluginsAndFeatures/azure-toolkit-for-intellij/gradle/wrapper/gradle-wrapper.properties index 2dcec856bd0..2e1113280ef 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/gradle/wrapper/gradle-wrapper.properties +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.0-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/azure/toolkit/intellij/base/PluginLifecycleListener.java b/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/azure/toolkit/intellij/base/PluginLifecycleListener.java index 96335d02e74..9e95f3ff406 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/azure/toolkit/intellij/base/PluginLifecycleListener.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/azure/toolkit/intellij/base/PluginLifecycleListener.java @@ -8,7 +8,11 @@ import com.intellij.ide.AppLifecycleListener; import com.intellij.ide.plugins.IdeaPluginDescriptor; import com.intellij.ide.plugins.PluginStateListener; -import com.intellij.util.net.HttpConfigurable; +import com.intellij.credentialStore.Credentials; +import com.intellij.util.net.JdkProxyProvider; +import com.intellij.util.net.ProxyConfiguration; +import com.intellij.util.net.ProxyCredentialStore; +import com.intellij.util.net.ProxySettings; import com.intellij.util.net.ssl.CertificateManager; import com.microsoft.azure.toolkit.ide.common.auth.IdeAzureAccount; import com.microsoft.azure.toolkit.ide.common.store.AzureConfigInitializer; @@ -38,6 +42,7 @@ import java.io.File; import java.time.Duration; import java.util.List; +import java.util.Optional; import java.util.logging.FileHandler; import static com.microsoft.azure.toolkit.ide.common.store.AzureConfigInitializer.TELEMETRY; @@ -101,17 +106,23 @@ private static void initializeConfig() { } private static void initProxy() { - final HttpConfigurable instance = HttpConfigurable.getInstance(); - if (instance != null && instance.USE_HTTP_PROXY) { - final ProxyInfo proxy = ProxyInfo.builder() + JdkProxyProvider.ensureDefault(); + final ProxyConfiguration configuration = ProxySettings.getInstance().getProxyConfiguration(); + if (configuration instanceof ProxyConfiguration.StaticProxyConfiguration proxy && + proxy.getProtocol() == ProxyConfiguration.ProxyProtocol.HTTP) { + final Credentials credentials = ProxyCredentialStore.getInstance().getCredentials(proxy.getHost(), proxy.getPort()); + final ProxyInfo proxyInfo = ProxyInfo.builder() .source("intellij") - .host(instance.PROXY_HOST) - .port(instance.PROXY_PORT) - .username(instance.getProxyLogin()) - .password(instance.getPlainProxyPassword()) + .host(proxy.getHost()) + .port(proxy.getPort()) + .username(Optional.ofNullable(credentials).map(Credentials::getUserName).orElse(null)) + .password(Optional.ofNullable(credentials).map(Credentials::getPasswordAsString).orElse(null)) + .nonProxyHosts(proxy.getExceptions()) .build(); - Azure.az().config().setProxyInfo(proxy); + Azure.az().config().setProxyInfo(proxyInfo); ProxyManager.getInstance().applyProxy(); + } else { + Azure.az().config().setProxyInfo(ProxyInfo.builder().build()); } final CertificateManager certificateManager = CertificateManager.getInstance(); Azure.az().config().setSslContext(certificateManager.getSslContext()); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/azure/toolkit/intellij/settings/AzureSettingsPanel.java b/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/azure/toolkit/intellij/settings/AzureSettingsPanel.java index 047030fd7a1..5a5efffcd20 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/azure/toolkit/intellij/settings/AzureSettingsPanel.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/azure/toolkit/intellij/settings/AzureSettingsPanel.java @@ -8,9 +8,7 @@ import com.azure.core.management.AzureEnvironment; import com.intellij.icons.AllIcons; import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory; -import com.intellij.openapi.ui.ComponentWithBrowseButton; import com.intellij.openapi.ui.Messages; -import com.intellij.openapi.ui.TextComponentAccessor; import com.intellij.openapi.ui.ValidationInfo; import com.intellij.openapi.util.io.FileUtil; import com.intellij.ui.JBIntSpinner; @@ -325,21 +323,17 @@ private void createUIComponents() { this.funcCoreToolsPath = new FunctionCoreToolsCombobox(null, false); this.funcCoreToolsPath.setPrototypeDisplayValue(StringUtils.EMPTY); this.txtStorageExplorer = new AzureFileInput(); - this.txtStorageExplorer.addActionListener(new ComponentWithBrowseButton.BrowseFolderActionListener<>("Select Path of Azure Storage Explorer", null, txtStorageExplorer, - null, FileChooserDescriptorFactory.createSingleLocalFileDescriptor(), TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT)); + this.txtStorageExplorer.addBrowseFolderListener(null, FileChooserDescriptorFactory.createSingleLocalFileDescriptor().withTitle("Select Path of Azure Storage Explorer")); this.txtStorageExplorer.addValidator(this::validateStorageExplorerPath); this.txtAzureCli = new AzureFileInput(); - this.txtAzureCli.addActionListener(new ComponentWithBrowseButton.BrowseFolderActionListener<>("Select Path of Azure Command-Line Interface (CLI)", null, txtAzureCli, - null, FileChooserDescriptorFactory.createSingleLocalFileDescriptor(), TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT)); + this.txtAzureCli.addBrowseFolderListener(null, FileChooserDescriptorFactory.createSingleLocalFileDescriptor().withTitle("Select Path of Azure Command-Line Interface (CLI)")); this.txtAzureCli.addValidator(this::validateAzureCliPath); this.txtAzurite = new AzureFileInput(); - this.txtAzurite.addActionListener(new ComponentWithBrowseButton.BrowseFolderActionListener<>("Select Path of Azurite", null, txtAzurite, - null, FileChooserDescriptorFactory.createSingleLocalFileDescriptor(), TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT)); + this.txtAzurite.addBrowseFolderListener(null, FileChooserDescriptorFactory.createSingleLocalFileDescriptor().withTitle("Select Path of Azurite")); this.txtAzuriteWorkspace = new AzuriteWorkspaceComboBox(); this.dotnetRuntimePath = new AzureFileInput(); // noinspection DialogTitleCapitalization - this.dotnetRuntimePath.addActionListener(new ComponentWithBrowseButton.BrowseFolderActionListener<>("Select Path of .NET Runtime", null, dotnetRuntimePath, - null, FileChooserDescriptorFactory.createSingleFolderDescriptor(), TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT)); + this.dotnetRuntimePath.addBrowseFolderListener(null, FileChooserDescriptorFactory.createSingleFolderDescriptor().withTitle("Select Path of .NET Runtime")); this.dotnetRuntimePath.addValidator(this::validateDotnetRuntime); this.installFuncCoreToolsAction = new ActionLink("Install the latest version", e -> { FocusManager.getCurrentManager().getActiveWindow().dispose(); diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/resources/META-INF/plugin.xml b/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/resources/META-INF/plugin.xml index e3dd321cdee..5134ae05825 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/resources/META-INF/plugin.xml +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/src/main/resources/META-INF/plugin.xml @@ -2,7 +2,6 @@ xmlns:xi="http://www.w3.org/2001/XInclude"> com.microsoft.tooling.msservices.intellij.azure Azure Toolkit for IntelliJ - 3.97.7 Microsoft ]]> - - -

3.97.7

-

Fixed

-
    -
  • Fixed appmod plugin: Copilot modernization branding, CVE fix actions with custom agent support, and context menu hover issue.
  • -
-

You may get the full change log here

- - ]]> -
- com.intellij.modules.platform + com.intellij.modules.jcef - - diff --git a/Utils/azure-toolkit-ide-hdinsight-libs/azure-explorer-common/pom.xml b/Utils/azure-toolkit-ide-hdinsight-libs/azure-explorer-common/pom.xml index 2cb77906b66..e7989fa41f9 100644 --- a/Utils/azure-toolkit-ide-hdinsight-libs/azure-explorer-common/pom.xml +++ b/Utils/azure-toolkit-ide-hdinsight-libs/azure-explorer-common/pom.xml @@ -42,7 +42,7 @@ maven-compiler-plugin - 3.3 + 3.13.0 17 17 diff --git a/Utils/azure-toolkit-ide-hdinsight-libs/pom.xml b/Utils/azure-toolkit-ide-hdinsight-libs/pom.xml index f1b821e2f53..fed918899a2 100644 --- a/Utils/azure-toolkit-ide-hdinsight-libs/pom.xml +++ b/Utils/azure-toolkit-ide-hdinsight-libs/pom.xml @@ -24,7 +24,7 @@ 6.4.0 3.4.0 1.1.10.4 - 1.18.36 + 1.18.46 3.6.0 @@ -318,6 +318,20 @@ + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + + + org.projectlombok + lombok + ${lombok.version} + + + + diff --git a/Utils/azure-toolkit-ide-libs/pom.xml b/Utils/azure-toolkit-ide-libs/pom.xml index 76949ce97c2..3e0831ac5e1 100644 --- a/Utils/azure-toolkit-ide-libs/pom.xml +++ b/Utils/azure-toolkit-ide-libs/pom.xml @@ -57,7 +57,7 @@ 17 17 - 1.18.36 + 1.18.46 0.52.2 @@ -214,6 +214,20 @@ + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + + + org.projectlombok + lombok + ${lombok.version} + + + + diff --git a/verifier-reports/compatibility-problems.txt b/verifier-reports/compatibility-problems.txt new file mode 100644 index 00000000000..e69de29bb2d diff --git a/verifier-reports/deprecated-usages.txt b/verifier-reports/deprecated-usages.txt new file mode 100644 index 00000000000..9e1139aedfe --- /dev/null +++ b/verifier-reports/deprecated-usages.txt @@ -0,0 +1,359 @@ +Deprecated method com.intellij.psi.PsiElement.checkDelete() : void is overridden in class org.wso2.lsp4intellij.contributors.psi.LSPPsiElement +Deprecated class org.eclipse.lsp4j.MarkedString is referenced in org.wso2.lsp4intellij.requests.HoverHandler.getHoverString(Hover) : String +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.dockerhost.DockerHostRunRunner.() +Deprecated class com.intellij.ProjectTopics is referenced in com.microsoft.azure.toolkit.intellij.facet.AddFacetStartupActivity.execute(Project, Continuation) : Object +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in org.wso2.lsp4intellij.editor.EditorEventManager.gotoLocation(Location) : void +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobRunProcessHandler$1.processWillTerminate(ProcessEvent, boolean) : void +Deprecated class com.intellij.util.ui.UIUtil.JBWordWrapHtmlEditorKit is referenced in com.microsoft.azure.toolkit.intellij.cognitiveservices.chatbox.sourcecode.ViewCodePanel.init() : void +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobRunner +Deprecated method com.intellij.openapi.util.Comparing.equal(java.lang.String arg1, java.lang.String arg2) : boolean is invoked in com.microsoft.azure.toolkit.intellij.legacy.common.AzureSettingPanel.setupArtifactCombo(List, String) : void +Deprecated class com.intellij.util.ui.UIUtil.JBWordWrapHtmlEditorKit is referenced in com.microsoft.azure.toolkit.ide.guidance.view.components.PhasePanel.init() : void +Deprecated class com.intellij.util.ui.UIUtil.JBWordWrapHtmlEditorKit is referenced in com.microsoft.azure.toolkit.ide.guidance.view.components.StepPanel.init() : void +Deprecated method com.intellij.psi.search.FilenameIndex.getFilesByName(com.intellij.openapi.project.Project project, java.lang.String name, com.intellij.psi.search.GlobalSearchScope scope) : com.intellij.psi.PsiFile[] is invoked in org.wso2.lsp4intellij.utils.FileUtils.lambda$searchFiles$0(Project, String) : PsiFile[] +Deprecated field com.intellij.openapi.application.ModalityState.NON_MODAL : com.intellij.openapi.application.ModalityState is accessed in com.microsoft.azure.toolkit.intellij.common.task.IntellijAzureTaskManager.toIntellijModality(AzureTask) : ModalityState +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AzResource.id() : java.lang.String is invoked in com.microsoft.azure.toolkit.lib.legacy.appservice.jfr.FlightRecorderManager.getFlightRecorderStarter(AppServiceAppBase) : FlightRecorderStarterBase +Deprecated class com.intellij.util.ui.UIUtil.JBWordWrapHtmlEditorKit is referenced in com.microsoft.azure.toolkit.intellij.cognitiveservices.chatbox.MarkdownPane.setValue(MarkdownText) : void +Deprecated method com.intellij.openapi.fileChooser.FileChooserDescriptorFactory.createSingleFileDescriptor() : com.intellij.openapi.fileChooser.FileChooserDescriptor is invoked in com.microsoft.azure.toolkit.intellij.storage.component.AzuriteWorkspaceComboBox.onSelectFile() : void +Deprecated constructor com.intellij.ssh.ui.unified.SshUiData.(com.intellij.ssh.config.unified.SshConfig config, boolean initAuthDataFromPasswordSafe) is invoked in com.microsoft.azure.toolkit.intellij.vm.ssh.ConnectUsingSshActionUltimateImpl.connectBySsh(VirtualMachine, Project) : void +Deprecated method org.apache.commons.exec.DefaultExecutor.setWorkingDirectory(java.io.File workingDirectory) : void is invoked in com.microsoft.azure.toolkit.lib.common.utils.CommandUtils.executeCommandAndGetOutput(CommandLine, File, Map, boolean) : String +Deprecated method com.intellij.openapi.module.Module.getOptionValue(java.lang.String arg0) : java.lang.String is invoked in com.microsoft.intellij.util.MethodUtils.getModuleNameAsPerKey(Project, String) : String +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.ide.guidance.task.BaseDeployTask$1.(BaseDeployTask, SettableFuture) +Deprecated method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is overridden in class com.microsoft.azure.toolkit.intellij.common.AzureActionButton$1. This method will be removed in a future release +Deprecated method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is invoked in com.microsoft.azure.toolkit.intellij.common.AzureActionButton$1.getData(String) : Object. This method will be removed in a future release +Deprecated method com.intellij.openapi.wm.IdeFocusManager.doWhenFocusSettlesDown(java.lang.Runnable arg0) : void is invoked in com.microsoft.azure.toolkit.intellij.monitor.view.right.filter.timerange.CustomTimeRangePanel.updatePair(JCheckBox, JComponent, ActionEvent) : void +Deprecated method com.intellij.execution.RunManager.createRunConfiguration(java.lang.String name, com.intellij.execution.configurations.ConfigurationFactory factory) : com.intellij.execution.RunnerAndConfigurationSettings is invoked in com.microsoft.azure.toolkit.intellij.sparkoncosmos.actions.SubmitClusterJobAction.lambda$submit$1(RunManager, String) : RunnerAndConfigurationSettings +Deprecated class com.intellij.ui.HideableTitledPanel is referenced in com.microsoft.azure.hdinsight.serverexplore.ui.AddNewClusterForm.setData(AddNewClusterModel) : void +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobRunner.doExecute(RunProfileState, ExecutionEnvironment) : RunContentDescriptor +Deprecated field com.intellij.lang.StdLanguages.XML : com.intellij.lang.Language is accessed in com.microsoft.azure.toolkit.intellij.java.sdk.MavenProjectReportGenerator.checkDependencyManagement(MavenProjectsManager, MavenProject, MavenProjectReport) : void +Deprecated class org.eclipse.lsp4j.SymbolInformation is referenced in org.wso2.lsp4intellij.contributors.label.LSPDefaultLabelProvider.symbolNameFor(SymbolInformation, Project) : String +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkFailureTaskRunProfileState.execute.processHandler$1$1.(SparkFailureTaskRunProfileState, Executor) +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAdlsCard.subscriptionsComboBox$lambda$0$1(SparkSubmissionJobUploadStorageAdlsCard, ComboboxWithBrowseButton, PropertyChangeEvent) : void +Deprecated class com.intellij.openapi.util.AsyncResult is referenced in com.microsoft.intellij.util.PluginUtil.getSelectedProject() : Project +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAdlsCard.() +Deprecated method org.apache.commons.compress.utils.FileNameUtils.getExtension(java.lang.String fileName) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.appservice.AppServiceInfoAdvancedPanel.lambda$init$1(VirtualFile) : boolean +Deprecated method com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.setValidator(com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.Validator validator) : void is invoked in com.microsoft.azure.toolkit.intellij.legacy.appservice.AppNameInput.() +Deprecated method com.intellij.execution.lineMarker.RunLineMarkerContributor.getText(com.intellij.openapi.actionSystem.AnAction action, com.intellij.psi.PsiElement element) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.FunctionRunLineMarkerProvider.lambda$getInfo$1(PsiElement, AnAction) : String. This method will be removed in a future release +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkClusterListRefreshableCombo.clustersSelection$1$1$1.(SparkClusterListRefreshableCombo, ComboboxWithBrowseButton) +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.common.component.SenderReceiverPanel$1 +Deprecated method org.jetbrains.plugins.terminal.TerminalToolWindowManager.createShellWidget(java.lang.String workingDirectory, java.lang.String tabName, boolean requestFocus, boolean deferSessionStartUntilUiShown) : com.intellij.terminal.ui.TerminalWidget is invoked in com.microsoft.azure.toolkit.intellij.common.TerminalUtils.lambda$getOrCreateTerminalWidget$2(TerminalToolWindowManager, String, String) : TerminalWidget +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.common.auth.AzureLoginHelper.isAzureSubsAvailableOrReportError(String) : boolean +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.localrun.FunctionRunState.prepareStagingFolder(File, RunProcessHandler, Operation) : void +Deprecated method com.intellij.codeInsight.completion.CompletionContributor.invokeAutoPopup(com.intellij.psi.PsiElement position, char typeChar) : boolean is overridden in class org.wso2.lsp4intellij.contributors.LSPCompletionContributor +Deprecated method java.awt.event.InputEvent.getModifiers() : int is invoked in com.microsoft.azure.hdinsight.spark.ui.livy.batch.ActionButtonTableCellRenderer.getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) : Component +Deprecated method com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.setValidator(com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.Validator validator) : void is invoked in com.microsoft.azure.toolkit.intellij.database.AdminUsernameTextField.() +Deprecated method org.jetbrains.plugins.gradle.service.task.GradleTaskManager.executeTasks(com.intellij.openapi.externalSystem.model.task.ExternalSystemTaskId id, java.util.List taskNames, java.lang.String projectPath, org.jetbrains.plugins.gradle.settings.GradleExecutionSettings settings, java.lang.String jvmParametersSetup, com.intellij.openapi.externalSystem.model.task.ExternalSystemTaskNotificationListener listener) : void is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.IntellijGradleFunctionProject.packageJar() : void +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.ide.appservice.function.AzureFunctionsUtils.substituteParametersInTemplate(FunctionTemplate, Map) : String +Deprecated field com.intellij.execution.process.BaseProcessHandler.myCommandLine : java.lang.String is accessed in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobRunProcessHandler.startNotify() : void +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.function.components.ModuleFileComboBox.loadItems() : List +Deprecated method com.intellij.ui.ToolbarDecorator.addExtraActions(com.intellij.ui.AnActionButton[] actions) : com.intellij.ui.ToolbarDecorator is invoked in com.microsoft.azure.toolkit.intellij.legacy.appservice.table.AppSettingsTableUtils.createAppSettingPanel(AppSettingsTable, AnActionButton[]) : JPanel +Deprecated method com.intellij.openapi.util.Comparing.equal(java.lang.String arg1, java.lang.String arg2) : boolean is invoked in com.microsoft.intellij.util.MavenRunTaskUtil.shouldAddMavenPackageTask(List, Project) : boolean +Deprecated method com.intellij.util.containers.ContainerUtil.immutableList(E element) : java.util.List is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.isFunctionClassAnnotated(PsiMethod) : boolean +Deprecated constructor com.intellij.ssh.ui.unified.SshUiData.(com.intellij.ssh.config.unified.SshConfig config, boolean initAuthDataFromPasswordSafe) is invoked in com.microsoft.azure.toolkit.intellij.vm.ssh.AddSshConfigAction.lambda$openConfigDialog$0(VirtualMachine, Project, Configurable) : void +Deprecated constructor com.intellij.execution.ui.CommonJavaParametersPanel.() is invoked in com.microsoft.azure.hdinsight.spark.ui.SparkLocalRunCommonParametersPanel.() +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkClusterListRefreshableCombo.ViewModel._init_$lambda$3(SparkClusterListRefreshableCombo, ImmutableComboBoxModel) : Unit +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.processMethodAnnotations(PsiMethod, List) : void +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchLocalRunState.execute$1$1.(SparkBatchLocalRunState, Executor) +Deprecated method com.intellij.openapi.extensions.ExtensionPointName.extensions() : java.util.stream.Stream is invoked in com.microsoft.azure.toolkit.ide.guidance.phase.PhaseManager.getTaskProviders() : List +Deprecated method com.intellij.openapi.fileChooser.FileChooserDescriptorFactory.createSingleFileDescriptor() : com.intellij.openapi.fileChooser.FileChooserDescriptor is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.component.DockerImageCreationDialog.init() : void +Deprecated class com.intellij.ui.HideableDecorator is referenced in com.microsoft.azure.toolkit.intellij.common.messager.IntellijErrorDialog.init() : void +Deprecated interface com.intellij.openapi.progress.PerformInBackgroundOption is referenced in com.microsoft.azure.toolkit.intellij.common.task.IntellijAzureTaskManager$3.(IntellijAzureTaskManager, Project, String, boolean, PerformInBackgroundOption, AzureTask, Runnable) +Deprecated method com.intellij.openapi.editor.Document.addDocumentListener(com.intellij.openapi.editor.event.DocumentListener listener) : void is invoked in com.microsoft.azure.toolkit.intellij.common.fileexplorer.VirtualFileActions.addFileListeners(VirtualFile, Function, Runnable, FileEditorManager, TextEditor) : void +Deprecated method org.apache.commons.compress.utils.FileNameUtils.getExtension(java.lang.String fileName) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.webapp.runner.webappconfig.ui.WebAppDeployConfigurationPanel.lambda$createUIComponents$1(VirtualFile) : boolean +Deprecated class com.intellij.ui.HideableTitledPanel is referenced in com.microsoft.intellij.ui.AccessibleHideableTitledPanel.(String, JComponent, boolean, boolean) +Deprecated class com.intellij.openapi.actionSystem.DataKeys is referenced in com.microsoft.intellij.util.PluginUtil.getSelectedModule() : Module +Deprecated method org.apache.commons.compress.utils.FileNameUtils.getExtension(java.lang.String fileName) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.springcloud.deplolyment.SpringCloudDeploymentConfigurationPanel.lambda$init$0(VirtualFile) : boolean +Deprecated method com.intellij.lang.annotation.Annotation.registerFix(com.intellij.codeInsight.intention.IntentionAction fix, com.intellij.openapi.util.TextRange range) : void is invoked in org.wso2.lsp4intellij.contributors.annotator.LSPAnnotator.lambda$requestAndShowCodeActions$1(int, Editor, Command, AtomicBoolean, Annotation) : void +Deprecated method com.intellij.openapi.extensions.ExtensionPointName.extensions() : java.util.stream.Stream is invoked in com.microsoft.azure.toolkit.ide.guidance.input.InputManager.getInputProviders() : List +Deprecated method com.intellij.openapi.actionSystem.ex.ActionUtil.invokeAction(com.intellij.openapi.actionSystem.AnAction action, com.intellij.openapi.actionSystem.DataContext dataContext, java.lang.String place, java.awt.event.InputEvent inputEvent, java.lang.Runnable onDone) : void is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.DependencyUtils.lambda$addOrUpdateMavenDependency$4(AnAction, DataContext) : void +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.processParameterAnnotations(PsiMethod, List) : void +Deprecated method com.intellij.openapi.fileChooser.FileChooserDescriptorFactory.createSingleFileDescriptor() : com.intellij.openapi.fileChooser.FileChooserDescriptor is invoked in com.microsoft.azure.toolkit.intellij.common.AzureArtifactComboBox.onSelectFile() : void +Deprecated method org.apache.commons.lang3.ObjectUtils.equals(java.lang.Object object1, java.lang.Object object2) : boolean is invoked in com.microsoft.azure.toolkit.intellij.cognitiveservices.playground.SystemMessagePanel.onValueChanged() : void +Deprecated class com.intellij.ui.HideableDecorator is referenced in com.microsoft.azure.toolkit.intellij.legacy.webapp.runner.webappconfig.ui.WebAppDeployConfigurationPanel.slotDecorator : HideableDecorator +Deprecated method com.google.common.io.Files.createTempDir() : java.io.File is invoked in com.microsoft.azure.toolkit.ide.appservice.function.AzureFunctionsUtils.createFunctionProjectToTempFolder(String, String, String, String, boolean) : File +Deprecated class com.intellij.openapi.fileTypes.FileTypeFactory is referenced in com.microsoft.azure.toolkit.intellij.arm.language.ARMTemplateFileTypeFactory +Deprecated method java.lang.Class.newInstance() : T is invoked in com.microsoft.azure.hdinsight.spark.console.SparkScalaPluginDelegate.sparkScalaObj_delegate$lambda$0(SparkScalaPluginDelegate) : Object +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AzResource.name() : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.redis.connection.RedisResourcePanel$1.lambda$getItemText$0(Object) : String +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAzureBlobCard.storageContainerUI$lambda$0$1(SparkSubmissionJobUploadStorageAzureBlobCard, ComboboxWithBrowseButton, ItemEvent) : void +Deprecated class com.intellij.ui.HideableDecorator is referenced in com.microsoft.azure.cosmosspark.serverexplore.ui.CosmosSparkProvisionDialog.(CosmosSparkADLAccountNode, AzureSparkServerlessAccount) +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAzureBlobCard.access$getStorageContainerUI$p(SparkSubmissionJobUploadStorageAzureBlobCard) : ComboboxWithBrowseButton +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.localrun.FunctionRunState.prepareStagingFolder(File, RunProcessHandler, Operation) : void +Deprecated method com.intellij.openapi.actionSystem.Presentation.putClientProperty(java.lang.String key, java.lang.Object value) : void is invoked in com.microsoft.intellij.actions.DisableSslCertificateValidationAction.update(AnActionEvent) : void +Deprecated method com.intellij.openapi.util.Comparing.equal(java.lang.String arg1, java.lang.String arg2) : boolean is invoked in com.microsoft.intellij.ui.components.JsonEnvPropertiesField.isModifiedSysEnv(EnvironmentVariable) : boolean +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.dockerhost.DockerHostRunState$1.(DockerHostRunState, AzureDockerClient) +Deprecated method com.intellij.openapi.vfs.VirtualFileManager.addVirtualFileListener(com.intellij.openapi.vfs.VirtualFileListener arg0) : void is invoked in org.wso2.lsp4intellij.IntellijLanguageClient.initComponent() : void +Deprecated method com.intellij.openapi.util.IconLoader.getIcon(java.lang.String path) : javax.swing.Icon is invoked in com.microsoft.azure.hdinsight.projects.HDInsightModuleBuilder.getNodeIcon() : Icon +Deprecated method java.lang.Class.newInstance() : T is invoked in com.microsoft.azure.hdinsight.common.mvc.IdeaSettableControlView.getModel(Class) : T +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.ide.appservice.function.AzureFunctionsUtils.getFunctionTemplate(String) : FunctionTemplate +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.legacy.webapp.runner.webapponlinux.WebAppOnLinuxDeployRunner.() +Deprecated method com.intellij.openapi.util.IconLoader.getIcon(java.lang.String path) : javax.swing.Icon is invoked in com.microsoft.azure.hdinsight.projects.HDInsightModuleType.getNodeIcon(boolean) : Icon +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.common.component.SenderReceiverPanel$1.(SenderReceiverPanel, Disposable) +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkClusterListRefreshableCombo.() +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.localrun.FunctionLocalRunner +Deprecated method com.intellij.openapi.components.ServiceManager.getService(java.lang.Class serviceClass) : T is invoked in com.microsoft.intellij.ApplicationSettings.getInstance() : ApplicationSettings +Deprecated method com.intellij.openapi.util.ShutDownTracker.isShutdownHookRunning() : boolean is invoked in com.microsoft.azure.toolkit.intellij.common.component.UIUtils.assertInPooledThread() : void +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.service.AzureSdkExampleService.loadArtifactExample_aroundBody0(AzureJavaSdkArtifactExampleEntity, JoinPoint) : String +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.lambda$prepareStagingFolder$0(PsiMethod[]) : Map +Deprecated constructor io.netty.handler.ssl.JdkSslContext.(javax.net.ssl.SSLContext sslContext, boolean isClient, io.netty.handler.ssl.ClientAuth clientAuth) is invoked in com.microsoft.azure.toolkit.lib.common.model.AbstractAzServiceSubscription.HttpClientHolder.lambda$getHttpClient$0(AzureConfiguration, SslProvider.SslContextSpec) : void +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in com.microsoft.azure.toolkit.intellij.explorer.azd.AzdTemplatesLibrary.readFromGitHub(String) : List +Deprecated method org.wso2.lsp4intellij.client.languageserver.requestmanager.RequestManager.documentHighlight(org.eclipse.lsp4j.TextDocumentPositionParams arg0) : java.util.concurrent.CompletableFuture is overridden in class org.wso2.lsp4intellij.client.languageserver.requestmanager.DefaultRequestManager +Deprecated method org.jetbrains.idea.maven.server.MavenEmbedderWrapper.clearCachesFor(org.jetbrains.idea.maven.model.MavenId projectId) : void is invoked in com.microsoft.intellij.util.MavenUtils.evaluateEffectivePom(Project, MavenProject) : String +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.legacy.webapp.runner.webappconfig.WebAppRunner.() +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.intellij.helpers.ManifestFileUtilsEx.MainClassFilter.isAccepted(PsiClass) : boolean +Deprecated method com.intellij.ide.DataManager.getDataContextFromFocus() : com.intellij.openapi.util.AsyncResult is invoked in com.microsoft.intellij.util.PluginUtil.getSelectedProject() : Project +Deprecated class com.intellij.openapi.components.ServiceManager is referenced in com.microsoft.azure.toolkit.intellij.connector.ConnectionDefinition.readDeprecatedConnection(Element) : Connection +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in com.microsoft.azure.toolkit.intellij.java.sdk.utils.MavenUtils.getLatestArtifactVersion(String, String) : String +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.service.AzureSdkLibraryService.loadSpringSDKEntities_aroundBody2(JoinPoint) : List +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in com.microsoft.azure.toolkit.ide.common.dotnet.DotnetRuntimeHandler.prepareDotnetInstallScript(String) : File +Deprecated method com.intellij.openapi.util.Disposer.isDisposed(com.intellij.openapi.Disposable disposable) : boolean is invoked in com.microsoft.azure.hdinsight.spark.ui.SparkClusterListRefreshableCombo.ViewModel._get_clusterIsSelected_$lambda$0(SparkClusterListRefreshableCombo.ViewModel, Long) : Boolean +Deprecated class org.eclipse.lsp4j.SymbolInformation is referenced in org.wso2.lsp4intellij.contributors.label.LSPDefaultLabelProvider.symbolLocationFor(SymbolInformation, Project) : String +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is invoked in com.microsoft.azure.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable.createExtraActions() : AnActionButton[]. This method will be removed in a future release +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AbstractAzServiceSubscription.getUserAgentPolicy(java.lang.String userAgent) : com.azure.core.http.policy.HttpPipelinePolicy is invoked in com.microsoft.azure.toolkit.lib.sparkoncosmos.AzureSparkOnCosmosService.loadResourceFromAzure(String, String) : CosmosManager +Deprecated class com.intellij.ui.ListCellRendererWrapper is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.component.ContainerSettingPanel$1 +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.AnnotationHelper.handleArrayAnnotationValue(PsiConstantEvaluationHelper, PsiArrayInitializerMemberValue) : Object[] +Deprecated method java.lang.Class.newInstance() : T is invoked in com.microsoft.azure.toolkit.lib.common.telemetry.AzureTelemeter.instantiate(Class) : U +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.AnnotationHelper.getEnumConstantString(PsiAnnotationMemberValue) : String +Deprecated method com.intellij.openapi.components.ServiceManager.getService(java.lang.Class serviceClass) : T is invoked in com.microsoft.azure.toolkit.intellij.connector.ConnectionDefinition.readDeprecatedConnection(Element) : Connection +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.component.AzureDockerImageComboBox.loadDockerFiles() : List +Deprecated method com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.PluginsAdvertiser.installAndEnablePlugins(java.util.Set pluginIds, java.lang.Runnable onSuccess) : void is invoked in com.microsoft.azure.hdinsight.projects.ui.HDInsightProjectTypeStep.lambda$showScalaPluginInstallDialog$0(Set) : void +Deprecated method com.intellij.psi.PsiElement.checkAdd(com.intellij.psi.PsiElement arg0) : void is overridden in class org.wso2.lsp4intellij.contributors.psi.LSPPsiElement +Deprecated method com.intellij.openapi.util.IconLoader.getIcon(java.lang.String path) : javax.swing.Icon is invoked in com.microsoft.azure.cosmosserverlessspark.spark.ui.CosmosServerlessSparkJobsToolWindowFactory.createToolWindowContent(Project, ToolWindow) : void +Deprecated constructor org.apache.commons.exec.DefaultExecutor.() is invoked in com.microsoft.azure.toolkit.lib.common.utils.CommandUtils.executeCommandAndGetOutput(CommandLine, File, Map, boolean) : String +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.console.SparkLivySessionProcessHandler.startNotify$1.(SparkLivySessionProcessHandler) +Deprecated class org.eclipse.lsp4j.SymbolInformation is referenced in org.wso2.lsp4intellij.contributors.symbol.WorkspaceSymbolProvider.lambda$collectSymbol$0(LanguageServerWrapper, SymbolInformation) : WorkspaceSymbolProvider.LSPSymbolResult +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AzResource.id() : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.appservice.actions.OpenAppServicePropertyViewAction.openFunctionAppPropertyView(FunctionApp, Project) : void +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkFailureTaskRunProfileState.execute.processHandler$1$1 +Deprecated class com.intellij.ui.HideableDecorator is referenced in com.microsoft.azure.toolkit.intellij.legacy.webapp.runner.webappconfig.ui.WebAppDeployConfigurationPanel.getValue() : IntelliJWebAppSettingModel +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AzResource.name() : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.vm.creation.component.SecurityGroupComboBox.getItemText(Object) : String +Deprecated class com.intellij.util.ui.UIUtil.JBWordWrapHtmlEditorKit is referenced in com.microsoft.azure.toolkit.ide.guidance.view.components.PhasePanel.initOutputPanel() : void +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.createBinding(Project, BindingEnum, PsiAnnotation) : Binding +Deprecated method org.jetbrains.plugins.terminal.TerminalUtil.hasRunningCommands(com.jediterm.terminal.ProcessTtyConnector connector) : boolean is invoked in com.microsoft.azure.toolkit.intellij.common.TerminalUtils.hasRunningCommands(TerminalWidget) : boolean +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkClusterListRefreshableCombo.access$getClustersSelection$p(SparkClusterListRefreshableCombo) : ComboboxWithBrowseButton +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAzureBlobCard.ViewModel.(SparkSubmissionJobUploadStorageAzureBlobCard) +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkClusterListRefreshableCombo.ViewModel.(IClusterDetail[], Function1) +Deprecated method com.intellij.openapi.roots.OrderEntry.getFiles(com.intellij.openapi.roots.OrderRootType arg0) : com.intellij.openapi.vfs.VirtualFile[] is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.lambda$prepareStagingFolder$3(List, OrderEntry) : boolean +Deprecated method com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.setValidator(com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.Validator validator) : void is invoked in com.microsoft.azure.toolkit.intellij.redis.creation.RedisCreationDialog.initListeners() : void +Deprecated method com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.doValidate(T value) : com.microsoft.azure.toolkit.lib.common.form.AzureValidationInfo is overridden in class com.microsoft.azure.toolkit.intellij.database.PasswordUtils$1 +Deprecated field com.intellij.AppTopics.FILE_DOCUMENT_SYNC : com.intellij.util.messages.Topic is accessed in org.wso2.lsp4intellij.IntellijLanguageClient.initComponent() : void +Deprecated method org.eclipse.lsp4j.TextDocumentContentChangeEvent.setRangeLength(java.lang.Integer rangeLength) : void is invoked in org.wso2.lsp4intellij.editor.DocumentEventManager.documentChanged(DocumentEvent) : void +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobRunner.() +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AzResource.name() : java.lang.String is invoked in com.microsoft.azure.toolkit.lib.legacy.appservice.jfr.FlightRecorderManager.lambda$getFlightRecorderStarter$0(AppServiceAppBase, String) : FlightRecorderStarterBase +Deprecated constructor com.azure.core.util.ExpandableStringEnum.() is invoked in com.microsoft.azure.toolkit.intellij.java.sdk.models.ErrorCode.() +Deprecated method org.jetbrains.plugins.gradle.service.project.open.GradleProjectImportUtil.linkAndRefreshGradleProject(java.lang.String projectFilePath, com.intellij.openapi.project.Project project) : void is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.wizard.module.helper.GradleFunctionsModuleBuilderHelper.lambda$linkGradleProject$0(Project) : void +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.common.AzureRunConfigurationBase.checkAzurePreconditions() : void +Deprecated method com.github.dockerjava.api.model.ResponseItem.getProgress() : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.buildimage.DockerBuildTaskProvider.DockerBuildBeforeRunTask$1.onNext(BuildResponseItem) : void +Deprecated field com.intellij.AppTopics.FILE_DOCUMENT_SYNC : com.intellij.util.messages.Topic is accessed in com.microsoft.azure.toolkit.intellij.common.fileexplorer.VirtualFileActions.addFileListeners(VirtualFile, Function, Runnable, FileEditorManager, TextEditor) : void +Deprecated method org.apache.commons.compress.utils.FileNameUtils.getExtension(java.lang.String fileName) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.containerapps.component.ArtifactForm.lambda$init$0(VirtualFile) : boolean +Deprecated class org.eclipse.lsp4j.SymbolInformation is referenced in org.wso2.lsp4intellij.contributors.symbol.WorkspaceSymbolProvider.from(WorkspaceSymbol) : SymbolInformation +Deprecated method com.intellij.openapi.extensions.ExtensionPointName.extensions() : java.util.stream.Stream is invoked in com.microsoft.azure.toolkit.intellij.connector.ConnectionManager.Impl.getDefinitions() : Map +Deprecated method com.intellij.openapi.extensions.PluginDescriptor.isEnabled() : boolean is invoked in com.microsoft.azure.toolkit.intellij.azuremcp.AzureSkillsInitializer.isCopilotPluginInstalled() : boolean +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.springcloud.deplolyment.SpringCloudDeploymentRunner +Deprecated class org.eclipse.lsp4j.SymbolInformation is referenced in org.wso2.lsp4intellij.contributors.icon.LSPIconProvider.getSymbolIcon(SymbolInformation) : Icon +Deprecated interface com.intellij.openapi.components.ApplicationComponent is referenced in org.wso2.lsp4intellij.IntellijLanguageClient +Deprecated method com.intellij.ide.DataManager.getDataContext() : com.intellij.openapi.actionSystem.DataContext is invoked in com.microsoft.azure.toolkit.intellij.common.ProjectUtils.lambda$getProject$1() : Optional +Deprecated method javax.swing.AbstractButton.setLabel(java.lang.String label) : void is invoked in com.microsoft.azure.toolkit.intellij.database.component.PasswordDialog.$$$setupUI$$$() : void +Deprecated class com.intellij.AppTopics is referenced in com.microsoft.azure.toolkit.intellij.common.fileexplorer.VirtualFileActions.addFileListeners(VirtualFile, Function, Runnable, FileEditorManager, TextEditor) : void +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.service.AzureSdkLibraryService.loadAzureSDKEntities_aroundBody4(JoinPoint) : List +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAdlsCard.ViewModel.(SparkSubmissionJobUploadStorageAdlsCard) +Deprecated method com.intellij.openapi.extensions.PluginDescriptor.isEnabled() : boolean is invoked in com.microsoft.azure.toolkit.intellij.appmod.javaupgrade.service.JavaVersionNotificationService.tryReflectionCopilotCall(Project, String) : boolean +Deprecated field com.intellij.ProjectTopics.PROJECT_ROOTS : com.intellij.util.messages.Topic is accessed in com.microsoft.azure.toolkit.intellij.facet.AddFacetStartupActivity.execute(Project, Continuation) : Object +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAdlsCard.access$getSubscriptionsComboBox$p(SparkSubmissionJobUploadStorageAdlsCard) : ComboboxWithBrowseButton +Deprecated method com.intellij.openapi.extensions.PluginDescriptor.isEnabled() : boolean is invoked in com.microsoft.azure.toolkit.intellij.containerservice.actions.KubernetesUtils.lambda$isKubernetesPluginEnabled$0(IdeaPluginDescriptor) : Boolean +Deprecated class com.microsoft.azuretools.core.mvp.model.webapp.AzureWebAppMvpModel is referenced in com.microsoft.azure.toolkit.intellij.legacy.webapp.action.CreateWebAppAction.deploy(WebAppBase, Path, Project) : void +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AzResource.name() : java.lang.String is invoked in com.microsoft.azure.toolkit.lib.legacy.appservice.jfr.FlightRecorderStarterBase.lambda$downloadJFRFile$0(String) : AzureToolkitRuntimeException +Deprecated method com.intellij.ide.plugins.PluginManager.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.intellij.util.PluginUtil.getPluginRootDirectory() : String +Deprecated class com.intellij.ui.ListCellRendererWrapper is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.component.ContainerSettingPanel$1.(ContainerSettingPanel) +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.deploy.FunctionDeploymentRunner.() +Deprecated method com.intellij.ui.ComponentUtil.putClientProperty(javax.swing.JComponent component, com.intellij.openapi.util.Key key, T value) : void is invoked in com.microsoft.azure.toolkit.intellij.common.AzureComboBox.(boolean) +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.console.SparkLivySessionProcessHandler.startNotify$1 +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobDebugProcessHandler.startNotify$1 +Deprecated method com.intellij.openapi.fileChooser.FileChooserDescriptorFactory.createSingleLocalFileDescriptor() : com.intellij.openapi.fileChooser.FileChooserDescriptor is invoked in com.microsoft.azure.toolkit.intellij.arm.update.UpdateDeploymentDialog.initListeners() : void +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.common.auth.AzureLoginHelper.ensureAzureSubsAvailable() : void +Deprecated method com.github.dockerjava.api.model.ResponseItem.getProgress() : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.ContainerService$1.onNext(PushResponseItem) : void +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in org.wso2.lsp4intellij.utils.FileUtils.VFSToURI(VirtualFile) : String +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobDebugProcessHandler.startNotify$1.(SparkBatchJobDebugProcessHandler) +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AbstractAzServiceSubscription.getUserAgentPolicy(java.lang.String userAgent) : com.azure.core.http.policy.HttpPipelinePolicy is invoked in com.microsoft.azure.toolkit.lib.hdinsight.AzureHDInsightService.loadResourceFromAzure(String, String) : HDInsightManager +Deprecated class com.intellij.AppTopics is referenced in org.wso2.lsp4intellij.IntellijLanguageClient.initComponent() : void +Deprecated method com.intellij.openapi.extensions.PluginDescriptor.isEnabled() : boolean is invoked in com.microsoft.azure.toolkit.intellij.appmod.common.AppModPluginInstaller.isCopilotInstalled() : boolean +Deprecated method com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.setValidator(com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.Validator validator) : void is invoked in com.microsoft.azure.toolkit.intellij.storage.component.AccountNameTextField.() +Deprecated method com.intellij.openapi.application.ReadAction.nonBlocking(java.lang.Runnable task) : com.intellij.openapi.application.NonBlockingReadAction is invoked in com.microsoft.azure.toolkit.intellij.common.task.IntellijAzureTaskManager.doRead(Runnable, AzureTask) : void +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.localrun.FunctionRunConfiguration.getModule() : Module +Deprecated method com.intellij.openapi.fileChooser.FileChooserDescriptorFactory.createSingleFileDescriptor() : com.intellij.openapi.fileChooser.FileChooserDescriptor is invoked in com.microsoft.azure.toolkit.intellij.keyvault.creation.certificate.CertificateCreationDialog.init() : void +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.legacy.webapp.runner.webappconfig.WebAppRunner +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.getBinding(Project, JvmAnnotation) : Binding +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AbstractAzServiceSubscription.getUserAgentPolicy(java.lang.String userAgent) : com.azure.core.http.policy.HttpPipelinePolicy is invoked in com.microsoft.azure.toolkit.lib.synapse.AzureSynapseService.loadResourceFromAzure(String, String) : SynapseManager +Deprecated method com.intellij.openapi.actionSystem.Presentation.putClientProperty(java.lang.String key, java.lang.Object value) : void is invoked in com.microsoft.intellij.actions.DisableSslCertificateValidationAction.onActionPerformed(AnActionEvent, Operation) : boolean +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.AnnotationHelper.evaluateAnnotationProperties(Project, PsiAnnotation, List) : Map +Deprecated method com.intellij.openapi.extensions.ExtensionPointName.extensions() : java.util.stream.Stream is invoked in com.microsoft.azure.toolkit.intellij.connector.ResourceManager.Impl.getDefinitions() : Map +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobDebugProcessHandler$2 +Deprecated method com.microsoft.azure.toolkit.lib.legacy.function.template.FunctionTemplate.getTriggerType() : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.action.CreateFunctionAction.lambda$invokeDialog$0(FunctionClassCreationDialog, PsiDirectory, Operation, Project, List, FunctionClassCreationDialog.FunctionCreationResult) : void +Deprecated class com.intellij.openapi.util.AsyncResult is referenced in com.microsoft.intellij.util.PluginUtil.getSelectedModule() : Module +Deprecated constructor com.intellij.execution.junit.JavaRunConfigurationProducerBase.(com.intellij.execution.configurations.ConfigurationType configurationType) is invoked in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobLocalRunConfigurationProducer.(ConfigurationType, SparkApplicationType) +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAzureBlobCard.doRefresh$lambda$0(SparkSubmissionJobUploadStorageAzureBlobCard) : void +Deprecated method com.intellij.openapi.project.Project.getBaseDir() : com.intellij.openapi.vfs.VirtualFile is invoked in com.microsoft.azure.toolkit.intellij.appmod.javaupgrade.action.JavaUpgradeContextMenuAction.isProjectRoot(Project, VirtualFile) : boolean +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.springcloud.deplolyment.SpringCloudDeploymentRunner.() +Deprecated class com.intellij.ui.HideableDecorator is referenced in com.microsoft.azure.toolkit.intellij.legacy.webapp.runner.webappconfig.ui.WebAppDeployConfigurationPanel.(Project, WebAppConfiguration) +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.legacy.common.AzureRunProfileState$1.(AzureRunProfileState, Disposable) +Deprecated method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is overridden in class com.microsoft.azure.cosmos.spark.actions.SparkAppSubmitContext. This method will be removed in a future release +Deprecated method com.intellij.openapi.extensions.PluginDescriptor.isEnabled() : boolean is invoked in com.microsoft.azure.toolkit.intellij.appmod.common.AppModPluginInstaller.isAppModPluginInstalled() : boolean +Deprecated method com.intellij.ide.actions.CreateElementActionBase.getCommandName() : java.lang.String is overridden in class com.microsoft.azure.toolkit.intellij.legacy.function.action.CreateFunctionAction +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.findFileInFunctionModule(Module, String) : String +Deprecated method com.fasterxml.jackson.databind.ObjectMapper.disable(com.fasterxml.jackson.databind.MapperFeature[] f) : com.fasterxml.jackson.databind.ObjectMapper is invoked in com.microsoft.azure.toolkit.lib.common.validator.SchemaValidator.() +Deprecated class com.intellij.ui.HideableDecorator is referenced in com.microsoft.azure.cosmosspark.serverexplore.ui.CosmosSparkProvisionDialog.lambda$setData$0(CosmosSparkClusterProvisionSettingsModel) : void +Deprecated method java.lang.Thread.getId() : long is invoked in com.microsoft.azure.toolkit.lib.legacy.appservice.WebSocketSSLProxy.start() : void +Deprecated method org.eclipse.lsp4j.InitializeParams.getRootUri() : java.lang.String is invoked in org.wso2.lsp4intellij.client.languageserver.wrapper.LanguageServerWrapper.getInitParams() : InitializeParams +Deprecated method org.eclipse.lsp4j.SymbolInformation.setDeprecated(java.lang.Boolean deprecated) : void is invoked in org.wso2.lsp4intellij.contributors.symbol.WorkspaceSymbolProvider.from(WorkspaceSymbol) : SymbolInformation +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAdlsCard.subscriptionsComboBox : ComboboxWithBrowseButton +Deprecated method org.wso2.lsp4intellij.client.languageserver.requestmanager.RequestManager.signatureHelp(org.eclipse.lsp4j.TextDocumentPositionParams arg0) : java.util.concurrent.CompletableFuture is overridden in class org.wso2.lsp4intellij.client.languageserver.requestmanager.DefaultRequestManager +Deprecated method com.intellij.codeInsight.completion.CompletionConfidence.shouldSkipAutopopup(com.intellij.psi.PsiElement contextElement, com.intellij.psi.PsiFile psiFile, int offset) : com.intellij.util.ThreeState is overridden in class com.microsoft.azure.toolkit.intellij.keyvault.code.spring.EnvVarConfidence +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.component.table.ImportAppSettingsDialog$1.loadItems() : List +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.DependencyUtils.addOrUpdateMavenDependency(MavenProjectModule, AzureSdkArtifactEntity, String) : void +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAdlsCard.doRefreshSubscriptions() : void +Deprecated class org.apache.commons.lang3.StringEscapeUtils is referenced in com.microsoft.azure.toolkit.intellij.cognitiveservices.chatbox.sourcecode.JavaSourceCodeGenerator.lambda$generateCode$1(String) : String +Deprecated method com.intellij.util.net.ssl.ConfirmingTrustManager.checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, boolean addToKeyStore, boolean askUser) : void is invoked in com.microsoft.intellij.secure.IdeaTrustStrategy.isTrusted(X509Certificate[], String) : boolean +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.getUserDefinedBinding(Project, PsiAnnotation) : Binding +Deprecated class org.jdom.xpath.XPath is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.deploy.FunctionDeployConfiguration.readExternal(Element) : void +Deprecated method com.github.dockerjava.api.command.CreateContainerCmd.withPortBindings(java.util.List portBindings) : com.github.dockerjava.api.command.CreateContainerCmd is invoked in com.microsoft.azure.toolkit.intellij.container.AzureDockerClient.createContainer(String, Integer[]) : String +Deprecated method com.intellij.openapi.project.Project.getBaseDir() : com.intellij.openapi.vfs.VirtualFile is invoked in com.microsoft.intellij.ui.NewCertificateDialog$1.actionPerformed(ActionEvent) : void +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.springcloud.deplolyment.SpringCloudDeploymentConfigurationState$1.(SpringCloudDeploymentConfigurationState, Disposable) +Deprecated method org.jetbrains.plugins.terminal.TerminalToolWindowManager.createShellWidget(java.lang.String workingDirectory, java.lang.String tabName, boolean requestFocus, boolean deferSessionStartUntilUiShown) : com.intellij.terminal.ui.TerminalWidget is invoked in com.microsoft.azure.toolkit.intellij.common.TerminalUtils.createTerminalWidget(Project, Path, String) : TerminalWidget +Deprecated method com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.setValidator(com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.Validator validator) : void is invoked in com.microsoft.azure.toolkit.intellij.connector.aad.AzureCallbackUrlTable.() +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.legacy.webapp.runner.webapponlinux.WebAppOnLinuxDeployRunner +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkClusterListRefreshableCombo.clustersSelection$1$1$1.$this_apply : ComboboxWithBrowseButton +Deprecated class com.intellij.openapi.fileTypes.FileTypeFactory is referenced in com.microsoft.azure.toolkit.intellij.arm.language.ARMTemplateFileTypeFactory.() +Deprecated method com.intellij.openapi.components.BaseComponent.disposeComponent() : void is overridden in class org.wso2.lsp4intellij.IntellijLanguageClient +Deprecated interface com.intellij.openapi.progress.PerformInBackgroundOption is referenced in com.microsoft.intellij.rxjava.IdeaSchedulers$3.(IdeaSchedulers, Project, String, boolean, PerformInBackgroundOption, Runnable) +Deprecated method com.intellij.codeInsight.daemon.DaemonCodeAnalyzer.restart() : void is invoked in com.microsoft.azure.toolkit.intellij.appmod.javaupgrade.JavaUpgradeCheckStartupActivity.lambda$performJavaUpgradeCheck$1(Project, List) : void +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is overridden in class com.microsoft.azure.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable. This method will be removed in a future release +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.localrun.FunctionRunState$1.(FunctionRunState) +Deprecated method com.intellij.codeInsight.completion.CompletionConfidence.shouldSkipAutopopup(com.intellij.psi.PsiElement contextElement, com.intellij.psi.PsiFile psiFile, int offset) : com.intellij.util.ThreeState is overridden in class com.microsoft.azure.toolkit.intellij.connector.code.function.FunctionAnnotationCompletionConfidence +Deprecated method org.wso2.lsp4intellij.client.languageserver.requestmanager.RequestManager.hover(org.eclipse.lsp4j.TextDocumentPositionParams arg0) : java.util.concurrent.CompletableFuture is overridden in class org.wso2.lsp4intellij.client.languageserver.requestmanager.DefaultRequestManager +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAzureBlobCard.storageContainerUI : ComboboxWithBrowseButton +Deprecated method com.intellij.openapi.actionSystem.ex.ActionUtil.invokeAction(com.intellij.openapi.actionSystem.AnAction action, com.intellij.openapi.actionSystem.DataContext dataContext, java.lang.String place, java.awt.event.InputEvent inputEvent, java.lang.Runnable onDone) : void is invoked in com.microsoft.azure.toolkit.intellij.common.action.WhatsNewStartupActivity.lambda$execute$2(AnAction, DataContext) : void +Deprecated method com.intellij.openapi.extensions.ExtensionPointName.extensions() : java.util.stream.Stream is invoked in com.microsoft.azure.toolkit.ide.guidance.task.TaskManager.getTaskProviders() : List +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AzResource.name() : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.appservice.actions.OpenAppServicePropertyViewAction.openFunctionAppPropertyView(FunctionApp, Project) : void +Deprecated class com.intellij.ui.HideableDecorator is referenced in com.microsoft.azure.toolkit.intellij.legacy.webapp.runner.webappconfig.ui.WebAppDeployConfigurationPanel.setValue(IntelliJWebAppSettingModel) : void +Deprecated constructor com.intellij.ssh.ui.unified.SshUiData.(com.intellij.ssh.config.unified.SshConfig config) is invoked in com.microsoft.azure.toolkit.intellij.vm.ssh.BrowseRemoteHostSftpAction.tryConnecting(Project, SshConfig, Runnable) : void +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is invoked in com.microsoft.intellij.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable.createExtraActions() : AnActionButton[]. This method will be removed in a future release +Deprecated method java.lang.Thread.getId() : long is invoked in com.microsoft.azure.toolkit.lib.common.operation.OperationThreadContext.dispose() : void +Deprecated class com.intellij.ui.HideableTitledPanel is referenced in com.microsoft.azure.hdinsight.serverexplore.ui.AddNewClusterForm.authErrorDetailsDecorator : HideableTitledPanel +Deprecated method com.intellij.util.PathsList.addAllFiles(java.io.File[] files) : void is invoked in com.microsoft.azure.hdinsight.spark.run.SparkFailureTaskRunProfileState.createCommandLine() : GeneralCommandLine +Deprecated method org.apache.commons.compress.utils.FileNameUtils.getExtension(java.lang.String fileName) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.appservice.AppServiceInfoBasicPanel.lambda$init$0(VirtualFile) : boolean +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.containerapps.deployimage.DeployImageRunRunner +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.common.component.AzureDialogWrapper.validateAzureSubs(JComponent) : ValidationInfo +Deprecated method com.intellij.openapi.util.Comparing.equal(java.lang.String arg1, java.lang.String arg2) : boolean is invoked in com.microsoft.azure.toolkit.intellij.legacy.common.AzureRunConfigurationBase.readExternal(Element) : void +Deprecated method com.intellij.openapi.project.Project.getBaseDir() : com.intellij.openapi.vfs.VirtualFile is invoked in com.microsoft.azure.toolkit.intellij.storage.azurite.AzuriteService.getAzuriteWorkspace(Project) : String +Deprecated method com.intellij.codeInsight.daemon.DaemonCodeAnalyzer.restart(com.intellij.psi.PsiFile psiFile) : void is invoked in org.wso2.lsp4intellij.client.languageserver.wrapper.LanguageServerWrapper.lambda$connect$1(Editor) : Object +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.pushimage.PushImageRunRunner +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in com.microsoft.azure.toolkit.intellij.samples.model.GithubOrganization.search(String, int, int) : SearchResult +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobRunProcessHandler$2 +Deprecated method com.intellij.execution.ExecutionManager.getContentManager() : com.intellij.execution.ui.RunContentManager is invoked in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobDebuggerRunner.doExecute(RunProfileState, ExecutionEnvironment) : RunContentDescriptor +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.generateConfiguration(PsiMethod) : FunctionConfiguration +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.pushimage.PushImageRunRunner.() +Deprecated class com.intellij.openapi.components.ServiceManager is referenced in com.microsoft.intellij.ApplicationSettings.getInstance() : ApplicationSettings +Deprecated class org.eclipse.lsp4j.SymbolInformation is referenced in org.wso2.lsp4intellij.contributors.symbol.WorkspaceSymbolProvider.LSPSymbolResult.symbolInformation : SymbolInformation +Deprecated class com.intellij.ui.HideableDecorator is referenced in com.microsoft.azure.cosmosspark.serverexplore.ui.CosmosSparkProvisionDialog.(Project, SparkOnCosmosADLAccountNode, AzureSparkServerlessAccount) +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobRunProcessHandler$2.(SparkBatchJobRunProcessHandler) +Deprecated method org.apache.commons.compress.utils.FileNameUtils.getBaseName(java.lang.String fileName) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.webapp.runner.webappconfig.WebAppRunState.onSuccess(WebAppBase, RunProcessHandler) : void +Deprecated method com.intellij.codeInsight.completion.CompletionConfidence.shouldSkipAutopopup(com.intellij.psi.PsiElement contextElement, com.intellij.psi.PsiFile psiFile, int offset) : com.intellij.util.ThreeState is overridden in class com.microsoft.azure.toolkit.intellij.storage.code.spring.StoragePathCompletionConfidence +Deprecated class org.eclipse.lsp4j.SymbolInformation is referenced in org.wso2.lsp4intellij.contributors.label.LSPLabelProvider.symbolNameFor(SymbolInformation, Project) : String +Deprecated method com.intellij.openapi.fileChooser.FileChooserDescriptorFactory.createSingleLocalFileDescriptor() : com.intellij.openapi.fileChooser.FileChooserDescriptor is invoked in com.microsoft.azure.toolkit.intellij.arm.creation.CreateDeploymentDialog.initListeners() : void +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.prepareStagingFolder(Path, Path, Project, Module, PsiMethod[]) : Map +Deprecated constructor com.intellij.codeInsight.daemon.LineMarkerInfo.(T element, com.intellij.openapi.util.TextRange range, javax.swing.Icon icon, com.intellij.util.Function tooltipProvider, com.intellij.codeInsight.daemon.GutterIconNavigationHandler navHandler, com.intellij.openapi.editor.markup.GutterIconRenderer.Alignment alignment) is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.runner.DockerRunLineMarkerProvider$2.(DockerRunLineMarkerProvider, PsiElement, TextRange, Icon, Function, GutterIconNavigationHandler, GutterIconRenderer.Alignment, ActionGroup) +Deprecated method org.apache.commons.compress.utils.FileNameUtils.getExtension(java.lang.String fileName) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.webapp.runner.webappconfig.WebAppRunState.onSuccess(WebAppBase, RunProcessHandler) : void +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.deploy.FunctionDeploymentRunner +Deprecated method org.wso2.lsp4intellij.client.languageserver.requestmanager.RequestManager.definition(org.eclipse.lsp4j.TextDocumentPositionParams arg0) : java.util.concurrent.CompletableFuture is overridden in class org.wso2.lsp4intellij.client.languageserver.requestmanager.DefaultRequestManager +Deprecated method org.apache.commons.compress.utils.FileNameUtils.getExtension(java.lang.String fileName) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.function.components.ModuleFileComboBox.selectLocalSettings() : void +Deprecated method java.lang.Thread.getId() : long is invoked in com.microsoft.azure.toolkit.lib.common.operation.OperationThreadContext.derive() : OperationThreadContext +Deprecated method com.intellij.ui.SimpleListCellRenderer.create(com.intellij.ui.SimpleListCellRenderer.Customizer customizer) : com.intellij.ui.SimpleListCellRenderer is invoked in com.microsoft.azure.toolkit.lib.legacy.function.FunctionCoreToolsCombobox.(Project, boolean). This method will be removed in a future release +Deprecated method org.jetbrains.plugins.terminal.TerminalToolWindowManager.createLocalShellWidget(java.lang.String workingDirectory, java.lang.String tabName) : org.jetbrains.plugins.terminal.ShellTerminalWidget is invoked in com.microsoft.azure.toolkit.intellij.vm.ssh.ConnectUsingSshActionCommunityImpl.lambda$connectBySsh$0(Project, String, VirtualMachine) : void. This method will be removed in a future release +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobRunProcessHandler$1.(SparkBatchJobRunProcessHandler, SparkBatchJobRemoteProcess) +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.deploy.FunctionDeployConfiguration.getModule() : Module +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in com.microsoft.azure.toolkit.lib.common.utils.Utils.isUrlAccessible(String, Integer[]) : boolean +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.AnnotationHelper.getPsiAnnotationMemberValue(PsiConstantEvaluationHelper, PsiAnnotationMemberValue) : Object +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.localrun.FunctionLocalRunner.() +Deprecated method com.intellij.openapi.fileChooser.FileChooserDescriptorFactory.createSingleLocalFileDescriptor() : com.intellij.openapi.fileChooser.FileChooserDescriptor is invoked in com.microsoft.azure.toolkit.intellij.settings.AzureSettingsPanel.createUIComponents() : void +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.storage.azurite.AzuriteService$1 +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobRunProcessHandler$1 +Deprecated interface com.intellij.openapi.progress.PerformInBackgroundOption is referenced in com.microsoft.azure.toolkit.intellij.common.task.IntellijAzureTaskManager.doRunInBackgroundableModal(Runnable, AzureTask) : void +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.function.components.connection.FunctionConnectionComboBox.getLocalSettingsFromModule(Module) : VirtualFile +Deprecated method com.intellij.openapi.wm.ToolWindowFactory.isApplicable(com.intellij.openapi.project.Project project) : boolean is overridden in class com.microsoft.intellij.ui.ActivityLogToolWindowFactory +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AzResource.name() : java.lang.String is invoked in com.microsoft.azure.toolkit.lib.legacy.appservice.jfr.LinuxFlightRecorderStarter.lambda$downloadJFRFile$0(String) : AzureToolkitRuntimeException +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAzureBlobCard.doRefresh() : void +Deprecated method com.intellij.notification.Notification.setListener(com.intellij.notification.NotificationListener listener) : com.intellij.notification.Notification is invoked in com.microsoft.azure.toolkit.intellij.common.messager.IntellijAzureMessager.createNotification(String, String, NotificationType) : Notification +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAdlsCard.subscriptionsComboBox$lambda$0$2(SparkSubmissionJobUploadStorageAdlsCard, ComboboxWithBrowseButton, ItemEvent) : void +Deprecated method org.jetbrains.plugins.terminal.TerminalToolWindowManager.createShellWidget(java.lang.String workingDirectory, java.lang.String tabName, boolean requestFocus, boolean deferSessionStartUntilUiShown) : com.intellij.terminal.ui.TerminalWidget is invoked in com.microsoft.azure.toolkit.intellij.common.TerminalUtils.lambda$getTerminalWidget$1(TerminalToolWindowManager, String, String) : TerminalWidget +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.dockerhost.DockerHostRunState$1 +Deprecated class com.intellij.ui.HideableDecorator is referenced in com.microsoft.azure.cosmosspark.serverexplore.ui.CosmosSparkProvisionDialog.errorMessageDecorator : HideableDecorator +Deprecated class com.intellij.openapi.components.ServiceManager is referenced in com.microsoft.azure.toolkit.intellij.common.settings.IntellijStore.getInstance() : IntellijStore +Deprecated method com.intellij.ide.DataManager.getDataContextFromFocus() : com.intellij.openapi.util.AsyncResult is invoked in com.microsoft.intellij.util.PluginUtil.getSelectedModule() : Module +Deprecated method com.intellij.lang.annotation.Annotation.registerFix(com.intellij.codeInsight.intention.IntentionAction fix, com.intellij.openapi.util.TextRange range) : void is invoked in org.wso2.lsp4intellij.contributors.annotator.LSPAnnotator.lambda$requestAndShowCodeActions$2(int, Editor, CodeAction, AtomicBoolean, Annotation) : void +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAzureBlobCard.ViewModel.refreshContainers$lambda$4(SparkSubmissionJobUploadStorageAzureBlobCard, SparkSubmissionJobUploadStorageAzureBlobCard.ViewModel, Throwable) : Unit +Deprecated class org.apache.commons.lang3.StringEscapeUtils is referenced in com.microsoft.azure.toolkit.intellij.cognitiveservices.chatbox.sourcecode.JavaSourceCodeGenerator.lambda$generateCode$0(ChatMessage) : String +Deprecated class org.apache.commons.lang3.StringEscapeUtils is referenced in com.microsoft.azure.toolkit.intellij.cognitiveservices.chatbox.sourcecode.CurlSourceCodeGenerator.generateCode(ChatBot) : String +Deprecated method com.intellij.openapi.fileChooser.FileChooserDescriptorFactory.createSingleFileDescriptor() : com.intellij.openapi.fileChooser.FileChooserDescriptor is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.component.AzureDockerImageComboBox.selectDockerFile() : void +Deprecated class com.intellij.ui.HideableDecorator is referenced in com.microsoft.azure.toolkit.intellij.legacy.webapp.WebAppBasePropertyView.(Project, String, String, String, VirtualFile) +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.generateConfigurations(PsiMethod[]) : Map +Deprecated method com.intellij.openapi.components.BaseComponent.initComponent() : void is overridden in class org.wso2.lsp4intellij.IntellijLanguageClient +Deprecated method org.apache.commons.lang3.ObjectUtils.equals(java.lang.Object object1, java.lang.Object object2) : boolean is invoked in com.microsoft.azure.toolkit.intellij.cognitiveservices.playground.SystemMessagePanel.onSelectTemplate(ItemEvent) : void +Deprecated class org.eclipse.lsp4j.SymbolInformation is referenced in org.wso2.lsp4intellij.contributors.symbol.WorkspaceSymbolProvider.LSPSymbolResult.getSymbolInformation() : SymbolInformation +Deprecated method com.intellij.execution.target.BrowsableTargetEnvironmentType.createBrowser(com.intellij.openapi.project.Project project, java.lang.String title, com.intellij.openapi.ui.TextComponentAccessor textComponentAccessor, T component, java.util.function.Supplier configurationSupplier) : java.awt.event.ActionListener is overridden in class com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType. This method will be removed in a future release +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in com.microsoft.azure.toolkit.lib.common.utils.NetUtils.getPublicIp(String) : String +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.DependencyUtils.addOrUpdateGradleDependency(GradleProjectModule, AzureSdkArtifactEntity, String) : void +Deprecated method com.intellij.ide.plugins.PluginManager.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.common.CommonConst.() : void +Deprecated class com.intellij.ide.util.TipUIUtil is referenced in com.microsoft.azure.hdinsight.spark.ui.ConsoleViewWithMessageBars.printPersistentHtmlMessage(String) : void +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchLocalRunState.execute$1$1 +Deprecated class java.util.Observable is referenced in com.intellij.execution.util.ListTableWithButtons +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.parseAnnotations(Project, JvmAnnotation[]) : List +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is overridden in class com.microsoft.intellij.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable. This method will be removed in a future release +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.containerapps.deployimage.DeployImageRunRunner.() +Deprecated method com.microsoft.azure.toolkit.lib.common.model.AzResource.name() : java.lang.String is invoked in com.microsoft.azuretools.core.mvp.model.webapp.AzureWebAppMvpModel.createDeploymentSlotFromSettingModel(WebApp, WebAppSettingModel) : WebAppDeploymentSlot +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAdlsCard.ViewModel.refreshSubscriptions$lambda$4(SparkSubmissionJobUploadStorageAdlsCard, SparkSubmissionJobUploadStorageAdlsCard.ViewModel, Throwable) : Unit +Deprecated method com.intellij.openapi.externalSystem.model.task.ExternalSystemTaskNotificationListener.onTaskOutput(com.intellij.openapi.externalSystem.model.task.ExternalSystemTaskId id, java.lang.String text, boolean stdOut) : void is overridden in class com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.IntellijGradleFunctionProject$1 +Deprecated method com.intellij.platform.ProjectTemplate.validateSettings() : com.intellij.openapi.ui.ValidationInfo is overridden in class com.microsoft.azure.hdinsight.projects.HDInsightProjectTemplate +Deprecated method com.intellij.openapi.components.ServiceManager.getService(java.lang.Class serviceClass) : T is invoked in com.microsoft.azure.toolkit.intellij.common.settings.IntellijStore.getInstance() : IntellijStore +Deprecated method com.intellij.execution.services.ServiceViewDescriptor.getDataProvider() : com.intellij.openapi.actionSystem.DataProvider is overridden in class com.microsoft.azure.toolkit.intellij.integration.services.NodeViewDescriptor. This method will be removed in a future release +Deprecated class org.eclipse.lsp4j.SymbolInformation is referenced in org.wso2.lsp4intellij.contributors.label.LSPLabelProvider.symbolLocationFor(SymbolInformation, Project) : String +Deprecated method com.intellij.openapi.util.Comparing.equal(java.lang.String arg1, java.lang.String arg2) : boolean is invoked in com.microsoft.azure.ui.components.JsonEnvPropertiesField.isModifiedSysEnv(EnvironmentVariable) : boolean +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAzureBlobCard.textChangeTriggerResetStorageContainerListener$1.textChanged(DocumentEvent) : void +Deprecated class org.eclipse.lsp4j.SymbolInformation is referenced in org.wso2.lsp4intellij.contributors.symbol.WorkspaceSymbolProvider.createNavigationItem(WorkspaceSymbolProvider.LSPSymbolResult, Project) : LSPNavigationItem +Deprecated method com.intellij.openapi.extensions.PluginDescriptor.isEnabled() : boolean is invoked in com.microsoft.azure.hdinsight.projects.ui.HDInsightProjectTypeStep.(HDInsightModuleBuilder) +Deprecated method com.intellij.openapi.actionSystem.ActionPlaces.isPopupPlace(java.lang.String place) : boolean is invoked in com.microsoft.azure.hdinsight.spark.run.action.SelectSparkApplicationTypeAction.update(AnActionEvent) : void +Deprecated method com.intellij.ide.actions.CreateElementActionBase.invokeDialog(com.intellij.openapi.project.Project project, com.intellij.psi.PsiDirectory directory) : com.intellij.psi.PsiElement[] is overridden in class com.microsoft.azure.toolkit.intellij.legacy.function.action.CreateFunctionAction +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAdlsCard.doRefreshSubscriptions$lambda$0(SparkSubmissionJobUploadStorageAdlsCard) : void +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkClusterListRefreshableCombo.clustersSelection$1$1$1.customize(JList, IClusterDetail, int, boolean, boolean) : void +Deprecated method com.intellij.openapi.application.ReadAction.compute(com.intellij.openapi.util.ThrowableComputable action) : T is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.deploy.FunctionDeploymentState.prepareStagingFolder(File, Operation) : void +Deprecated class com.intellij.ui.HideableTitledPanel is referenced in com.microsoft.intellij.ui.AccessibleHideableTitledPanel +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in com.microsoft.azure.toolkit.ide.appservice.function.coretools.FunctionsCoreToolsManager.doDownloadReleaseTools(FunctionsCoreToolsManager.ReleaseInfo, String) : void +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.localrun.FunctionRunState$1 +Deprecated class com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.prepareStagingFolder(Path, Path, Project, Module, PsiMethod[]) : Map +Deprecated method com.intellij.openapi.actionSystem.Presentation.putClientProperty(java.lang.String key, java.lang.Object value) : void is invoked in com.microsoft.azure.hdinsight.spark.run.action.SelectSparkApplicationTypeAction.update(AnActionEvent) : void +Deprecated method com.intellij.openapi.extensions.PluginDescriptor.getPath() : java.io.File is invoked in com.microsoft.intellij.util.PluginUtil.getPluginRootDirectory() : String +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAzureBlobCard.() +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.ide.guidance.task.BaseDeployTask$1 +Deprecated method org.apache.commons.compress.utils.FileNameUtils.getExtension(java.lang.String fileName) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.common.AzureArtifact.getPackaging() : String +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkSubmissionJobUploadStorageAzureBlobCard.storageContainerUI$lambda$0$0(SparkSubmissionJobUploadStorageAzureBlobCard, ComboboxWithBrowseButton, PropertyChangeEvent) : void +Deprecated class com.intellij.ui.HideableDecorator is referenced in com.microsoft.azure.toolkit.intellij.arm.property.DeploymentPropertiesView.(Project, ResourceDeployment, VirtualFile) +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobDebugProcessHandler$2.() +Deprecated method com.intellij.execution.ProgramRunnerUtil.executeConfiguration(com.intellij.openapi.project.Project project, com.intellij.execution.RunnerAndConfigurationSettings configuration, com.intellij.execution.Executor executor) : void is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.action.RunFunctionAction.runConfiguration(Module) : void +Deprecated interface com.intellij.openapi.progress.PerformInBackgroundOption is referenced in com.microsoft.intellij.rxjava.IdeaSchedulers.lambda$backgroundableTask$0(String, Runnable) : void +Deprecated method com.intellij.openapi.editor.Document.addDocumentListener(com.intellij.openapi.editor.event.DocumentListener listener) : void is invoked in org.wso2.lsp4intellij.editor.DocumentEventManager.registerListeners() : void +Deprecated class com.intellij.openapi.actionSystem.DataKeys is referenced in com.microsoft.intellij.util.PluginUtil.getSelectedProject() : Project +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.legacy.common.AzureRunProfileState$1 +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.springcloud.deplolyment.SpringCloudDeploymentConfigurationState$1 +Deprecated method com.intellij.openapi.options.ConfigurationException.getMessage() : java.lang.String is invoked in com.microsoft.azure.cosmosspark.common.IntegerWithErrorHintedField.getErrorMessage() : String +Deprecated method com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.doValidate(T value) : com.microsoft.azure.toolkit.lib.common.form.AzureValidationInfo is overridden in class com.microsoft.azure.toolkit.intellij.common.AzureArtifactComboBox +Deprecated class org.eclipse.lsp4j.SymbolInformation is referenced in org.wso2.lsp4intellij.contributors.symbol.WorkspaceSymbolProvider.LSPSymbolResult.(SymbolInformation, LanguageServerDefinition) +Deprecated method org.eclipse.lsp4j.InitializeParams.setRootUri(java.lang.String rootUri) : void is invoked in org.wso2.lsp4intellij.client.languageserver.wrapper.LanguageServerWrapper.getInitParams() : InitializeParams +Deprecated class com.intellij.execution.runners.DefaultProgramRunner is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.dockerhost.DockerHostRunRunner +Deprecated method com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.doValidate(T value) : com.microsoft.azure.toolkit.lib.common.form.AzureValidationInfo is overridden in class com.microsoft.azure.toolkit.intellij.database.component.ServerComboBox +Deprecated method com.intellij.ide.ApplicationInitializedListener.componentsInitialized() : void is overridden in class com.microsoft.azure.hdinsight.common.ConsoleViewTypeRegistrationListener +Deprecated constructor com.intellij.ssh.ui.unified.SshUiData.(com.intellij.ssh.config.unified.SshConfig config, boolean initAuthDataFromPasswordSafe) is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType$1.actionPerformed(ActionEvent) : void +Deprecated method java.lang.Thread.getId() : long is invoked in com.microsoft.azure.toolkit.lib.common.operation.OperationThreadContext.setup() : void +Deprecated method com.intellij.execution.RunManager.createRunConfiguration(java.lang.String name, com.intellij.execution.configurations.ConfigurationFactory factory) : com.intellij.execution.RunnerAndConfigurationSettings is invoked in com.microsoft.azure.toolkit.intellij.sparkoncosmos.actions.SubmitSOCServerlessJob.lambda$submit$1(RunManager, String) : RunnerAndConfigurationSettings +Deprecated constructor java.net.URL.(java.lang.String spec) is invoked in org.wso2.lsp4intellij.requests.WorkspaceEditHandler.lambda$applyEdit$1(String, Map, UsageInfo) : void +Deprecated class com.intellij.execution.process.ProcessAdapter is referenced in com.microsoft.azure.toolkit.intellij.storage.azurite.AzuriteService$1.(AzuriteService, ConsoleView) +Deprecated method com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.setValidator(com.microsoft.azure.toolkit.lib.common.form.AzureFormInput.Validator validator) : void is invoked in com.microsoft.azure.toolkit.intellij.connector.aad.AzureClientIdInput.() +Deprecated method com.intellij.openapi.actionSystem.ex.ActionUtil.invokeAction(com.intellij.openapi.actionSystem.AnAction action, com.intellij.openapi.actionSystem.DataContext dataContext, java.lang.String place, java.awt.event.InputEvent inputEvent, java.lang.Runnable onDone) : void is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.DependencyUtils.lambda$addOrUpdateGradleDependency$4(AnAction, DataContext) : void +Deprecated constructor com.intellij.ssh.ui.unified.SshUiData.(com.intellij.ssh.config.unified.SshConfig config, boolean initAuthDataFromPasswordSafe) is invoked in com.microsoft.azure.toolkit.intellij.vm.ssh.AddSshConfigAction.getOrCreateSshConfig(VirtualMachine, Project) : SshConfig +Deprecated method com.intellij.codeInsight.daemon.DaemonCodeAnalyzer.restart(com.intellij.psi.PsiFile psiFile) : void is invoked in org.wso2.lsp4intellij.editor.EditorEventManager.lambda$updateErrorAnnotations$0() : Object +Deprecated class com.intellij.ui.ComboboxWithBrowseButton is referenced in com.microsoft.azure.hdinsight.spark.ui.SparkClusterListRefreshableCombo.clustersSelection : ComboboxWithBrowseButton diff --git a/verifier-reports/experimental-api-usages.txt b/verifier-reports/experimental-api-usages.txt new file mode 100644 index 00000000000..8553a1f8b5e --- /dev/null +++ b/verifier-reports/experimental-api-usages.txt @@ -0,0 +1,82 @@ +Experimental API class com.intellij.ui.hover.TreeHoverListener is referenced in com.microsoft.azure.toolkit.intellij.explorer.InlineActionSupportedNodeRenderer.customizeCellRenderer(JTree, Object, boolean, boolean, boolean, int, boolean) : void. This class can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.lang.jvm.JvmAnnotation is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.lambda$getBinding$0(JvmAnnotation, BindingEnum) : boolean. This interface can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.database.dataSource.DatabaseConnectionInterceptor.ProtoConnection.getConnectionPoint() : com.intellij.database.dataSource.DatabaseConnectionPoint is invoked in com.microsoft.azure.toolkit.intellij.cosmos.dbtools.AzureCosmosDbAccountConnectionInterceptor.interceptConnection(DatabaseConnectionInterceptor.ProtoConnection, boolean, Continuation) : Object. This method can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.docker.agent.registry.model.DockerRegistry.Userdata is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider.lambda$doGetRegistryRoot$0(DockerRegistryConfiguration, HttpRequestExecutor) : DockerRegistry. This class can be changed in a future release leading to incompatibilities +Experimental API class org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration is referenced in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.scalaConsoleRunConfDelegate : ScalaConsoleRunConfiguration. This class can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.lang.jvm.JvmAnnotation.findAttribute(java.lang.String attributeName) : com.intellij.lang.jvm.annotation.JvmAnnotationAttribute is invoked in com.microsoft.azure.toolkit.intellij.storage.code.function.FunctionAnnotationResourcePathAnnotator.validateTableName(PsiElement, AnnotationHolder) : void. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.lang.jvm.JvmAnnotation.findAttribute(java.lang.String attributeName) : com.intellij.lang.jvm.annotation.JvmAnnotationAttribute is invoked in com.microsoft.azure.toolkit.intellij.cosmos.code.function.CosmosDBDatabaseNameCompletionProvider.getConnectedDatabase(PsiAnnotation) : SqlDatabase. This method can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.ide.projectView.NodeSortSettings is referenced in com.microsoft.azure.toolkit.intellij.connector.projectexplorer.AzureFacetRootNode.getSortOrder(NodeSortSettings) : NodeSortOrder. This class can be changed in a future release leading to incompatibilities +Experimental API method org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration.readExternal(org.jdom.Element arg0) : void is invoked in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.readExternal(Element) : void. This method can be changed in a future release leading to incompatibilities +Experimental API field com.intellij.ui.hover.TreeHoverListener.DEFAULT : com.intellij.ui.hover.HoverListener is accessed in com.microsoft.azure.toolkit.intellij.explorer.AzureExplorer.(Project). This field can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.execution.target.TargetEnvironmentRequest is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createEnvironmentRequest(Project, TargetEnvironmentConfiguration) : TargetEnvironmentRequest. This interface can be changed in a future release leading to incompatibilities +Experimental API class org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration is referenced in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.getState.state$1.createJavaParameters() : JavaParameters. This class can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.docker.view.registry.DockerRegistryProvider.getId() : java.lang.String is overridden in class com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.docker.view.registry.DockerRegistryProvider.createConfigurator() : com.intellij.docker.view.registry.DockerRegistryProvider.Configurator is overridden in class com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider. This method can be changed in a future release leading to incompatibilities +Experimental API method org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration.writeExternal(org.jdom.Element arg0) : void is invoked in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.writeExternal(Element) : void. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.lang.jvm.JvmAnnotation.findAttribute(java.lang.String attributeName) : com.intellij.lang.jvm.annotation.JvmAnnotationAttribute is invoked in com.microsoft.azure.toolkit.intellij.storage.code.function.FunctionAnnotationResourcePathAnnotator.validateQueueName(PsiElement, AnnotationHolder) : void. This method can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.lang.jvm.JvmParameter is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.processParameterAnnotations(PsiMethod, List) : void. This interface can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.docker.view.registry.node.DockerRegistryRoot.getConfiguration() : com.intellij.docker.registry.DockerRegistryConfiguration is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.IntelliJContainerRegistryActionsContributorForDockerPlugin.lambda$getRegistryService$2(ContainerRegistry, DockerRegistryRoot) : boolean. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.openapi.vfs.VirtualFile.isCaseSensitive() : boolean is invoked in com.microsoft.azure.toolkit.lib.legacy.function.FunctionCoreToolsCombobox.lambda$new$0(List, VirtualFile) : boolean. This method can be changed in a future release leading to incompatibilities +Experimental API class org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration is referenced in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.readExternal(Element) : void. This class can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.lang.jvm.JvmAnnotation is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.getBinding(Project, JvmAnnotation) : Binding. This interface can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.ui.hover.HoverListener is referenced in com.microsoft.azure.toolkit.intellij.explorer.AzureExplorer.(Project). This class can be changed in a future release leading to incompatibilities +Experimental API method org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration.getConfigurationEditor() : com.intellij.openapi.options.SettingsEditor is invoked in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.getConfigurationEditor() : SettingsEditor. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.openapi.vfs.VirtualFile.isCaseSensitive() : boolean is invoked in com.microsoft.azure.toolkit.intellij.common.fileexplorer.VirtualFileActions.RemoteVirtualFile.isCaseSensitive() : boolean. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.openapi.ui.BrowseFolderRunnable.getInitialFile() : com.intellij.openapi.vfs.VirtualFile is overridden in class com.microsoft.azure.toolkit.intellij.common.auth.ServicePrincipalLoginDialog$1. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.docker.view.registry.DockerRegistryProvider.Configurator.applyRegistryToData(com.intellij.docker.registry.DockerRegistryConfiguration arg0) : void is overridden in class com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryConfigurator. This method can be changed in a future release leading to incompatibilities +Experimental API constructor org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration.(com.intellij.openapi.project.Project arg0, com.intellij.execution.configurations.ConfigurationFactory arg1, java.lang.String arg2) is invoked in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfigurationFactory.createTemplateConfiguration(Project) : RunConfiguration. This constructor can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.docker.view.registry.node.DockerRegistryRoot is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.IntelliJContainerRegistryActionsContributorForDockerPlugin.lambda$addAndFocusInServicesView$2(ServiceViewContributor, Project, MessageBusConnection, DockerRegistryRoot) : void. This class can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.docker.view.registry.node.DockerRegistryRoot is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider.doGetRegistryRoot(DockerRegistryConfiguration) : DockerRegistryRoot. This class can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.database.dataSource.DatabaseConnectionInterceptor.ProtoConnection is referenced in com.microsoft.azure.toolkit.intellij.cosmos.dbtools.AzureCosmosDbAccountConnectionInterceptor.interceptConnection(DatabaseConnectionInterceptor.ProtoConnection, boolean, Continuation) : Object. This interface can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.openapi.vfs.VirtualFile.isCaseSensitive() : boolean is overridden in class com.microsoft.azure.toolkit.intellij.common.fileexplorer.VirtualFileActions.RemoteVirtualFile. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.lang.jvm.JvmAnnotation.findAttribute(java.lang.String attributeName) : com.intellij.lang.jvm.annotation.JvmAnnotationAttribute is invoked in com.microsoft.azure.toolkit.intellij.storage.code.function.FunctionAnnotationResourcePathAnnotator.validateBlobPath(PsiElement, AnnotationHolder) : void. This method can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.docker.view.registry.DockerRegistryProvider is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider. This class can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.ui.hover.HoverListener.addTo(javax.swing.JComponent component) : void is invoked in com.microsoft.azure.toolkit.intellij.explorer.AzureExplorer.(Project). This method can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.lang.jvm.types.JvmArrayType is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.AnnotationHelper.evaluateAnnotationProperties(Project, PsiAnnotation, List) : Map. This interface can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.docker.view.registry.DockerRegistryProvider is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider.checkCredentials(DockerRegistryConfiguration, Continuation) : Object. This class can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkProvider is referenced in com.microsoft.azure.toolkit.intellij.common.utils.JdkUtils.lambda$getJdk$0() : Sdk. This interface can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.execution.target.TargetEnvironmentRequest is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createEnvironmentRequest(Project, AzureVmTargetEnvironmentConfiguration) : TargetEnvironmentRequest. This interface can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.docker.view.registry.DockerRegistryProvider.getRegistryName() : java.lang.String is overridden in class com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.lang.jvm.JvmAnnotatedElement.getAnnotations() : com.intellij.lang.jvm.JvmAnnotation[] is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.processParameterAnnotations(PsiMethod, List) : void. This method can be changed in a future release leading to incompatibilities +Experimental API method org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration.getValidModules() : java.util.List is invoked in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.getValidModules() : Collection. This method can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.docker.view.registry.node.DockerRegistryRoot is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.IntelliJContainerRegistryActionsContributorForDockerPlugin.lambda$getRegistryService$1(Object) : DockerRegistryRoot. This class can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkProvider.getInternalJdk() : com.intellij.openapi.projectRoots.Sdk is invoked in com.microsoft.azure.toolkit.intellij.common.utils.JdkUtils.lambda$getJdk$0() : Sdk. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.docker.view.registry.DockerRegistryProvider.Configurator.applyDataToRegistry(com.intellij.docker.registry.DockerRegistryConfiguration arg0) : void is overridden in class com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryConfigurator. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.ui.hover.TreeHoverListener.getHoveredRow(javax.swing.JTree tree) : int is invoked in com.microsoft.azure.toolkit.intellij.explorer.InlineActionSupportedNodeRenderer.customizeCellRenderer(JTree, Object, boolean, boolean, boolean, int, boolean) : void. This method can be changed in a future release leading to incompatibilities +Experimental API class org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration is referenced in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.getConfigurationEditor() : SettingsEditor. This class can be changed in a future release leading to incompatibilities +Experimental API class org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration is referenced in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfigurationFactory.createTemplateConfiguration(Project) : RunConfiguration. This class can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.lang.jvm.JvmAnnotation is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.parseAnnotations(Project, JvmAnnotation[]) : List. This interface can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkProvider.getInstance() : com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkProvider is invoked in com.microsoft.azure.toolkit.intellij.common.utils.JdkUtils.getJdk(Project) : Sdk. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.docker.view.registry.DockerRegistryProvider.checkCredentials(com.intellij.docker.registry.DockerRegistryConfiguration registry, kotlin.coroutines.Continuation $completion) : java.lang.Object is overridden in class com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkProvider.getInstance() : com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkProvider is invoked in com.microsoft.azure.toolkit.intellij.common.utils.JdkUtils.lambda$getJdk$0() : Sdk. This method can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.ui.hover.TreeHoverListener is referenced in com.microsoft.azure.toolkit.intellij.explorer.AzureExplorer.(Project). This class can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.database.dataSource.DatabaseConnectionInterceptor.interceptConnection(com.intellij.database.dataSource.DatabaseConnectionInterceptor.ProtoConnection proto, boolean silent, kotlin.coroutines.Continuation $completion) : java.lang.Object is overridden in class com.microsoft.azure.toolkit.intellij.cosmos.dbtools.AzureCosmosDbAccountConnectionInterceptor. This method can be changed in a future release leading to incompatibilities +Experimental API method org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration.consoleArgs() : java.lang.String is invoked in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.getState.state$1.createJavaParameters() : JavaParameters. This method can be changed in a future release leading to incompatibilities +Experimental API class org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration is referenced in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.access$getScalaConsoleRunConfDelegate$p(SparkScalaLocalConsoleRunConfiguration) : ScalaConsoleRunConfiguration. This class can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.docker.view.registry.node.DockerRegistryRoot is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.IntelliJContainerRegistryActionsContributorForDockerPlugin.lambda$getRegistryService$2(ContainerRegistry, DockerRegistryRoot) : boolean. This class can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.database.dataSource.DatabaseConnectionInterceptor.ProtoConnection is referenced in com.microsoft.azure.toolkit.intellij.database.dbtools.DatabaseServerConnectionInterceptor.interceptConnection(DatabaseConnectionInterceptor.ProtoConnection, boolean, Continuation) : Object. This interface can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.ui.components.fields.ExtendableTextField.addBrowseExtension(java.lang.Runnable action, com.intellij.openapi.Disposable parentDisposable) : com.intellij.ui.components.fields.ExtendableTextField is overridden in class com.microsoft.intellij.ui.AccessibleExpandableTextField. This method can be changed in a future release leading to incompatibilities +Experimental API constructor com.intellij.docker.view.registry.node.DockerRegistryRoot.(com.intellij.docker.registry.DockerRegistryConfiguration configuration, kotlin.jvm.functions.Function1 registry) is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider.doGetRegistryRoot(DockerRegistryConfiguration) : DockerRegistryRoot. This constructor can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.lang.jvm.JvmAnnotation.getQualifiedName() : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.core.FunctionUtils.lambda$getBinding$0(JvmAnnotation, BindingEnum) : boolean. This method can be changed in a future release leading to incompatibilities +Experimental API class org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration is referenced in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.writeExternal(Element) : void. This class can be changed in a future release leading to incompatibilities +Experimental API enum com.intellij.ide.projectView.NodeSortOrder is referenced in com.microsoft.azure.toolkit.intellij.connector.projectexplorer.AzureFacetRootNode.getSortOrder(NodeSortSettings) : NodeSortOrder. This enum can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.database.dataSource.DatabaseConnectionInterceptor is referenced in com.microsoft.azure.toolkit.intellij.database.dbtools.DatabaseServerConnectionInterceptor. This interface can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.docker.view.registry.DockerRegistryProvider.doGetRegistryRoot(com.intellij.docker.registry.DockerRegistryConfiguration arg0) : com.intellij.docker.view.registry.node.DockerRegistryRoot is overridden in class com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.database.dataSource.DatabaseConnectionInterceptor.interceptConnection(com.intellij.database.dataSource.DatabaseConnectionInterceptor.ProtoConnection proto, boolean silent, kotlin.coroutines.Continuation $completion) : java.lang.Object is overridden in class com.microsoft.azure.toolkit.intellij.database.dbtools.DatabaseServerConnectionInterceptor. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.docker.view.registry.DockerRegistryProvider.Configurator.createOptionsPanel() : javax.swing.JComponent is overridden in class com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryConfigurator. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.docker.view.registry.DockerRegistryProvider.checkCredentials(com.intellij.docker.registry.DockerRegistryConfiguration registry, kotlin.coroutines.Continuation $completion) : java.lang.Object is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider.checkCredentials(DockerRegistryConfiguration, Continuation) : Object. This method can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.database.dataSource.DatabaseConnectionInterceptor.ProtoConnection.getConnectionPoint() : com.intellij.database.dataSource.DatabaseConnectionPoint is invoked in com.microsoft.azure.toolkit.intellij.database.dbtools.DatabaseServerConnectionInterceptor.interceptConnection(DatabaseConnectionInterceptor.ProtoConnection, boolean, Continuation) : Object. This method can be changed in a future release leading to incompatibilities +Experimental API class org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration is referenced in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.(ScalaConsoleRunConfiguration, boolean). This class can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkProvider.getJavaSdkType() : com.intellij.openapi.projectRoots.SdkType is invoked in com.microsoft.azure.toolkit.intellij.common.utils.JdkUtils.getJdk(Project) : Sdk. This method can be changed in a future release leading to incompatibilities +Experimental API field com.intellij.ide.projectView.NodeSortOrder.FOLDER : com.intellij.ide.projectView.NodeSortOrder is accessed in com.microsoft.azure.toolkit.intellij.connector.projectexplorer.AzureFacetRootNode.getSortOrder(NodeSortSettings) : NodeSortOrder. This field can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.docker.view.registry.DockerRegistryProvider is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider.(). This class can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.docker.view.registry.DockerRegistryProvider.Configurator is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider.createConfigurator() : DockerRegistryProvider.Configurator. This interface can be changed in a future release leading to incompatibilities +Experimental API method com.intellij.docker.view.registry.DockerRegistryProvider.Configurator.getDefaultAddress() : java.lang.String is overridden in class com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryConfigurator. This method can be changed in a future release leading to incompatibilities +Experimental API class com.intellij.docker.view.registry.node.DockerRegistryRoot is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.IntelliJContainerRegistryActionsContributorForDockerPlugin.lambda$getRegistryService$0(Object) : boolean. This class can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.database.dataSource.DatabaseConnectionInterceptor is referenced in com.microsoft.azure.toolkit.intellij.cosmos.dbtools.AzureCosmosDbAccountConnectionInterceptor. This interface can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkProvider is referenced in com.microsoft.azure.toolkit.intellij.common.utils.JdkUtils.getJdk(Project) : Sdk. This interface can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.docker.agent.registry.model.DockerRegistry is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider.lambda$doGetRegistryRoot$0(DockerRegistryConfiguration, HttpRequestExecutor) : DockerRegistry. This interface can be changed in a future release leading to incompatibilities +Experimental API class org.jetbrains.plugins.scala.console.configuration.ScalaConsoleRunConfiguration is referenced in com.microsoft.azure.hdinsight.spark.console.SparkScalaLocalConsoleRunConfiguration.getValidModules() : Collection. This class can be changed in a future release leading to incompatibilities +Experimental API interface com.intellij.docker.view.registry.DockerRegistryProvider.Configurator is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryConfigurator. This interface can be changed in a future release leading to incompatibilities +Experimental API constructor com.intellij.docker.view.registry.DockerRegistryProvider.() is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider.(). This constructor can be changed in a future release leading to incompatibilities +Experimental API constructor com.intellij.docker.agent.registry.model.DockerRegistry.Userdata.(java.lang.String username, java.lang.String password) is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.servicesview.AzureContainerRegistryProvider.lambda$doGetRegistryRoot$0(DockerRegistryConfiguration, HttpRequestExecutor) : DockerRegistry. This constructor can be changed in a future release leading to incompatibilities diff --git a/verifier-reports/internal-api-usages.txt b/verifier-reports/internal-api-usages.txt new file mode 100644 index 00000000000..7468e33f24b --- /dev/null +++ b/verifier-reports/internal-api-usages.txt @@ -0,0 +1,179 @@ +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel.getConnectionData() : com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.checkAgentConnection(com.intellij.openapi.project.Project project, com.intellij.openapi.application.ModalityState modalityState) : void is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal enum com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.FUSEventSource is referenced in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerActions$0(Object, Object) : void. This enum is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.openapi.wm.impl.IdeFrameImpl is referenced in com.microsoft.azure.toolkit.intellij.common.ProjectUtils.getWindow(Project) : Window. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is overridden in class com.microsoft.azure.cosmos.spark.actions.SparkAppSubmitContext. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.codeInsight.documentation.actions.ShowQuickDocInfoAction is referenced in org.wso2.lsp4intellij.actions.LSPQuickDocAction.(). This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.appmod.common.AppModPluginInstaller.isRunningInDevMode() : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.(SshTargetWizardModel). This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.setHost(java.lang.String ) : void is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.ui.IdeUiService.getInstance() : com.intellij.ide.ui.IdeUiService is invoked in com.microsoft.azure.toolkit.intellij.cloudshell.terminal.AzureCloudTerminalFactory.createTerminalRunner(String, String) : AzureCloudTerminalRunner. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactExamplePanel.$$$setupUI$$$() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal constructor com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetStepBase.(com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel model) is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetConnectionStep.(SshTargetWizardModel, ArrayList). This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal field com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.FUSEventSource.NOTIFICATION : com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.FUSEventSource is accessed in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerActions$0(Object, Object) : void. This field is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the field is not supposed to be used in client code. +Internal constructor com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetAuthStep.(com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel model) is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.openapi.editor.EditorBundle is referenced in com.microsoft.azure.toolkit.intellij.bicep.BicepEditorNotificationProvider.lambda$collectNotificationData$4(Project, FileEditor) : JComponent. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.idea.ActionsBundle.message(java.lang.String key, java.lang.Object[] params) : java.lang.String is invoked in com.microsoft.intellij.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable.createExtraActions() : AnActionButton[]. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.ui.components.panels.BackgroundRoundedPanel is referenced in com.microsoft.azure.toolkit.ide.guidance.view.components.CoursePanel.createUIComponents() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.openapi.vfs.VirtualFile.getChildren(boolean requireSorting) : com.intellij.openapi.vfs.VirtualFile[] is invoked in com.microsoft.azure.toolkit.intellij.common.fileexplorer.VirtualFileActions.RemoteVirtualFile.getChildren(boolean) : VirtualFile[]. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method org.jetbrains.plugins.gradle.service.project.wizard.AbstractGradleModuleBuilder.setupGradleSettingsFile(java.nio.file.Path rootProjectPath, com.intellij.openapi.vfs.VirtualFile modelContentRootDir, java.lang.String projectName, java.lang.String moduleName, boolean renderNewFile, boolean useKotlinDSL) : com.intellij.openapi.vfs.VirtualFile is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.wizard.module.helper.GradleFunctionsModuleBuilderHelper.setupGradleModule(WizardContext, ModifiableRootModel, String) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.codeInsight.documentation.actions.ShowQuickDocInfoAction is referenced in org.wso2.lsp4intellij.actions.LSPQuickDocAction. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.setForceMinimumSize(boolean force) : void is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactExamplePanel.createExampleEditorToolBar() : ActionToolbarImpl. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.azuremcp.AzureSkillsInitializer.isCopilotPluginInstalled() : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.appmod.common.AppModPluginInstaller.isCopilotInstalled() : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is invoked in com.microsoft.azure.toolkit.intellij.common.AzureActionButton$1.getData(String) : Object. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal constructor com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetIntrospectionStep.(com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel model) is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ui.popup.list.GroupedItemsListRenderer.hasSeparator(E value, int index) : boolean is overridden in class com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.components.ModuleDependencyComboBox$1. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.model : SshTargetWizardModel. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.appmod.common.AppModPluginInstaller.isAppModPluginInstalled() : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerConfigurable.showRestartDialog(java.lang.String title) : int is invoked in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$14(String) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManager.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.intellij.util.PluginUtil.getPluginRootDirectory() : String. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.idea.ActionsBundle.message(java.lang.String key, java.lang.Object[] params) : java.lang.String is invoked in com.microsoft.azure.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable.createExtraActions() : AnActionButton[]. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerConfigurable.showRestartDialog() : int is invoked in com.microsoft.azure.hdinsight.projects.ui.HDInsightProjectTypeStep.showRestartDialog() : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal constructor com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.(boolean useExistingConfig, com.intellij.ssh.config.unified.SshConfig existingConfig, java.lang.String host, int port, java.lang.String username, java.lang.String password, boolean savePassword, java.lang.String privateKey, java.lang.String passphrase, boolean savePassphrase, com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.OpenSshAgentConnectionState openSshAgentConnectionStateParam) is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.util.PlatformUtils is referenced in com.microsoft.azure.toolkit.intellij.appservice.task.TriggerFunctionTask.execute() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactGroupPanel.toolbar : ActionToolbarImpl. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel.setLanguageType(com.intellij.execution.target.LanguageRuntimeType value) : void is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.openapi.util.ShutDownTracker.isShutdownHookRunning() : boolean is invoked in com.microsoft.azure.toolkit.intellij.common.component.UIUtils.assertInPooledThread() : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.ApplicationInitializedListener.execute(kotlin.coroutines.Continuation $completion) : java.lang.Object is overridden in class com.microsoft.azure.hdinsight.common.ConsoleViewTypeRegistrationListener. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.util.ui.StartupUiUtil.isDarkTheme() : boolean is invoked in com.microsoft.azure.toolkit.intellij.common.messager.IntellijAzureMessage.getValueColor() : String. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ui.popup.list.GroupedItemsListRenderer.hasSeparator(E value, int index) : boolean is invoked in com.microsoft.azure.toolkit.intellij.legacy.appservice.platform.RuntimeComboBox$1.hasSeparator(Runtime, int) : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.util.PlatformUtils.isIdeaCommunity() : boolean is invoked in com.microsoft.azure.toolkit.intellij.containerservice.IntelliJContainerServiceActionsContributor.showKubernetesPluginNotification(KubernetesCluster, Project) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.util.PlatformUtils.isIdeaUltimate() : boolean is invoked in com.microsoft.azure.toolkit.intellij.legacy.appservice.action.ProfileFlightRecordAction.getActionOnJfrFile(String) : String. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal constructor com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshConfigureCustomToolStep.(com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel model) is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal interface com.intellij.ide.ApplicationInitializedListener is referenced in com.microsoft.azure.hdinsight.common.ConsoleViewTypeRegistrationListener. This interface is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactExamplePanel.createExampleEditorToolBar() : ActionToolbarImpl. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.common.survey.CustomerSurvey$4.getLink() : String. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.ide.plugins.PluginManagerConfigurable is referenced in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$19(Object, String) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal enum com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.OpenSshAgentConnectionState is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This enum is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.idea.ActionsBundle.message(java.lang.String key, java.lang.Object[] params) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactGroupPanel.buildCodeViewerToolbar() : ActionToolbarImpl. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal constructor com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.(java.lang.String place, com.intellij.openapi.actionSystem.ActionGroup actionGroup, boolean horizontal) is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactExamplePanel.createExampleEditorToolBar() : ActionToolbarImpl. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.cosmos.IntelliJCosmosActionsContributor.registerHandlers(AzureActionManager) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel.getSubject() : com.jetbrains.plugins.remotesdk.target.ssh.target.SshTargetEnvironmentConfigurationBase is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.openapi.editor.EditorBundle.message(java.lang.String key, java.lang.Object[] params) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.bicep.BicepEditorNotificationProvider.lambda$collectNotificationData$4(Project, FileEditor) : JComponent. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManager.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.common.CommonConst.() : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.openapi.application.JetBrainsPermanentInstallationID is referenced in com.microsoft.azure.toolkit.intellij.common.telemetry.IntelliJAzureTelemetryCommonPropertiesProvider.getInstallationId() : String. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactExamplePanel.createUIComponents() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal constructor com.intellij.ui.components.panels.BackgroundRoundedPanel.(int arcSize, java.awt.LayoutManager layoutManager) is invoked in com.microsoft.azure.toolkit.intellij.cognitiveservices.chatbox.BotMessagePane.createUIComponents() : void. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal constructor com.intellij.ide.plugins.PluginManagerConfigurable.() is invoked in com.microsoft.azure.toolkit.intellij.containerservice.actions.KubernetesUtils.searchK8sPlugin() : void. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugins() : com.intellij.ide.plugins.IdeaPluginDescriptor[] is invoked in com.microsoft.azure.toolkit.intellij.azuremcp.GithubCopilotMcpInitializer.isCopilotMcpSupported() : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.util.PlatformUtils is referenced in com.microsoft.azure.toolkit.intellij.containerservice.IntelliJContainerServiceActionsContributor.showKubernetesPluginNotification(KubernetesCluster, Project) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.database.postgre.IntellijPostgreSqlActionsContributor.openDatabaseTool(Project, PostgreSqlServer) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.idea.ActionsBundle is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactGroupPanel.buildCodeViewerToolbar() : ActionToolbarImpl. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.setOpenSshAgentConnectionState(com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.OpenSshAgentConnectionState value) : void is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetStepBase is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetConnectionStep._init() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.openapi.vfs.VirtualFile.getChildren(boolean requireSorting) : com.intellij.openapi.vfs.VirtualFile[] is overridden in class com.microsoft.azure.toolkit.intellij.common.fileexplorer.VirtualFileActions.RemoteVirtualFile. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.setForceMinimumSize(boolean force) : void is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkTreePanel.createUIComponents() : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.IdeBundle.messagePointer(java.lang.String key, java.lang.Object[] params) : java.util.function.Supplier is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkTreePanel.RefreshAction.(AzureSdkTreePanel). This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.IdeBundle.message(java.lang.String key, java.lang.Object[] params) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.bicep.BicepEditorNotificationProvider.lambda$collectNotificationData$0(Project, VirtualFile, FileEditor) : JComponent. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal constructor com.intellij.ide.plugins.PluginManagerConfigurable.() is invoked in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$16(Object, String) : void. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ui.popup.list.GroupedItemsListRenderer.hasSeparator(E value, int index) : boolean is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.components.ModuleDependencyComboBox$1.hasSeparator(ProjectModule, int) : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.openapi.module.Module.getModuleFilePath() : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.localrun.FunctionRunConfiguration.getDefaultLocalSettingsJsonPath(Module) : String. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.ui.components.panels.BackgroundRoundedPanel is referenced in com.microsoft.azure.toolkit.intellij.common.feedback.RatePopup.createUIComponents() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.codeInsight.documentation.actions.ShowQuickDocInfoAction is referenced in org.wso2.lsp4intellij.actions.LSPQuickDocAction.actionPerformed(AnActionEvent) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.FUSEventSource.openDownloadPageAndLog(com.intellij.openapi.project.Project project, java.lang.String url) : void is invoked in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerActions$0(Object, Object) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactGroupPanel.createUIComponents() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal constructor com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.(java.lang.String place, com.intellij.openapi.actionSystem.ActionGroup actionGroup, boolean horizontal) is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactGroupPanel.buildCodeViewerToolbar() : ActionToolbarImpl. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.openapi.wm.impl.IdeFrameImpl is referenced in com.microsoft.azure.toolkit.intellij.common.ProjectUtils.getProject() : Project. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.idea.ActionsBundle.message(java.lang.String key, java.lang.Object[] params) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactExamplePanel.createExampleEditorToolBar() : ActionToolbarImpl. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.idea.ActionsBundle is referenced in com.microsoft.intellij.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable.createExtraActions() : AnActionButton[]. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.find.FindBundle is referenced in org.wso2.lsp4intellij.actions.LSPReferencesAction.createPresentation(PsiElement, FindUsagesOptions, boolean) : UsageViewPresentation. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.execution.target.TargetEnvironmentWizardStep.doCommit(com.intellij.ide.wizard.AbstractWizardStepEx.CommitType arg0) : void is overridden in class com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetConnectionStep. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.ApplicationInitializedListener.componentsInitialized() : void is overridden in class com.microsoft.azure.hdinsight.common.ConsoleViewTypeRegistrationListener. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.ui.components.panels.BackgroundRoundedPanel is referenced in com.microsoft.azure.toolkit.intellij.cognitiveservices.chatbox.UserMessagePane.createUIComponents() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.setForceMinimumSize(boolean force) : void is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactGroupPanel.createUIComponents() : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.docker.view.registry.DockerRegistryServiceViewContributor is referenced in com.microsoft.azure.toolkit.intellij.containerregistry.IntelliJContainerRegistryActionsContributorForDockerPlugin.openRegistryInServicesView(ContainerRegistry, Project) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkTreePanel.createUIComponents() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.idea.ActionsBundle is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactExamplePanel.createExampleEditorToolBar() : ActionToolbarImpl. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ide.ui.IdeUiService.getSslSocketFactory() : javax.net.ssl.SSLSocketFactory is invoked in com.microsoft.azure.toolkit.intellij.cloudshell.terminal.AzureCloudTerminalFactory.createTerminalRunner(String, String) : AzureCloudTerminalRunner. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.execution.ExecutionManager.startRunProfile(com.intellij.execution.runners.ExecutionEnvironment arg0, kotlin.jvm.functions.Function0 arg1) : void is invoked in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobDebuggerRunner.doExecute(RunProfileState, ExecutionEnvironment) : RunContentDescriptor. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.hdinsight.projects.ui.HDInsightProjectTypeStep.(HDInsightModuleBuilder). This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal constructor com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.(java.lang.String place, com.intellij.openapi.actionSystem.ActionGroup actionGroup, boolean horizontal) is invoked in com.microsoft.azure.toolkit.intellij.connector.ResourceConnectionExplorer.ToolWindow.initToolbar() : ActionToolbarImpl. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.appmod.javaupgrade.service.JavaVersionNotificationService.tryReflectionCopilotCall(Project, String) : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal constructor com.intellij.ui.components.panels.BackgroundRoundedPanel.(int arcSize, java.awt.LayoutManager layoutManager) is invoked in com.microsoft.azure.toolkit.ide.guidance.view.components.CoursePanel.createUIComponents() : void. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.setUsername(java.lang.String ) : void is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal constructor com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel.(com.intellij.openapi.project.Project project, com.jetbrains.plugins.remotesdk.target.ssh.target.SshTargetEnvironmentConfigurationBase subject, com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData connectionData) is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.ide.plugins.PluginManagerConfigurable is referenced in com.microsoft.azure.hdinsight.projects.ui.HDInsightProjectTypeStep.showRestartDialog() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal constructor com.intellij.ui.components.panels.BackgroundRoundedPanel.(int arcSize, java.awt.LayoutManager layoutManager) is invoked in com.microsoft.azure.toolkit.intellij.common.feedback.RatePopup.createUIComponents() : void. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetAuthStep is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetConnectionStep.(SshTargetWizardModel, ArrayList). This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.util.ui.StartupUiUtil.isDarkTheme() : boolean is invoked in com.microsoft.azure.toolkit.intellij.common.component.UIUtils.isUnderLightTheme() : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactGroupPanel.$$$setupUI$$$() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ide.AppLifecycleListener.appStarted() : void is overridden in class com.microsoft.azure.hdinsight.jobs.JobViewApplicationListener. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.ide.plugins.PluginManagerConfigurable is referenced in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$14(String) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.connector.ResourceConnectionExplorer.ToolWindow.initToolbar() : ActionToolbarImpl. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetAuthStep.getID() : java.lang.Object is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetConnectionStep.(SshTargetWizardModel, ArrayList). This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetStepBase.getModel() : com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetConnectionStep.(SshTargetWizardModel, ArrayList). This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.ide.IdeBundle is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkTreePanel.RefreshAction.(AzureSdkTreePanel). This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.common.CommonConst.() : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactGroupPanel.buildCodeViewerToolbar() : ActionToolbarImpl. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetStepBase is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetConnectionStep. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.setUseExistingConfig(boolean ) : void is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.execution.ExecutionManager.startRunProfile(com.intellij.execution.runners.ExecutionEnvironment arg0, kotlin.jvm.functions.Function0 arg1) : void is invoked in com.microsoft.azure.hdinsight.spark.run.SparkBatchJobDebuggerRunner.lambda$doExecute$4(ExecutionEnvironment, PublishSubject, ISparkBatchDebugJob, SparkBatchRemoteDebugState, Project, SparkBatchJobRemoteDebugProcess, PublishSubject, Subscription, AsyncPromise, ExecutionManager, IdeaSchedulers, Operation, SparkBatchJobSubmissionEvent) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.database.mysql.IntellijMySqlActionsContributor.openDatabaseTool(Project, MySqlServer) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.codeInsight.template.impl.TemplateBase.parseSegments() : void is invoked in org.wso2.lsp4intellij.editor.EditorEventManager.prepareAndRunSnippet(String) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.database.view.ui.DataSourceManagerDialog.showDialog(com.intellij.database.psi.DbPsiFacade facade, com.intellij.database.autoconfig.DataSourceRegistry registry) : boolean is invoked in com.microsoft.azure.toolkit.intellij.database.dbtools.OpenWithDatabaseToolsAction.openDataSourceManagerDialog(IDatabaseServer, Project) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is overridden in class com.microsoft.azure.toolkit.intellij.common.AzureActionButton$1. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshConfigureCustomToolStep is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.ide.ui.IdeUiService is referenced in com.microsoft.azure.toolkit.intellij.cloudshell.terminal.AzureCloudTerminalFactory.createTerminalRunner(String, String) : AzureCloudTerminalRunner. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal field com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.OpenSshAgentConnectionState.NOT_STARTED : com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.OpenSshAgentConnectionState is accessed in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This field is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the field is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetConnectionStep.getID() : java.lang.Object is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetConnectionStep.(SshTargetWizardModel, ArrayList). This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.database.sqlserver.IntellijSqlServerActionsContributor.openDatabaseTool(Project, MicrosoftSqlServer) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.openapi.application.JetBrainsPermanentInstallationID.get() : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.common.telemetry.IntelliJAzureTelemetryCommonPropertiesProvider.getInstallationId() : String. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ui.popup.list.GroupedItemsListRenderer.hasSeparator(E value, int index) : boolean is overridden in class com.microsoft.azure.toolkit.intellij.containerregistry.component.AzureDockerImageComboBox$1. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.azure.toolkit.intellij.containerservice.actions.KubernetesUtils.isKubernetesPluginEnabled() : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerConfigurable.openInstalledTab(java.lang.String option) : void is invoked in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$17(String, PluginManagerConfigurable) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal enum com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.OpenSshAgentConnectionState is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This enum is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.ide.IdeBundle is referenced in com.microsoft.azure.toolkit.intellij.bicep.BicepEditorNotificationProvider.lambda$collectNotificationData$0(Project, VirtualFile, FileEditor) : JComponent. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetIntrospectionStep is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerConfigurable.openMarketplaceTab(java.lang.String option) : void is invoked in com.microsoft.azure.toolkit.intellij.containerservice.actions.KubernetesUtils.lambda$searchK8sPlugin$0(PluginManagerConfigurable) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetStepBase is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetConnectionStep.(SshTargetWizardModel, ArrayList). This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.find.FindBundle.message(java.lang.String key, java.lang.Object[] params) : java.lang.String is invoked in org.wso2.lsp4intellij.actions.LSPReferencesAction.createPresentation(PsiElement, FindUsagesOptions, boolean) : UsageViewPresentation. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetConnectionStep is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetConnectionStep.(SshTargetWizardModel, ArrayList). This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel.setCustomToolConfiguration(boolean ) : void is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetConnectionStep.(SshTargetWizardModel, ArrayList). This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal constructor com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.(java.lang.String place, com.intellij.openapi.actionSystem.ActionGroup actionGroup, boolean horizontal) is invoked in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkTreePanel.initToolbar() : ActionToolbarImpl. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsoft.intellij.feedback.HDInsightReportable.(String). This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerConfigurable.openMarketplaceTab(java.lang.String option) : void is invoked in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$20(String, PluginManagerConfigurable) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManager.enablePlugin(com.intellij.openapi.extensions.PluginId id) : boolean is invoked in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$14(String) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.ui.components.panels.BackgroundRoundedPanel is referenced in com.microsoft.azure.toolkit.intellij.cognitiveservices.chatbox.BotMessagePane.createUIComponents() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.idea.ActionsBundle is referenced in com.microsoft.azure.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable.createExtraActions() : AnActionButton[]. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ide.ApplicationInitializedListener.execute(kotlin.coroutines.Continuation $completion) : java.lang.Object is invoked in com.microsoft.azure.hdinsight.common.ConsoleViewTypeRegistrationListener.execute(Continuation) : Object. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.openapi.wm.ex.WindowManagerEx.getProjectFrameHelpers() : java.util.List is invoked in com.microsoft.azure.toolkit.intellij.common.ProjectUtils.getProject() : Project. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal constructor com.intellij.ide.plugins.PluginManagerConfigurable.() is invoked in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$19(Object, String) : void. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetAuthStep is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal field com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.OpenSshAgentConnectionState.NOT_STARTED : com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.OpenSshAgentConnectionState is accessed in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This field is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the field is not supposed to be used in client code. +Internal constructor com.intellij.ui.components.panels.BackgroundRoundedPanel.(int arcSize, java.awt.LayoutManager layoutManager) is invoked in com.microsoft.azure.toolkit.intellij.cognitiveservices.chatbox.UserMessagePane.createUIComponents() : void. This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.util.PlatformUtils.isIdeaCommunity() : boolean is invoked in com.microsoft.azure.toolkit.intellij.vm.IntelliJVMActionsContributor.registerHandlers(AzureActionManager) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.ui.popup.list.GroupedItemsListRenderer.hasSeparator(E value, int index) : boolean is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.component.AzureDockerImageComboBox$1.hasSeparator(DockerImage, int) : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.database.view.ui.DataSourceManagerDialog is referenced in com.microsoft.azure.toolkit.intellij.cosmos.IntelliJCosmosActionsContributorForUltimate.openDatabaseTool(Project, CosmosDBAccount) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkTreePanel.toolbar : ActionToolbarImpl. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ui.popup.list.GroupedItemsListRenderer.hasSeparator(E value, int index) : boolean is overridden in class com.microsoft.azure.toolkit.intellij.legacy.appservice.platform.RuntimeComboBox$1. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.codeInsight.documentation.actions.ShowQuickDocInfoAction.actionPerformed(com.intellij.openapi.actionSystem.AnActionEvent e) : void is overridden in class org.wso2.lsp4intellij.actions.LSPQuickDocAction. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.ide.plugins.PluginManagerConfigurable is referenced in com.microsoft.azure.toolkit.intellij.containerservice.actions.KubernetesUtils.searchK8sPlugin() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ssh.RemoteCredentialsUtil.connectionBuilder(com.intellij.remote.RemoteCredentials $this$connectionBuilder, com.intellij.openapi.project.Project project) : com.intellij.ssh.ConnectionBuilder is invoked in com.microsoft.azure.toolkit.intellij.vm.ssh.BrowseRemoteHostSftpAction.lambda$tryConnecting$0(SshUiData, Project, Runnable) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.connector.ResourceConnectionExplorer.ToolWindow.(Project). This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.database.view.ui.DataSourceManagerDialog.showDialog(com.intellij.database.psi.DbPsiFacade facade, java.lang.Object selection, com.intellij.database.access.DatabaseCredentials srcCredentials, com.intellij.util.Consumer setUp, java.lang.Runnable onFinish) : java.util.List is invoked in com.microsoft.azure.toolkit.intellij.cosmos.IntelliJCosmosActionsContributorForUltimate.openDatabaseTool(Project, CosmosDBAccount) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.util.PlatformUtils is referenced in com.microsoft.azure.toolkit.intellij.vm.IntelliJVMActionsContributor.registerHandlers(AzureActionManager) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkArtifactExamplePanel.toolbar : ActionToolbarImpl. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.ide.plugins.PluginManagerConfigurable is referenced in com.microsoft.azure.toolkit.intellij.containerservice.actions.KubernetesUtils.lambda$searchK8sPlugin$0(PluginManagerConfigurable) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.ConnectionData.setSavePassphrase(boolean ) : void is invoked in com.microsoft.azure.toolkit.intellij.vm.runtarget.VirtualMachineConnectionConfigurable.apply() : VirtualMachine. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.ide.plugins.PluginManagerConfigurable is referenced in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$16(Object, String) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class org.jetbrains.plugins.gradle.service.project.wizard.AbstractGradleModuleBuilder is referenced in com.microsoft.azure.toolkit.intellij.legacy.function.wizard.module.helper.GradleFunctionsModuleBuilderHelper.setupGradleModule(WizardContext, ModifiableRootModel, String) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.database.view.ui.DataSourceManagerDialog is referenced in com.microsoft.azure.toolkit.intellij.database.dbtools.OpenWithDatabaseToolsAction.openDataSourceManagerDialog(IDatabaseServer, Project) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.util.PlatformUtils is referenced in com.microsoft.azure.toolkit.intellij.legacy.appservice.action.ProfileFlightRecordAction.getActionOnJfrFile(String) : String. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.ide.plugins.PluginManagerConfigurable is referenced in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$20(String, PluginManagerConfigurable) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.openapi.wm.ex.WindowManagerEx.getProjectFrameHelpers() : java.util.List is invoked in com.microsoft.azure.toolkit.intellij.common.ProjectUtils.getWindow(Project) : Window. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.jetbrains.plugins.remotesdk.target.ssh.target.wizard.SshTargetWizardModel is referenced in com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType.createStepsForNewWizard(Project, AzureVmTargetEnvironmentConfiguration, LanguageRuntimeType) : List. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManagerCore.getPlugin(com.intellij.openapi.extensions.PluginId id) : com.intellij.ide.plugins.IdeaPluginDescriptor is invoked in com.microsfot.azure.toolkit.intellij.feedback.Reportable.(String). This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.util.PlatformUtils.isIdeaUltimate() : boolean is invoked in com.microsoft.azure.toolkit.intellij.appservice.task.TriggerFunctionTask.execute() : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.openapi.actionSystem.impl.ActionToolbarImpl is referenced in com.microsoft.azure.toolkit.intellij.azuresdk.referencebook.AzureSdkTreePanel.initToolbar() : ActionToolbarImpl. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal class com.intellij.ide.plugins.PluginManagerConfigurable is referenced in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$17(String, PluginManagerConfigurable) : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.openapi.module.Module.getModuleFilePath() : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.localrun.ui.FunctionRunPanel.selectModule(Module) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal method com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.setForceMinimumSize(boolean force) : void is invoked in com.microsoft.azure.toolkit.intellij.connector.ResourceConnectionExplorer.ToolWindow.(Project). This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal class com.intellij.openapi.util.ShutDownTracker is referenced in com.microsoft.azure.toolkit.intellij.common.component.UIUtils.assertInPooledThread() : void. This class is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal method com.intellij.ide.plugins.PluginManager.enablePlugin(com.intellij.openapi.extensions.PluginId id) : boolean is invoked in com.microsoft.azure.toolkit.intellij.common.action.IntellijActionsContributor.lambda$registerHandlers$12(String) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. +Internal interface com.intellij.ide.ApplicationInitializedListener is referenced in com.microsoft.azure.hdinsight.common.ConsoleViewTypeRegistrationListener.execute(Continuation) : Object. This interface is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the class is not supposed to be used in client code. +Internal constructor com.intellij.codeInsight.documentation.actions.ShowQuickDocInfoAction.() is invoked in org.wso2.lsp4intellij.actions.LSPQuickDocAction.(). This constructor is marked with @org.jetbrains.annotations.ApiStatus.Internal annotation or @com.intellij.openapi.util.IntellijInternalApi annotation and indicates that the method is not supposed to be used in client code. diff --git a/verifier-reports/non-extendable-api-usages.txt b/verifier-reports/non-extendable-api-usages.txt new file mode 100644 index 00000000000..f89eaafa41e --- /dev/null +++ b/verifier-reports/non-extendable-api-usages.txt @@ -0,0 +1,3 @@ +Non-extendable interface com.intellij.openapi.actionSystem.DataContext is implemented by com.microsoft.azure.cosmos.spark.actions.SparkAppSubmitContext. This interface is marked with @org.jetbrains.annotations.ApiStatus.NonExtendable, which indicates that the interface is not supposed to be extended. See documentation of the @ApiStatus.NonExtendable for more info. +Non-extendable interface com.intellij.openapi.actionSystem.DataContext is implemented by com.microsoft.azure.toolkit.intellij.common.AzureActionButton$1. This interface is marked with @org.jetbrains.annotations.ApiStatus.NonExtendable, which indicates that the interface is not supposed to be extended. See documentation of the @ApiStatus.NonExtendable for more info. +Non-extendable class com.intellij.ui.RoundedLineBorder is extended by com.microsoft.azure.toolkit.intellij.common.component.RoundedLineBorder. This class is marked with @org.jetbrains.annotations.ApiStatus.NonExtendable, which indicates that the class is not supposed to be extended. See documentation of the @ApiStatus.NonExtendable for more info. diff --git a/verifier-reports/override-only-usages.txt b/verifier-reports/override-only-usages.txt new file mode 100644 index 00000000000..139d7fa6a5e --- /dev/null +++ b/verifier-reports/override-only-usages.txt @@ -0,0 +1,8 @@ +Override-only method com.intellij.openapi.actionSystem.AnAction.actionPerformed(AnActionEvent) is invoked in com.microsoft.azure.toolkit.intellij.common.action.IntellijAzureActionManager.lambda$getAction$0(AnAction, Object, AnActionEvent) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.OverrideOnly annotation, which indicates that the method must be only overridden but not invoked by client code. See documentation of the @ApiStatus.OverrideOnly for more info. +Override-only method com.microsoft.azure.toolkit.intellij.common.action.AzureAnAction.actionPerformed(AnActionEvent) is invoked in com.microsoft.azure.toolkit.intellij.sparkoncosmos.actions.SubmitSOCServerlessJob.submit(SparkOnCosmosADLAccountNode, AnActionEvent) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.OverrideOnly annotation, which indicates that the method must be only overridden but not invoked by client code. See documentation of the @ApiStatus.OverrideOnly for more info. +Override-only method com.intellij.openapi.actionSystem.AnAction.actionPerformed(AnActionEvent) is invoked in com.microsoft.azure.hdinsight.spark.console.RunSparkScalaConsoleAction.onActionPerformed(AnActionEvent, Operation) : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.OverrideOnly annotation, which indicates that the method must be only overridden but not invoked by client code. See documentation of the @ApiStatus.OverrideOnly for more info. +Override-only method com.intellij.openapi.actionSystem.AnAction.actionPerformed(AnActionEvent) is invoked in com.microsoft.azure.toolkit.intellij.storage.azurite.AzuriteService.getOrCreateConsoleView(Project) : ConsoleView. This method is marked with @org.jetbrains.annotations.ApiStatus.OverrideOnly annotation, which indicates that the method must be only overridden but not invoked by client code. See documentation of the @ApiStatus.OverrideOnly for more info. +Override-only method com.microsoft.azure.toolkit.intellij.common.action.AzureAnAction.actionPerformed(AnActionEvent) is invoked in com.microsoft.azure.toolkit.intellij.sparkoncosmos.actions.SubmitClusterJobAction.submit(SparkOnCosmosClusterNode, AnActionEvent) : void. This method is marked with @org.jetbrains.annotations.ApiStatus.OverrideOnly annotation, which indicates that the method must be only overridden but not invoked by client code. See documentation of the @ApiStatus.OverrideOnly for more info. +Override-only method com.intellij.openapi.actionSystem.AnAction.actionPerformed(AnActionEvent) is invoked in com.microsoft.azure.hdinsight.spark.run.action.SeqActions.onActionPerformed(AnActionEvent, Operation) : boolean. This method is marked with @org.jetbrains.annotations.ApiStatus.OverrideOnly annotation, which indicates that the method must be only overridden but not invoked by client code. See documentation of the @ApiStatus.OverrideOnly for more info. +Override-only method com.intellij.openapi.actionSystem.DataProvider.getData(String) is invoked in com.microsoft.azure.toolkit.intellij.common.action.IntellijAzureActionManager.AnActionWrapper.lambda$getSource$3(DataProvider) : Object. This method is marked with @org.jetbrains.annotations.ApiStatus.OverrideOnly annotation, which indicates that the method must be only overridden but not invoked by client code. See documentation of the @ApiStatus.OverrideOnly for more info. +Override-only method com.intellij.openapi.actionSystem.AnAction.actionPerformed(AnActionEvent) is invoked in com.microsoft.azure.toolkit.intellij.containerregistry.buildimage.DockerBuildTaskProvider.DockerBuildBeforeRunTask.createConsoleView(Project, String) : ConsoleView. This method is marked with @org.jetbrains.annotations.ApiStatus.OverrideOnly annotation, which indicates that the method must be only overridden but not invoked by client code. See documentation of the @ApiStatus.OverrideOnly for more info. diff --git a/verifier-reports/plugin-structure-warnings.txt b/verifier-reports/plugin-structure-warnings.txt new file mode 100644 index 00000000000..f1d27de9847 --- /dev/null +++ b/verifier-reports/plugin-structure-warnings.txt @@ -0,0 +1,7 @@ +PluginStructureWarning(problem=There is a duplicated dependency on 'com.intellij.gradle'. Remove this dependency by updating the plugin.xml file.) +PluginStructureWarning(problem=There is a duplicated dependency on 'org.jetbrains.plugins.gradle'. Remove this dependency by updating the plugin.xml file.) +PluginStructureWarning(problem=There is a duplicated dependency on 'com.intellij.modules.xml'. Remove this dependency by updating the plugin.xml file.) +PluginStructureWarning(problem=There is a duplicated dependency on 'com.intellij.database'. Remove this dependency by updating the plugin.xml file.) +PluginStructureWarning(problem=There is a duplicated dependency on 'com.intellij.modules.java'. Remove this dependency by updating the plugin.xml file.) +PluginStructureWarning(problem=There is a duplicated dependency on 'org.jetbrains.idea.maven'. Remove this dependency by updating the plugin.xml file.) +PluginStructureWarning(problem=There is a duplicated dependency on 'org.jetbrains.plugins.terminal'. Remove this dependency by updating the plugin.xml file.) diff --git a/verifier-reports/remaining-removal.txt b/verifier-reports/remaining-removal.txt new file mode 100644 index 00000000000..f8e3de6d9bd --- /dev/null +++ b/verifier-reports/remaining-removal.txt @@ -0,0 +1,12 @@ +Deprecated method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is overridden in class com.microsoft.azure.toolkit.intellij.common.AzureActionButton$1. This method will be removed in a future release +Deprecated method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is invoked in com.microsoft.azure.toolkit.intellij.common.AzureActionButton$1.getData(String) : Object. This method will be removed in a future release +Deprecated method com.intellij.execution.lineMarker.RunLineMarkerContributor.getText(com.intellij.openapi.actionSystem.AnAction action, com.intellij.psi.PsiElement element) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.FunctionRunLineMarkerProvider.lambda$getInfo$1(PsiElement, AnAction) : String. This method will be removed in a future release +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is invoked in com.microsoft.azure.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable.createExtraActions() : AnActionButton[]. This method will be removed in a future release +Deprecated method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is overridden in class com.microsoft.azure.cosmos.spark.actions.SparkAppSubmitContext. This method will be removed in a future release +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is overridden in class com.microsoft.azure.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable. This method will be removed in a future release +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is invoked in com.microsoft.intellij.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable.createExtraActions() : AnActionButton[]. This method will be removed in a future release +Deprecated method com.intellij.ui.SimpleListCellRenderer.create(com.intellij.ui.SimpleListCellRenderer.Customizer customizer) : com.intellij.ui.SimpleListCellRenderer is invoked in com.microsoft.azure.toolkit.lib.legacy.function.FunctionCoreToolsCombobox.(Project, boolean). This method will be removed in a future release +Deprecated method org.jetbrains.plugins.terminal.TerminalToolWindowManager.createLocalShellWidget(java.lang.String workingDirectory, java.lang.String tabName) : org.jetbrains.plugins.terminal.ShellTerminalWidget is invoked in com.microsoft.azure.toolkit.intellij.vm.ssh.ConnectUsingSshActionCommunityImpl.lambda$connectBySsh$0(Project, String, VirtualMachine) : void. This method will be removed in a future release +Deprecated method com.intellij.execution.target.BrowsableTargetEnvironmentType.createBrowser(com.intellij.openapi.project.Project project, java.lang.String title, com.intellij.openapi.ui.TextComponentAccessor textComponentAccessor, T component, java.util.function.Supplier configurationSupplier) : java.awt.event.ActionListener is overridden in class com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType. This method will be removed in a future release +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is overridden in class com.microsoft.intellij.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable. This method will be removed in a future release +Deprecated method com.intellij.execution.services.ServiceViewDescriptor.getDataProvider() : com.intellij.openapi.actionSystem.DataProvider is overridden in class com.microsoft.azure.toolkit.intellij.integration.services.NodeViewDescriptor. This method will be removed in a future release diff --git a/verifier-reports/scheduled-for-removal.txt b/verifier-reports/scheduled-for-removal.txt new file mode 100644 index 00000000000..f8e3de6d9bd --- /dev/null +++ b/verifier-reports/scheduled-for-removal.txt @@ -0,0 +1,12 @@ +Deprecated method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is overridden in class com.microsoft.azure.toolkit.intellij.common.AzureActionButton$1. This method will be removed in a future release +Deprecated method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is invoked in com.microsoft.azure.toolkit.intellij.common.AzureActionButton$1.getData(String) : Object. This method will be removed in a future release +Deprecated method com.intellij.execution.lineMarker.RunLineMarkerContributor.getText(com.intellij.openapi.actionSystem.AnAction action, com.intellij.psi.PsiElement element) : java.lang.String is invoked in com.microsoft.azure.toolkit.intellij.legacy.function.runner.FunctionRunLineMarkerProvider.lambda$getInfo$1(PsiElement, AnAction) : String. This method will be removed in a future release +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is invoked in com.microsoft.azure.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable.createExtraActions() : AnActionButton[]. This method will be removed in a future release +Deprecated method com.intellij.openapi.actionSystem.DataContext.getData(java.lang.String arg0) : java.lang.Object is overridden in class com.microsoft.azure.cosmos.spark.actions.SparkAppSubmitContext. This method will be removed in a future release +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is overridden in class com.microsoft.azure.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable. This method will be removed in a future release +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is invoked in com.microsoft.intellij.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable.createExtraActions() : AnActionButton[]. This method will be removed in a future release +Deprecated method com.intellij.ui.SimpleListCellRenderer.create(com.intellij.ui.SimpleListCellRenderer.Customizer customizer) : com.intellij.ui.SimpleListCellRenderer is invoked in com.microsoft.azure.toolkit.lib.legacy.function.FunctionCoreToolsCombobox.(Project, boolean). This method will be removed in a future release +Deprecated method org.jetbrains.plugins.terminal.TerminalToolWindowManager.createLocalShellWidget(java.lang.String workingDirectory, java.lang.String tabName) : org.jetbrains.plugins.terminal.ShellTerminalWidget is invoked in com.microsoft.azure.toolkit.intellij.vm.ssh.ConnectUsingSshActionCommunityImpl.lambda$connectBySsh$0(Project, String, VirtualMachine) : void. This method will be removed in a future release +Deprecated method com.intellij.execution.target.BrowsableTargetEnvironmentType.createBrowser(com.intellij.openapi.project.Project project, java.lang.String title, com.intellij.openapi.ui.TextComponentAccessor textComponentAccessor, T component, java.util.function.Supplier configurationSupplier) : java.awt.event.ActionListener is overridden in class com.microsoft.azure.toolkit.intellij.vm.runtarget.AzureVmTargetType. This method will be removed in a future release +Deprecated method com.intellij.execution.util.ListTableWithButtons.createExtraActions() : com.intellij.ui.AnActionButton[] is overridden in class com.microsoft.intellij.ui.components.JsonEnvPropertiesField.MyEnvVariablesTable. This method will be removed in a future release +Deprecated method com.intellij.execution.services.ServiceViewDescriptor.getDataProvider() : com.intellij.openapi.actionSystem.DataProvider is overridden in class com.microsoft.azure.toolkit.intellij.integration.services.NodeViewDescriptor. This method will be removed in a future release diff --git a/verifier-reports/verification-verdict.txt b/verifier-reports/verification-verdict.txt new file mode 100644 index 00000000000..040c3b4bace --- /dev/null +++ b/verifier-reports/verification-verdict.txt @@ -0,0 +1 @@ +Compatible. 12 usages of scheduled for removal API and 347 usages of deprecated API. 82 usages of experimental API. 179 usages of internal API. 3 non-extendable API usage violations. 8 override-only API usage violations. 7 plugin configuration defects