1
0
mirror of https://github.com/chylex/IntelliJ-Disable-Task-Contexts.git synced 2024-11-25 16:42:55 +01:00

Compare commits

..

2 Commits

Author SHA1 Message Date
3c3ef7f2d3
Release 1.0.1 2022-07-07 20:18:24 +02:00
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" group = "com.chylex.intellij.disabletaskcontexts"
version = "1.0.0" version = "1.0.1"
repositories { repositories {
mavenCentral() mavenCentral()

View File

@ -6,6 +6,8 @@ import com.intellij.ide.plugins.IdeaPluginDescriptor
class PluginLoadListener : DynamicPluginListener { class PluginLoadListener : DynamicPluginListener {
override fun checkUnloadPlugin(pluginDescriptor: IdeaPluginDescriptor) { 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. This plugin works by unregistering everything that saves workspace context. It does not change any settings related to context tracking or workspace restoration.
]]></description> ]]></description>
<change-notes><![CDATA[
<ul>
<li>Fixed breaking IntelliJ's dynamic plugin unloading.</li>
</ul>
]]></change-notes>
<depends>com.intellij.modules.platform</depends> <depends>com.intellij.modules.platform</depends>
<applicationListeners> <applicationListeners>