mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
[debugger] Hot swap: drop Continue with previous code option
* it was effectively the same as close notification (cherry picked from commit 0cf7a9c7653acf8aa1f78b2254952f97cbd4eee4) IJ-CR-147839 GitOrigin-RevId: b7268f442939c2b103c2a41d98e3bf56a7f1a9f4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
36e0f786c3
commit
bc6a8fda82
@@ -116,9 +116,7 @@ public final class HotSwapProgressImpl extends HotSwapProgress {
|
|||||||
if (withRestart) {
|
if (withRestart) {
|
||||||
notification.addAction(new RestartHotSwapNotificationAction(mySessionRef));
|
notification.addAction(new RestartHotSwapNotificationAction(mySessionRef));
|
||||||
}
|
}
|
||||||
notification.addAction(Registry.is("debugger.hotswap.floating.toolbar")
|
notification.addAction(new StopHotSwapNotificationAction(mySessionRef));
|
||||||
? new ContinueDebugAction()
|
|
||||||
: new StopHotSwapNotificationAction(mySessionRef));
|
|
||||||
}
|
}
|
||||||
notification.setImportant(false).notify(getProject());
|
notification.setImportant(false).notify(getProject());
|
||||||
}
|
}
|
||||||
@@ -261,13 +259,4 @@ public final class HotSwapProgressImpl extends HotSwapProgress {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class ContinueDebugAction extends NotificationAction {
|
|
||||||
ContinueDebugAction() { super(JavaDebuggerBundle.message("status.hot.swap.completed.continue")); }
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void actionPerformed(@NotNull AnActionEvent e, @NotNull Notification notification) {
|
|
||||||
notification.expire();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ progress.hotswap.scanning.path=Scanning: {0}
|
|||||||
progress.hotswap.scanning.classes=Scanning for classes to reload\u2026
|
progress.hotswap.scanning.classes=Scanning for classes to reload\u2026
|
||||||
progress.hotswap.reloading=Reloading classes\u2026
|
progress.hotswap.reloading=Reloading classes\u2026
|
||||||
error.operation.canceled=Operation canceled
|
error.operation.canceled=Operation canceled
|
||||||
error.operation.not.supported.by.vm=Operation not supported by VM : {0}
|
error.operation.not.supported.by.vm=Operation not supported by VM: {0}
|
||||||
error.class.def.not.found=Class definition not found : {0}
|
error.class.def.not.found=Class definition not found : {0}
|
||||||
error.verification.error=Verification error : {0}
|
error.verification.error=Verification error : {0}
|
||||||
error.unsupported.class.version=Unsupported class version : {0}
|
error.unsupported.class.version=Unsupported class version : {0}
|
||||||
@@ -286,9 +286,8 @@ label.generic.debugger.parameters.patcher.configurable.transport=Transport:
|
|||||||
label.generic.debugger.parameters.patcher.configurable.shmem.address=Shared memory address:
|
label.generic.debugger.parameters.patcher.configurable.shmem.address=Shared memory address:
|
||||||
progress.hot.swap.title=HotSwap
|
progress.hot.swap.title=HotSwap
|
||||||
status.hot.swap.completed.with.errors=HotSwap failed
|
status.hot.swap.completed.with.errors=HotSwap failed
|
||||||
status.hot.swap.completed.restart=Restart
|
status.hot.swap.completed.restart=Restart session
|
||||||
status.hot.swap.completed.stop=Stop debug session
|
status.hot.swap.completed.stop=Stop session
|
||||||
status.hot.swap.completed.continue=Continue with previous code
|
|
||||||
status.hot.swap.completed.with.warnings=HotSwap completed with warnings
|
status.hot.swap.completed.with.warnings=HotSwap completed with warnings
|
||||||
label.generic.debugger.parameters.patcher.configurable.port=Port:
|
label.generic.debugger.parameters.patcher.configurable.port=Port:
|
||||||
status.hotswap.uptodate=Loaded classes are up to date. Nothing to reload.
|
status.hotswap.uptodate=Loaded classes are up to date. Nothing to reload.
|
||||||
|
|||||||
Reference in New Issue
Block a user