File tree Expand file tree Collapse file tree 8 files changed +10
-8
lines changed
kotlin/uk/co/ben_gibson/git/link Expand file tree Collapse file tree 8 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 4
4
5
5
## Unreleased
6
6
7
+ - Fix warnings and deprecations
8
+ - Support dynamic reloading
9
+
7
10
## 4.5.0 - 2024-09-02
8
11
9
12
- Fix BitBucket cloud URL generation when the remote contains scm (#333 )
Original file line number Diff line number Diff line change 4
4
pluginGroup = uk.co.ben_gibson.git.link
5
5
pluginName = GitLink
6
6
# SemVer format -> https://semver.org
7
- pluginVersion = 4.5.0
7
+ pluginVersion = 4.5.1
8
8
9
9
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
10
10
# for insight into build numbers and IntelliJ Platform versions.
Original file line number Diff line number Diff line change @@ -8,13 +8,12 @@ import com.intellij.openapi.options.ShowSettingsUtil
8
8
import com.intellij.openapi.project.Project
9
9
import org.jetbrains.annotations.NonNls
10
10
import org.jetbrains.annotations.PropertyKey
11
- import java.net.URL
12
11
13
12
@NonNls
14
13
private const val BUNDLE = " messages.MyBundle"
15
14
16
15
object GitLinkBundle : DynamicBundle(BUNDLE ) {
17
- val URL_BUG_REPORT = URL ( " https://github.com/ben-gibson/GitLink/issues" )
16
+ const val URL_BUG_REPORT = " https://github.com/ben-gibson/GitLink/issues"
18
17
19
18
@Suppress(" SpreadOperator" )
20
19
@JvmStatic
Original file line number Diff line number Diff line change 1
1
package uk.co.ben_gibson.git.link.settings
2
2
3
3
import com.intellij.openapi.components.PersistentStateComponent
4
+ import com.intellij.openapi.components.Service
4
5
import com.intellij.openapi.components.State
5
6
import com.intellij.openapi.components.Storage
6
7
import com.intellij.util.xmlb.XmlSerializerUtil
@@ -10,6 +11,7 @@ import com.intellij.util.xmlb.XmlSerializerUtil
10
11
* The [State] and [Storage] annotations define the name of the data and the file name where
11
12
* these persistent application settings are stored.
12
13
*/
14
+ @Service(Service .Level .PROJECT )
13
15
@State(name = " uk.co.ben_gibson.git.link.SettingsState" , storages = [Storage (" GitLink.xml" )])
14
16
class ProjectSettings : PersistentStateComponent <ProjectSettings ?> {
15
17
var host: String? = null
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class CustomPlatformSettingsConfigurable : BoundConfigurable(message("settings.c
42
42
.align(Align .FILL )
43
43
}
44
44
row {
45
- browserLink(message(" actions.report-bug.title" ), GitLinkBundle .URL_BUG_REPORT .toString() )
45
+ browserLink(message(" actions.report-bug.title" ), GitLinkBundle .URL_BUG_REPORT )
46
46
}
47
47
}
48
48
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class DomainRegistrySettings : BoundConfigurable(message("settings.domain-regist
70
70
.align(Align .FILL )
71
71
}
72
72
row {
73
- browserLink(message(" actions.report-bug.title" ), GitLinkBundle .URL_BUG_REPORT .toString() )
73
+ browserLink(message(" actions.report-bug.title" ), GitLinkBundle .URL_BUG_REPORT )
74
74
}
75
75
}
76
76
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class ProjectSettingsConfigurable(project : Project) : BoundConfigurable(message
53
53
}
54
54
}
55
55
row {
56
- browserLink(message(" actions.report-bug.title" ), GitLinkBundle .URL_BUG_REPORT .toString() )
56
+ browserLink(message(" actions.report-bug.title" ), GitLinkBundle .URL_BUG_REPORT )
57
57
}
58
58
}
59
59
Original file line number Diff line number Diff line change 11
11
</description >
12
12
13
13
<extensions defaultExtensionNs =" com.intellij" >
14
- <projectService serviceImplementation =" uk.co.ben_gibson.git.link.settings.ProjectSettings" />
15
14
<applicationService serviceImplementation =" uk.co.ben_gibson.git.link.settings.ApplicationSettings" />
16
- <notification .parentGroup id =" git.link.notifications" />
17
15
<notificationGroup id =" git.link.notification.general" displayType =" BALLOON" key =" notification.group.general.name" />
18
16
<notificationGroup id =" git.link.notification.important" displayType =" STICKY_BALLOON" key =" notification.group.important.name" />
19
17
<postStartupActivity implementation =" uk.co.ben_gibson.git.link.listener.ApplicationStartupListener" />
You can’t perform that action at this time.
0 commit comments