IDEA-140452 Complete-statement insert closing parenthesis at wrong place

This commit is contained in:
peter
2015-07-09 20:49:01 +02:00
parent 26f25b917d
commit 7194336a1f
4 changed files with 64 additions and 7 deletions
@@ -0,0 +1,9 @@
class Main {
public void test() {
Path path = Paths.get("/tmp");
foo(getf<caret>path, 5);
}
private String getFileName(Path path) { return path.toString(); }
private void foo(String text, int count) {}
}
@@ -0,0 +1,9 @@
class Main {
public void test() {
Path path = Paths.get("/tmp");
foo(getFileName(path), 5);<caret>
}
private String getFileName(Path path) { return path.toString(); }
private void foo(String text, int count) {}
}