Skip to content

Commit 31618a9

Browse files
committed
description in plugin.xml
Signed-off-by: shalom <[email protected]>
1 parent 104dc3e commit 31618a9

File tree

5 files changed

+43
-52
lines changed

5 files changed

+43
-52
lines changed

.github/workflows/gradle-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ jobs:
4545
uses: actions/upload-artifact@v3
4646
with:
4747
name: digma-intellij-plugin
48-
path: build/distributions/digma-intellij-1.0.10.zip
48+
path: build/distributions/digma-intellij-1.0.11.zip

README.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -61,31 +61,3 @@ DIGMA_JB_PRIVATE_KEY_PASSWORD=digma</br>
6161
./gradlew signPlugin</br>
6262

6363

64-
65-
66-
67-
68-
69-
70-
71-
72-
73-
<!-- [//]: # (example how satisfy gradle build with empty plugin description) -->
74-
<!-- Plugin description -->
75-
<![CDATA[
76-
&lt;h1&gt;Add Continuous Feedback to your coding practices&lt;/h1&gt;
77-
&lt;p&gt;Digma is a Continuous Feedback platform. It integrates with your observability
78-
backend to provide meaningful code insights in the IDE. While coding, you can be aware of how the code behaves in runtime in various staging and production environments&lt;/p&gt;
79-
80-
&lt;p&gt;Digma provides integrated insights multiple code behavior topics including:
81-
&lt;ul&gt;
82-
&lt;li&gt;Error hostpots&lt;/li&gt;
83-
&lt;li&gt;Usage bottlenecks and concurrency&lt;/li&gt;
84-
&lt;li&gt;Performance trends&lt;/li&gt;
85-
&lt;/ul&gt;
86-
&lt;/p&gt;ֿ]]>
87-
<!-- Plugin description end -->
88-
89-
90-
91-

build.gradle.kts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import common.properties
2-
import org.jetbrains.changelog.markdownToHTML
32

43
fun properties(key: String) = properties(key,project)
54

@@ -93,17 +92,17 @@ tasks {
9392
untilBuild.set(properties("pluginUntilBuild"))
9493

9594
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
96-
pluginDescription.set(
97-
projectDir.resolve("README.md").readText().lines().run {
98-
val start = "<!-- Plugin description -->"
99-
val end = "<!-- Plugin description end -->"
100-
101-
if (!containsAll(listOf(start, end))) {
102-
throw GradleException("Plugin description section not found in README.md:\n$start ... $end")
103-
}
104-
subList(indexOf(start) + 1, indexOf(end))
105-
}.joinToString("\n").run { markdownToHTML(this) }
106-
)
95+
// pluginDescription.set(
96+
// projectDir.resolve("README.md").readText().lines().run {
97+
// val start = "<!-- Plugin description -->"
98+
// val end = "<!-- Plugin description end -->"
99+
//
100+
// if (!containsAll(listOf(start, end))) {
101+
// throw GradleException("Plugin description section not found in README.md:\n$start ... $end")
102+
// }
103+
// subList(indexOf(start) + 1, indexOf(end))
104+
// }.joinToString("\n").run { markdownToHTML(this) }
105+
// )
107106

108107
// Get the latest available change notes from the changelog file
109108
changeNotes.set(provider {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
pluginGroup = org.digma.plugins
77
pluginName = digma-intellij
88
# SemVer format -> https://semver.org
9-
pluginVersion = 1.0.10
9+
pluginVersion=1.0.11
1010

1111
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1212
# for insight into build numbers and IntelliJ Platform versions.

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

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,39 @@
55
<version>${project.version}</version>
66
<name>Digma Continuous Feedback</name>
77
<vendor>digma.ai</vendor>
8-
<description>
9-
Please write plugin description in README.md , see <!-- Plugin description --> section
10-
</description>
8+
<description><![CDATA[
9+
<p>Digma is a Continuous Feedback platform. It integrates with your observability
10+
backend to provide meaningful code insights in the IDE. While coding,
11+
you can be aware of how the code behaves in runtime in various staging and production environments
12+
</p>
13+
<br/>
14+
15+
<p><h2><strong>Digma provides integrated insights multiple code behavior topics including:</strong></h2></p>
16+
17+
<ul>
18+
<li>
19+
Error hostpots
20+
</li>
21+
22+
<li>
23+
Usage bottlenecks and concurrency
24+
</li>
25+
26+
<li>
27+
Performance trends
28+
</li>
29+
</ul>
30+
]]></description>
1131
<depends>com.intellij.modules.platform</depends>
1232
<depends>com.intellij.modules.vcs</depends>
1333

14-
<!-- <depends-->
15-
<!-- optional="true"-->
16-
<!-- config-file="org.digma.intellij-with-pycharm.xml">com.intellij.modules.python-->
17-
<!-- </depends>-->
18-
<!-- <depends-->
19-
<!-- optional="true"-->
20-
<!-- config-file="org.digma.intellij-with-idea.xml">com.intellij.modules.java-->
34+
<!-- <depends-->
35+
<!-- optional="true"-->
36+
<!-- config-file="org.digma.intellij-with-pycharm.xml">com.intellij.modules.python-->
37+
<!-- </depends>-->
38+
<!-- <depends-->
39+
<!-- optional="true"-->
40+
<!-- config-file="org.digma.intellij-with-idea.xml">com.intellij.modules.java-->
2141
<!-- </depends>-->
2242
<depends
2343
optional="true"

0 commit comments

Comments
 (0)