-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Reloadium|PyCharmPlugin] 0.8.5 | 0.7.8 Release
**Miscellaneous**: Fixed: * Index not ready errors * Optimise import time * Modifying decorated class methods bugs * Comprehensions bugs * Python 3.10 compatibility bugs * Reloading nested classes * Windows compatibility bugs (django not rolling back db on user error) Changed: * Make debugger speedups disabled by default (does not work in some cases) Added: * Handle user errors feature (let users fix errors that occured durring debugging). * Adding and editing enum
- Loading branch information
Showing
19 changed files
with
237 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,3 +107,5 @@ reloader/.build_cache | |
wheels | ||
|
||
common | ||
|
||
.syncthing* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version = "0.8.4" | ||
version = "0.8.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version = "0.7.7" | ||
version = "0.7.8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 22 additions & 1 deletion
23
pycharm/src/main/java/rw/action/RerunDebugWithReloadium.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,45 @@ | ||
package rw.action; | ||
|
||
import com.intellij.execution.Executor; | ||
import com.intellij.execution.RunnerAndConfigurationSettings; | ||
import com.intellij.execution.executors.DefaultDebugExecutor; | ||
import com.intellij.execution.runners.ExecutionEnvironment; | ||
import com.intellij.openapi.actionSystem.AnActionEvent; | ||
import com.intellij.openapi.actionSystem.DataKey; | ||
import com.intellij.openapi.diagnostic.Logger; | ||
import org.jetbrains.annotations.NotNull; | ||
import rw.icons.Icons; | ||
|
||
class ExecutionDataKeys { | ||
public static final DataKey<ExecutionEnvironment> EXECUTION_ENVIRONMENT = DataKey.create("executionEnvironment"); | ||
} | ||
|
||
|
||
public class RerunDebugWithReloadium extends DebugWithReloadium { | ||
public class RerunDebugWithReloadium extends WithReloaderBase { | ||
private static final Logger LOGGER = Logger.getInstance(RerunDebugWithReloadium.class); | ||
|
||
RerunDebugWithReloadium() { | ||
super(); | ||
this.runType = RunType.DEBUG; | ||
} | ||
|
||
@Override | ||
protected RunnerAndConfigurationSettings getConfiguration(@NotNull AnActionEvent e) { | ||
ExecutionEnvironment environment = e.getData(ExecutionDataKeys.EXECUTION_ENVIRONMENT); | ||
RunnerAndConfigurationSettings ret = environment.getRunnerAndConfigurationSettings(); | ||
return ret; | ||
} | ||
|
||
@Override | ||
void setRunningIcon(AnActionEvent e) { | ||
e.getPresentation().setIcon(Icons.RestartDebugger); | ||
} | ||
void setNotRunningIcon(AnActionEvent e) { | ||
e.getPresentation().setIcon(Icons.Debug); | ||
} | ||
|
||
@Override | ||
protected Executor getExecutor() { | ||
return DefaultDebugExecutor.getDebugExecutorInstance(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.