mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
surround expression with: support for expression's parts (IDEA-73868)
This commit is contained in:
+1
@@ -50,6 +50,7 @@ public class JavaWithRuntimeCastSurrounder extends JavaExpressionSurrounder {
|
||||
}
|
||||
|
||||
public boolean isApplicable(PsiExpression expr) {
|
||||
if (!expr.isPhysical()) return false;
|
||||
PsiFile file = expr.getContainingFile();
|
||||
if (!(file instanceof PsiCodeFragment)) return false;
|
||||
if (file.getUserData(DebuggerExpressionComboBox.KEY) == null) {
|
||||
|
||||
Reference in New Issue
Block a user