Skip to content

Commit 7d235b2

Browse files
committed
Merge branch 'endgame-july'
2 parents f84e65d + e74e3c5 commit 7d235b2

File tree

48 files changed

+170
-137
lines changed

Some content is hidden

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

48 files changed

+170
-137
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ All notable changes to "Azure Toolkit for IntelliJ IDEA" will be documented in t
7070
- [3.0.7](#307)
7171
- [3.0.6](#306)
7272

73+
## 3.55.1
74+
### Added
75+
- Add support for IntelliJ 2021.2
76+
7377
## 3.55.0
7478
### Added
7579
- New Azure Resource Connector explorer for connection management

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

Lines changed: 1 addition & 0 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-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/connector/ConnectionRunnerForRunConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ public boolean execute(@NotNull DataContext dataContext, @NotNull RunConfigurati
7979
public static class MyRunConfigurationExtension extends RunConfigurationExtension {
8080

8181
@Override
82-
public <T extends RunConfigurationBase> void updateJavaParameters(@NotNull T configuration, @NotNull JavaParameters params, RunnerSettings settings) {
82+
public <T extends RunConfigurationBase<?>> void updateJavaParameters(@NotNull T configuration, @NotNull JavaParameters params,
83+
RunnerSettings settings) {
8384
final @NotNull List<?> beforeTasks = configuration.getBeforeRunTasks();
8485
beforeTasks.stream().filter(t -> t instanceof MyBeforeRunTask).map(t -> (MyBeforeRunTask) t)
8586
.flatMap(t -> t.connections.stream())

PluginsAndFeatures/azure-toolkit-for-intellij/azure-sdk-reference-book/src/main/java/com/microsoft/azure/toolkit/intellij/azuresdk/referencebook/AzureSdkArtifactDetailPanel.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*/
5+
16
package com.microsoft.azure.toolkit.intellij.azuresdk.referencebook;
27

38
import com.google.common.collect.ImmutableMap;
@@ -49,11 +54,12 @@ private void initEventListeners() {
4954

5055
private void setLinks(@Nonnull final Map<String, String> links) {
5156
this.links.removeAll();
52-
links.forEach((type, url) -> {
53-
final HyperlinkLabel link = new HyperlinkLabel();
57+
linkNames.forEach((type, name) -> {
58+
final String url = links.get(type);
5459
if (StringUtils.isNotBlank(url)) {
60+
final HyperlinkLabel link = new HyperlinkLabel();
5561
this.links.add(new JToolBar.Separator());
56-
link.setHyperlinkText(linkNames.get(type));
62+
link.setHyperlinkText(name);
5763
link.setHyperlinkTarget(url);
5864
this.links.add(new JSeparator(SwingConstants.VERTICAL));
5965
this.links.add(link);
@@ -69,14 +75,14 @@ private DropDownLink<String> buildVersionSelector() {
6975
if (StringUtils.isNotBlank(artifact.getVersionPreview())) {
7076
versions.add(artifact.getVersionPreview());
7177
}
72-
final DropDownLink<String> version = new DropDownLink<>(versions.get(0), versions, (String v) -> {
78+
final DropDownLink<String> versionSelector = new DropDownLink<>(versions.get(0), versions, (String v) -> {
7379
if (this.artifactId.isSelected()) {
7480
this.setLinks(this.artifact.getLinks(v));
7581
this.onArtifactOrVersionSelected.accept(this.artifact, this.version.getSelectedItem());
7682
}
7783
}, true);
78-
version.setForeground(JBColor.BLACK);
79-
return version;
84+
versionSelector.setForeground(JBColor.BLACK);
85+
return versionSelector;
8086
}
8187

8288
public void setSelected(boolean selected) {

PluginsAndFeatures/azure-toolkit-for-intellij/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id "org.jetbrains.intellij" version "0.7.2"
3-
id "org.jetbrains.kotlin.jvm" version "1.3.50"
3+
id "org.jetbrains.kotlin.jvm" version "1.4.20"
4+
id 'org.openjfx.javafxplugin' version '0.0.9'
45
id "de.undercouch.download" version "4.1.1"
56
id "com.github.ben-manes.versions" version "0.39.0"
67
id "io.freefair.aspectj.post-compile-weaving" version "6.0.0-m2"
@@ -212,7 +213,7 @@ dependencies {
212213
compile group: 'jaxen', name: 'jaxen', version: '1.2.0'
213214
compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.4'
214215

215-
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72")
216+
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.20")
216217

217218
// https://mvnrepository.com/artifact/org.projectlombok/lombok
218219
compileOnly 'org.projectlombok:lombok'
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
javaVersion=11
22
org.gradle.jvmargs='-Duser.language=en'
33
sources=false
4-
intellij_version=IC-2020.3
5-
dep_plugins=org.intellij.scala:2020.3.8
4+
intellij_version=IC-2021.1
5+
dep_plugins=org.intellij.scala:2021.1.15
66
applicationinsights.key=57cc111a-36a8-44b3-b044-25d293b8b77c
77
updateVersionRange=true
8-
patchPluginXmlSinceBuild=203.5419.21
8+
patchPluginXmlSinceBuild=211.6693.14

PluginsAndFeatures/azure-toolkit-for-intellij/resources/META-INF/plugin.xml

Lines changed: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns:xi="http://www.w3.org/2001/XInclude">
33
<id>com.microsoft.tooling.msservices.intellij.azure</id>
44
<name>Azure Toolkit for IntelliJ</name>
5-
<version>3.55.0</version>
5+
<version>3.55.1</version>
66
<vendor email="[email protected]" url="http://www.microsoft.com">Microsoft</vendor>
77

88
<description><![CDATA[
@@ -25,57 +25,10 @@
2525
<change-notes>
2626
<![CDATA[
2727
<html>
28-
<h3>3.55.0</h3>
28+
<h3>3.55.1</h3>
2929
<h4>Added</h4>
3030
<ul>
31-
<li>New Azure Resource Connector explorer for connection management</li>
32-
<ul>
33-
<li>List all resource connections connected to project</li>
34-
<li>Create new connections between Azure resources and module in project</li>
35-
<li>Edit/Delete existing connections</li>
36-
<li>Navigate to resource properties view of an existing connection</li>
37-
</ul>
38-
<li>Support native proxy settings in IntelliJ</li>
39-
<li>
40-
Add unified
41-
<code>Open In Portal</code>
42-
support for Web App/VM/Resource Group in Azure explorer
43-
</li>
44-
</ul>
45-
<h4>Changed</h4>
46-
<ul>
47-
<li>Enhance toolkit setting panel with more configuration</li>
48-
<li>Enhance resource loading performance in Azure explorer</li>
49-
<li>Support turn off Azure SDK deprecation notification</li>
50-
<li>Support create Azure Spring Cloud app in Azure explorer</li>
51-
<li>Update Azure icons to new style</li>
52-
</ul>
53-
<h4>Fixed</h4>
54-
<ul>
55-
<li>
56-
<a href="https://github.com/microsoft/azure-tools-for-java/issues/5439">#5439</a>
57-
Fix project already disposed excpetion while loading azure sdk reference book meta data
58-
</li>
59-
<li>
60-
<a href="https://github.com/microsoft/azure-tools-for-java/pull/5437">PR#5437</a>
61-
Fix exception while edit json in service principal dialog
62-
</li>
63-
<li>
64-
<a href="https://github.com/microsoft/azure-tools-for-java/pull/5476">PR#5476</a>
65-
Fix url render issue for toolkit notification
66-
</li>
67-
<li>
68-
<a href="https://github.com/microsoft/azure-tools-for-java/pull/5535">PR#5535</a>
69-
Fix evaluate effective pom will break app service/spring cloud deployment
70-
</li>
71-
<li>
72-
<a href="https://github.com/microsoft/azure-tools-for-java/pull/5563">PR#5563</a>
73-
Fix exception: type HTTP is not compatible with address null
74-
</li>
75-
<li>
76-
<a href="https://github.com/microsoft/azure-tools-for-java/pull/5579">PR#5579</a>
77-
Fix reporting error in azure explorer before sign in
78-
</li>
31+
<li>Add support for IntelliJ 2021.2</li>
7932
</ul>
8033
<p>You may get the full change log <a href="https://github.com/Microsoft/azure-tools-for-java/blob/develop/CHANGELOG.md">here</a></p>
8134
</html>

PluginsAndFeatures/azure-toolkit-for-intellij/resources/whatsnew/whatsnew.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<!-- Version: 3.55.0 -->
22
# What's new in Azure Toolkit for IntelliJ
33

4+
## 3.55.1
5+
### Added
6+
- Add support for IntelliJ 2021.2
7+
48
## 3.55.0
59
### Added
610
- New Azure Resource Connector explorer for connection management

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/common/HDInsightHelperImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public String getDefaultExtension() {
125125
@Nullable
126126
@Override
127127
public Icon getIcon() {
128-
return StreamUtil.getImageResourceFile(CommonConst.SPARK_JOBVIEW_ICONPATH);
128+
return PluginUtil.getIcon(CommonConst.SPARK_JOBVIEW_ICONPATH);
129129
}
130130

131131
@Override

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/jobs/framework/JobViewEditor.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,9 @@ public <T> T getUserData(@NotNull Key<T> key) {
143143
public <T> void putUserData(@NotNull Key<T> key, @Nullable T t) {
144144

145145
}
146+
147+
@Override
148+
public @org.jetbrains.annotations.Nullable VirtualFile getFile() {
149+
return myVirtualFile;
150+
}
146151
}

0 commit comments

Comments
 (0)