mirror of
https://github.com/chylex/IntelliJ-Disable-Task-Contexts.git
synced 2024-11-25 16:42:55 +01:00
Compare commits
2 Commits
3fedd10f71
...
3c3ef7f2d3
Author | SHA1 | Date | |
---|---|---|---|
3c3ef7f2d3 | |||
30d7e63849 |
@ -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()
|
||||||
|
@ -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.")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user