Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Commit 58b5cdf

Browse files
fix: removed use of internal api, vendor link, documentation link text and changed ide compatibility versions (#6)
Signed-off-by: Adroaldo Neto <adroaldo.neto@zup.com.br> Signed-off-by: Adroaldo Neto <adroaldo.neto@zup.com.br>
1 parent c300daf commit 58b5cdf

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ tasks {
3636
}
3737

3838
patchPluginXml {
39-
sinceBuild.set("212")
39+
sinceBuild.set("221")
4040
untilBuild.set("222.*")
4141
}
4242

src/main/kotlin/com/stackspot/intellij/listeners/TerminalToolWindowRegisteredListener.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package com.stackspot.intellij.listeners
1818

1919
import com.intellij.openapi.components.service
2020
import com.intellij.openapi.module.ModuleManager
21+
import com.intellij.openapi.module.ModuleType
2122
import com.intellij.openapi.project.Project
2223
import com.intellij.openapi.project.ProjectManager
2324
import com.intellij.openapi.wm.ToolWindowManager
@@ -48,7 +49,7 @@ class TerminalToolWindowRegisteredListener : ToolWindowManagerListener {
4849
val projectBasePath = project.basePath ?: return
4950
val isInitialized = Path(projectBasePath, Constants.Files.STK_YAML).toFile().exists()
5051
val isStackSpotProject = ModuleManager.getInstance(project).modules
51-
.firstOrNull { Constants.MODULE_TYPE == it.moduleTypeName } != null
52+
.firstOrNull { Constants.MODULE_TYPE == ModuleType.get(it).id } != null
5253

5354
if (isStackSpotProject && !isInitialized) {
5455
execCommand(project, service)

src/main/kotlin/com/stackspot/intellij/ui/project_wizard/panels/StackSpotSuccessPanel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class StackSpotSuccessPanel(private val parentPanel: StackSpotParentPanel) {
7878
executor.submit {
7979
val url = service<GetDocumentationService>().getDocumentationUrl(selectedStackfile?.stack)
8080
linkPlaceholder.component = url.takeIf { str -> str.isNotEmpty() }?.let {
81-
BrowserLink("Read documentation", it)
81+
BrowserLink("Read the Stack documentation", it)
8282
}
8383
}
8484
executor.shutdown()

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<name>StackSpot</name>
2525

2626
<!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->
27-
<vendor email="support@stackspot.com" url="https://www.stackspot.com.com">StackSpot</vendor>
27+
<vendor email="support@stackspot.com" url="https://www.stackspot.com">StackSpot</vendor>
2828

2929
<!-- Description of the plugin displayed on the Plugin Page and IDE Plugin Manager.
3030
Simple HTML elements (text formatting, paragraphs, and lists) can be added inside of <![CDATA[ ]]> tag.

0 commit comments

Comments
 (0)