mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
IntroduceVariableIntentionAction: stop at code block
To prevent escaping lambda/anonymous class
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Introduce local variable" "false"
|
||||
class a {
|
||||
Runnable a() {
|
||||
return new Runnable() {
|
||||
public void run() {
|
||||
if(2+<caret>2 == 5) {}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user