mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not do 2 steps on smart step into
GitOrigin-RevId: 4fbc4d78a7e0ec346533fc02c98dc26cbe35c99c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
558240cab4
commit
1b2f4291db
+9
-7
@@ -97,13 +97,15 @@ public class XDebuggerSmartStepIntoHandler extends XDebuggerSuspendedActionHandl
|
||||
if (stepData != null) {
|
||||
stepData.stepInto(stepData.myCurrentVariant);
|
||||
}
|
||||
computeVariants(handler, position)
|
||||
.onSuccess(variants -> UIUtil.invokeLaterIfNeeded(() -> {
|
||||
if (!handleSimpleCases(handler, variants, session)) {
|
||||
choose(handler, variants, position, session, editor);
|
||||
}
|
||||
}))
|
||||
.onError(throwable -> session.stepInto());
|
||||
else {
|
||||
computeVariants(handler, position)
|
||||
.onSuccess(variants -> UIUtil.invokeLaterIfNeeded(() -> {
|
||||
if (!handleSimpleCases(handler, variants, session)) {
|
||||
choose(handler, variants, position, session, editor);
|
||||
}
|
||||
}))
|
||||
.onError(throwable -> session.stepInto());
|
||||
}
|
||||
}
|
||||
|
||||
protected <V extends XSmartStepIntoVariant> Promise<List<V>> computeVariants(XSmartStepIntoHandler<V> handler, XSourcePosition position) {
|
||||
|
||||
Reference in New Issue
Block a user