mirror of
https://github.com/chylex/IntelliJ-Disable-Task-Contexts.git
synced 2024-11-25 08:42:44 +01:00
Compare commits
2 Commits
3fedd10f71
...
3c3ef7f2d3
Author | SHA1 | Date | |
---|---|---|---|
3c3ef7f2d3 | |||
30d7e63849 |
@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "com.chylex.intellij.disabletaskcontexts"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
@ -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.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user