Skip to content

Commit 3b30e6d

Browse files
Merge branch 'endgame-june'
2 parents e24d06b + 05847f7 commit 3b30e6d

File tree

282 files changed

+4761
-10404
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

282 files changed

+4761
-10404
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
All notable changes to "Azure Toolkit for IntelliJ IDEA" will be documented in this file.
44

55
- [Change Log](#change-log)
6+
- [3.54.0](#3540)
67
- [3.53.0](#3530)
78
- [3.52.0](#3520)
89
- [3.51.0](#3510)
@@ -68,6 +69,15 @@ All notable changes to "Azure Toolkit for IntelliJ IDEA" will be documented in t
6869
- [3.0.7](#307)
6970
- [3.0.6](#306)
7071

72+
## 3.54.0
73+
### Added
74+
- User would be reminded if deprecated Azure SDK libs are used in project.
75+
- Development workflow for SQL Server on Azure: user can now connect SQL Server to local project from Azure Explorer, project, module or application.properties file.
76+
77+
### Changed
78+
- Services are grouped by category in Azure SDK reference book so that user can quickly locate the libs they want.
79+
- Error messages are unified.
80+
7181
## 3.53.0
7282
### Added
7383
- Management workflow for Azure SQL Server

PluginsAndFeatures/AddLibrary/AzureLibraries/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<parent>
2929
<groupId>com.microsoft.azuretools</groupId>
3030
<artifactId>utils</artifactId>
31-
<version>3.53.0</version>
31+
<version>3.54.0</version>
3232
</parent>
3333
<groupId>com.microsoft.azuretools</groupId>
3434
<artifactId>com.microsoft.azuretools.sdk.lib</artifactId>
@@ -38,7 +38,7 @@
3838
<organization><name>Microsoft Corp.</name></organization>
3939

4040
<properties>
41-
<azuretool.version>3.53.0</azuretool.version>
41+
<azuretool.version>3.54.0</azuretool.version>
4242
<azuretool.sdk.version>3.25.0.qualifier</azuretool.sdk.version>
4343
</properties>
4444
<dependencies>

PluginsAndFeatures/azure-toolkit-for-intellij/.idea/misc.xml

Lines changed: 11 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureComboBox.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import com.intellij.ui.SimpleListCellRenderer;
1313
import com.intellij.ui.components.fields.ExtendableTextComponent;
1414
import com.intellij.ui.components.fields.ExtendableTextField;
15-
import com.microsoft.azure.toolkit.lib.common.exception.AzureExceptionHandler;
15+
import com.microsoft.azure.toolkit.lib.common.messager.AzureMessager;
1616
import com.microsoft.azure.toolkit.lib.common.operation.AzureOperation;
1717
import com.microsoft.azure.toolkit.lib.common.task.AzureTask;
1818
import com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager;
@@ -279,7 +279,12 @@ protected T getDefaultValue() {
279279
}
280280

281281
protected void handleLoadingError(Throwable e) {
282-
AzureExceptionHandler.onRxException(e);
282+
final Throwable rootCause = ExceptionUtils.getRootCause(e);
283+
if (rootCause instanceof InterruptedIOException || rootCause instanceof InterruptedException) {
284+
// Swallow interrupted exception caused by unsubscribe
285+
return;
286+
}
287+
AzureMessager.getMessager().error(e);
283288
}
284289

285290
protected boolean isFilterable() {

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureDialog.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import com.microsoft.azure.toolkit.lib.common.form.AzureForm;
1111
import com.microsoft.azure.toolkit.lib.common.form.AzureFormInput;
1212
import com.microsoft.azure.toolkit.lib.common.form.AzureValidationInfo;
13+
import com.microsoft.azure.toolkit.lib.common.messager.AzureMessager;
1314
import lombok.extern.java.Log;
1415

1516
import javax.swing.*;
@@ -35,11 +36,15 @@ public AzureDialog() {
3536

3637
@Override
3738
protected void doOKAction() {
38-
if (Objects.nonNull(this.okActionListener)) {
39-
final T data = this.getForm().getData();
40-
this.okActionListener.onOk(data);
41-
} else {
42-
super.doOKAction();
39+
try {
40+
if (Objects.nonNull(this.okActionListener)) {
41+
final T data = this.getForm().getData();
42+
this.okActionListener.onOk(data);
43+
} else {
44+
super.doOKAction();
45+
}
46+
} catch (final Exception e) {
47+
AzureMessager.getMessager().error(e);
4348
}
4449
}
4550

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/handler/AzureToolkitErrorDialog.form

Lines changed: 0 additions & 54 deletions
This file was deleted.

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/handler/AzureToolkitErrorDialog.java

Lines changed: 0 additions & 110 deletions
This file was deleted.

0 commit comments

Comments
 (0)