IDEA-27091 When finishing method lookup item with '(', put caret after this '(' even if method has no parameters

IDEA-51789 When "Insert pair bracket" on Editor->Smart keys page is off, IDEA still inserts both parentheses on autocomplete lookup, but overtype doesn't work
This commit is contained in:
peter
2010-03-09 12:54:15 +00:00
parent c4fdc0f5af
commit eed9138dbd
8 changed files with 72 additions and 16 deletions
@@ -0,0 +1,8 @@
class MyClass {
void foo() {}
{
fo<caret>
}
}
@@ -0,0 +1,8 @@
class MyClass {
void foo() {}
{
foo(<caret>
}
}
@@ -0,0 +1,8 @@
class MyClass {
void foo() {}
{
foo();<caret>
}
}
@@ -3,6 +3,6 @@ class MyClass {
void foo() {}
{
foo();<caret>
foo(<caret>);
}
}