mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
create method from usage: treat polyadic expressions as for completion by containing expression (IDEA-151432)
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// "Create method 'f'" "true"
|
||||
class Test {
|
||||
{
|
||||
long l = f(1) + f(2);
|
||||
}
|
||||
|
||||
private long f(int i) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Create method 'f'" "true"
|
||||
class Test {
|
||||
{
|
||||
long l = f(1) + <caret>f(2);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user