fix for 2019.2
parent
359d2ef4b6
commit
b479528e1d
|
@ -1,6 +1,6 @@
|
|||
# Reset Your IDE Eval Information
|
||||
|
||||
1. Download and install plugin from [Download Link](https://plugins.zhile.io/files/ide-eval-resetter-2.2.3-031813.zip).
|
||||
1. Download and install plugin from [Download Link](https://plugins.zhile.io/files/ide-eval-resetter-2.2.4-4959c6.zip).
|
||||
* Alternative installation method:
|
||||
* Add "Custom Plugin Repository": `https://plugins.zhile.io` manually (`Settings/Preferences` -> `Plugins`)
|
||||
* Search and install plugin: `IDE Eval Reset`
|
||||
|
|
|
@ -4,7 +4,7 @@ plugins {
|
|||
}
|
||||
|
||||
group 'io.zhile.research.intellij'
|
||||
version '2.2.3'
|
||||
version '2.2.4'
|
||||
|
||||
sourceCompatibility = 1.7
|
||||
targetCompatibility = 1.7
|
||||
|
@ -29,6 +29,8 @@ intellij {
|
|||
|
||||
patchPluginXml {
|
||||
changeNotes = """<pre>
|
||||
Release v2.2.4
|
||||
1. fix for 2019.2
|
||||
Release v2.2.3
|
||||
1. add custom error handler
|
||||
Release v2.2.2
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
package io.zhile.research.intellij.ier.listener;
|
||||
|
||||
import com.intellij.openapi.actionSystem.ActionManager;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.application.PreloadingActivity;
|
||||
import com.intellij.openapi.progress.ProgressIndicator;
|
||||
import io.zhile.research.intellij.ier.helper.Constants;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class AppInitActivity extends PreloadingActivity {
|
||||
public void preload(@NotNull ProgressIndicator indicator) {
|
||||
ApplicationManager.getApplication().executeOnPooledThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
ActionManager.getInstance().getAction(Constants.RESET_ACTION_ID);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
package io.zhile.research.intellij.ier.listener;
|
||||
|
||||
import com.intellij.ide.AppLifecycleListener;
|
||||
import com.intellij.openapi.actionSystem.ActionManager;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.Ref;
|
||||
import io.zhile.research.intellij.ier.helper.Constants;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class AppInitListener implements AppLifecycleListener {
|
||||
public void appFrameCreated(String[] commandLineArgs, @NotNull Ref<Boolean> willOpenProject) {
|
||||
|
||||
}
|
||||
|
||||
public void appStarting(@Nullable Project projectFromCommandLine) {
|
||||
ApplicationManager.getApplication().executeOnPooledThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
ActionManager.getInstance().getAction(Constants.RESET_ACTION_ID);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void projectFrameClosed() {
|
||||
|
||||
}
|
||||
|
||||
public void projectOpenFailed() {
|
||||
|
||||
}
|
||||
|
||||
public void welcomeScreenDisplayed() {
|
||||
|
||||
}
|
||||
|
||||
public void appClosing() {
|
||||
|
||||
}
|
||||
}
|
|
@ -26,11 +26,10 @@
|
|||
<applicationListeners>
|
||||
<listener class="io.zhile.research.intellij.ier.listener.PluginListener"
|
||||
topic="com.intellij.ide.plugins.DynamicPluginListener"/>
|
||||
<listener class="io.zhile.research.intellij.ier.listener.AppInitListener"
|
||||
topic="com.intellij.ide.AppLifecycleListener"/>
|
||||
</applicationListeners>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<errorHandler implementation="io.zhile.research.intellij.ier.helper.ErrorReporter"/>
|
||||
<preloadingActivity implementation="io.zhile.research.intellij.ier.listener.AppInitActivity"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
Loading…
Reference in New Issue