Skip to content

Commit 75cd35f

Browse files
committed
chore: initial chore
1 parent bd0567d commit 75cd35f

File tree

16 files changed

+112
-140
lines changed

16 files changed

+112
-140
lines changed

.idea/gradle.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,34 @@
1818
- [ ] Configure the [CODECOV_TOKEN](https://docs.codecov.com/docs/quick-start) secret for automated test coverage reports on PRs
1919

2020
<!-- Plugin description -->
21-
This Fancy IntelliJ Platform Plugin is going to be your implementation of the brilliant ideas that you have.
2221

23-
This specific section is a source for the [plugin.xml](/src/main/resources/META-INF/plugin.xml) file which will be extracted by the [Gradle](/build.gradle.kts) during the build process.
22+
[Github](https://github.com/j-plugins/temporal-plugin) | [Telegram](https://t.me/jb_plugins) | [Donation](https://github.com/xepozz/xepozz?tab=readme-ov-file#become-a-sponsor)
23+
24+
## Temporal
25+
26+
Temporal is an open source durable execution solution that abstracts away complexity from building scalable, distributed systems and helps you deliver more reliable applications, faster.
27+
28+
Supported languages:
29+
- PHP
30+
- Open an issue if you need support for another language
31+
32+
## Donation
33+
34+
Open-source tools can greatly improve workflows, helping developers and businesses save time and increase revenue.
35+
Many successful projects have been built on these tools, benefiting a wide community.
36+
However, maintaining and enhancing these resources requires continuous effort and investment.
37+
38+
Support from the community helps keep these projects alive and ensures they remain useful for everyone.
39+
Donations play a key role in sustaining and improving these open-source initiatives.
40+
41+
Chose the best option for you to say thank you:
42+
43+
[<img height="28" src="https://github.githubassets.com/assets/patreon-96b15b9db4b9.svg"> Patreon](https://patreon.com/xepozz)
44+
|
45+
[<img height="28" src="https://github.githubassets.com/assets/buy_me_a_coffee-63ed78263f6e.svg"> Buy me a coffee](https://buymeacoffee.com/xepozz)
46+
|
47+
[<img height="28" src="https://boosty.to/favicon.ico"> Boosty](https://boosty.to/xepozz)
2448

25-
To keep everything working, do not remove `<!-- ... -->` sections.
2649
<!-- Plugin description end -->
2750

2851
## Installation

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
22

3-
pluginGroup = com.github.xepozz.temporalplugin
4-
pluginName = temporal-plugin
3+
pluginGroup = com.github.xepozz.temporal
4+
pluginName = Temporal
55
pluginRepositoryUrl = https://github.com/xepozz/temporal-plugin
66
# SemVer format -> https://semver.org
7-
pluginVersion = 0.0.1
7+
pluginVersion = 2025.1.1
88

99
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
10-
pluginSinceBuild = 252
10+
pluginSinceBuild = 251
1111

1212
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
13-
platformVersion = 2025.2.5
13+
platformVersion = 2025.1.1
1414

1515
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1616
# Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP

src/main/kotlin/com/github/xepozz/temporalplugin/MyBundle.kt renamed to src/main/kotlin/com/github/xepozz/temporal/TemporalBundle.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
package com.github.xepozz.temporalplugin
1+
package com.github.xepozz.temporal
22

33
import com.intellij.DynamicBundle
44
import org.jetbrains.annotations.NonNls
55
import org.jetbrains.annotations.PropertyKey
66

77
@NonNls
8-
private const val BUNDLE = "messages.MyBundle"
8+
private const val BUNDLE = "messages.TemporalBundle"
99

10-
object MyBundle : DynamicBundle(BUNDLE) {
10+
object TemporalBundle : DynamicBundle(BUNDLE) {
1111

1212
@JvmStatic
1313
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) =
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
package com.github.xepozz.temporal.toolWindow
2+
3+
import com.intellij.openapi.project.Project
4+
import com.intellij.openapi.wm.ToolWindow
5+
import com.intellij.openapi.wm.ToolWindowFactory
6+
7+
8+
class TemporalToolWindowFactory : ToolWindowFactory {
9+
override fun createToolWindowContent(project: Project, toolWindow: ToolWindow) {
10+
val myToolWindow = MyToolWindow(toolWindow)
11+
// val content = ContentFactory.getInstance().createContent(myToolWindow.getContent(), null, false)
12+
// toolWindow.contentManager.addContent(content)
13+
}
14+
15+
override fun shouldBeAvailable(project: Project) = true
16+
17+
class MyToolWindow(toolWindow: ToolWindow) {
18+
19+
// private val service = toolWindow.project.service<MyProjectService>()
20+
//
21+
// fun getContent() = JBPanel<JBPanel<*>>().apply {
22+
// val label = JBLabel(TemporalBundle.message("randomLabel", "?"))
23+
//
24+
// add(label)
25+
// add(JButton(TemporalBundle.message("shuffle")).apply {
26+
// addActionListener {
27+
// label.text = TemporalBundle.message("randomLabel", service.getRandomNumber())
28+
// }
29+
// })
30+
// }
31+
}
32+
}

src/main/kotlin/com/github/xepozz/temporalplugin/services/MyProjectService.kt

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

src/main/kotlin/com/github/xepozz/temporalplugin/startup/MyProjectActivity.kt

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

src/main/kotlin/com/github/xepozz/temporalplugin/toolWindow/MyToolWindowFactory.kt

Lines changed: 0 additions & 45 deletions
This file was deleted.
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
22
<idea-plugin>
3-
<id>com.github.xepozz.temporalplugin</id>
4-
<name>temporal-plugin</name>
5-
<vendor>xepozz</vendor>
3+
<id>com.github.xepozz.temporal</id>
4+
<name>Temporal</name>
5+
<vendor email="[email protected]" url="https://github.com/xepozz">Dmitrii Derepko (@xepozz)</vendor>
66

77
<depends>com.intellij.modules.platform</depends>
88

9-
<resource-bundle>messages.MyBundle</resource-bundle>
9+
<resource-bundle>messages.TemporalBundle</resource-bundle>
1010

1111
<extensions defaultExtensionNs="com.intellij">
12-
<toolWindow factoryClass="com.github.xepozz.temporalplugin.toolWindow.MyToolWindowFactory" id="MyToolWindow"/>
13-
<postStartupActivity implementation="com.github.xepozz.temporalplugin.startup.MyProjectActivity" />
12+
<toolWindow
13+
id="Temporal" icon="/META-INF/pluginIcon.svg"
14+
anchor="right" doNotActivateOnStart="true" secondary="false"
15+
factoryClass="com.github.xepozz.temporal.toolWindow.TemporalToolWindowFactory"
16+
/>
1417
</extensions>
1518
</idea-plugin>
Lines changed: 18 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)