Compare commits

...

2 Commits

Author SHA1 Message Date
chylex 3c3ef7f2d3
Release 1.0.1 2022-07-07 20:18:24 +02:00
chylex 30d7e63849
Fix accidentally breaking dynamic plugin unloading in IntelliJ 2022-07-07 20:03:58 +02:00
3 changed files with 10 additions and 2 deletions

View File

@ -6,7 +6,7 @@ plugins {
}
group = "com.chylex.intellij.disabletaskcontexts"
version = "1.0.0"
version = "1.0.1"
repositories {
mavenCentral()

View File

@ -6,6 +6,8 @@ import com.intellij.ide.plugins.IdeaPluginDescriptor
class PluginLoadListener : DynamicPluginListener {
override fun checkUnloadPlugin(pluginDescriptor: IdeaPluginDescriptor) {
throw CannotUnloadPluginException("A restart is required to unload Disable Task Contexts plugin.")
if (pluginDescriptor.pluginId.idString == "com.chylex.intellij.disabletaskcontexts.DisableTaskContexts") {
throw CannotUnloadPluginException("A restart is required to unload Disable Task Contexts plugin.")
}
}
}

View File

@ -8,6 +8,12 @@
This plugin works by unregistering everything that saves workspace context. It does not change any settings related to context tracking or workspace restoration.
]]></description>
<change-notes><![CDATA[
<ul>
<li>Fixed breaking IntelliJ's dynamic plugin unloading.</li>
</ul>
]]></change-notes>
<depends>com.intellij.modules.platform</depends>
<applicationListeners>