[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:
Maksim Zuev
2024-10-25 14:30:15 +02:00
committed by intellij-monorepo-bot
parent 36e0f786c3
commit bc6a8fda82
2 changed files with 4 additions and 16 deletions

View File

@@ -116,9 +116,7 @@ public final class HotSwapProgressImpl extends HotSwapProgress {
if (withRestart) {
notification.addAction(new RestartHotSwapNotificationAction(mySessionRef));
}
notification.addAction(Registry.is("debugger.hotswap.floating.toolbar")
? new ContinueDebugAction()
: new StopHotSwapNotificationAction(mySessionRef));
notification.addAction(new StopHotSwapNotificationAction(mySessionRef));
}
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();
}
}
}

View File

@@ -286,9 +286,8 @@ label.generic.debugger.parameters.patcher.configurable.transport=Transport:
label.generic.debugger.parameters.patcher.configurable.shmem.address=Shared memory address:
progress.hot.swap.title=HotSwap
status.hot.swap.completed.with.errors=HotSwap failed
status.hot.swap.completed.restart=Restart
status.hot.swap.completed.stop=Stop debug session
status.hot.swap.completed.continue=Continue with previous code
status.hot.swap.completed.restart=Restart session
status.hot.swap.completed.stop=Stop session
status.hot.swap.completed.with.warnings=HotSwap completed with warnings
label.generic.debugger.parameters.patcher.configurable.port=Port:
status.hotswap.uptodate=Loaded classes are up to date. Nothing to reload.